From 083b227b9c4ac7a03bbd25bae386473ce55554c3 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:30:22 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../channel/v1/CloudChannelServiceClient.java | 1635 +++--- .../v1/CloudChannelServiceSettings.java | 46 +- .../cloud/channel/v1/gapic_metadata.json | 0 .../google/cloud/channel/v1/package-info.java | 0 .../v1/stub/CloudChannelServiceStub.java | 0 .../stub/CloudChannelServiceStubSettings.java | 150 +- ...rpcCloudChannelServiceCallableFactory.java | 0 .../v1/stub/GrpcCloudChannelServiceStub.java | 1 + ...sonCloudChannelServiceCallableFactory.java | 0 .../stub/HttpJsonCloudChannelServiceStub.java | 1 + ...CloudChannelServiceClientHttpJsonTest.java | 0 .../v1/CloudChannelServiceClientTest.java | 0 .../channel/v1/MockCloudChannelService.java | 0 .../v1/MockCloudChannelServiceImpl.java | 0 .../channel/v1/CloudChannelServiceGrpc.java | 4771 ++++++----------- .../v1/ActivateEntitlementRequest.java | 393 +- .../ActivateEntitlementRequestOrBuilder.java | 36 +- .../google/cloud/channel/v1/AdminUser.java | 455 +- .../cloud/channel/v1/AdminUserOrBuilder.java | 45 +- .../cloud/channel/v1/AssociationInfo.java | 301 +- .../channel/v1/AssociationInfoOrBuilder.java | 27 +- .../channel/v1/CancelEntitlementRequest.java | 390 +- .../v1/CancelEntitlementRequestOrBuilder.java | 36 +- .../cloud/channel/v1/ChangeOfferRequest.java | 809 ++- .../v1/ChangeOfferRequestOrBuilder.java | 100 +- .../channel/v1/ChangeParametersRequest.java | 710 +-- .../v1/ChangeParametersRequestOrBuilder.java | 83 +- .../v1/ChangeRenewalSettingsRequest.java | 539 +- ...ChangeRenewalSettingsRequestOrBuilder.java | 56 +- .../cloud/channel/v1/ChannelPartnerLink.java | 1091 ++-- .../channel/v1/ChannelPartnerLinkName.java | 0 .../v1/ChannelPartnerLinkOrBuilder.java | 125 +- .../channel/v1/ChannelPartnerLinkState.java | 95 +- .../channel/v1/ChannelPartnerLinkView.java | 81 +- .../channel/v1/ChannelPartnerLinksProto.java | 86 + .../v1/ChannelPartnerRepricingConfig.java | 599 +-- .../v1/ChannelPartnerRepricingConfigName.java | 0 ...hannelPartnerRepricingConfigOrBuilder.java | 64 +- ...heckCloudIdentityAccountsExistRequest.java | 430 +- ...IdentityAccountsExistRequestOrBuilder.java | 36 +- ...eckCloudIdentityAccountsExistResponse.java | 547 +- ...dentityAccountsExistResponseOrBuilder.java | 53 + .../v1/CloudIdentityCustomerAccount.java | 467 +- ...CloudIdentityCustomerAccountOrBuilder.java | 42 +- .../cloud/channel/v1/CloudIdentityInfo.java | 890 ++- .../v1/CloudIdentityInfoOrBuilder.java | 80 +- .../cloud/channel/v1/CommitmentSettings.java | 621 +-- .../v1/CommitmentSettingsOrBuilder.java | 72 +- .../google/cloud/channel/v1/CommonProto.java | 120 + .../google/cloud/channel/v1/Constraints.java | 328 +- .../channel/v1/ConstraintsOrBuilder.java | 26 +- .../google/cloud/channel/v1/ContactInfo.java | 693 +-- .../channel/v1/ContactInfoOrBuilder.java | 72 +- .../v1/CreateChannelPartnerLinkRequest.java | 466 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 47 +- ...eChannelPartnerRepricingConfigRequest.java | 562 +- ...artnerRepricingConfigRequestOrBuilder.java | 58 +- .../CreateCustomerRepricingConfigRequest.java | 531 +- ...stomerRepricingConfigRequestOrBuilder.java | 58 + .../channel/v1/CreateCustomerRequest.java | 457 +- .../v1/CreateCustomerRequestOrBuilder.java | 44 +- .../channel/v1/CreateEntitlementRequest.java | 567 +- .../v1/CreateEntitlementRequestOrBuilder.java | 64 +- .../com/google/cloud/channel/v1/Customer.java | 1442 ++--- .../cloud/channel/v1/CustomerConstraints.java | 748 +-- .../v1/CustomerConstraintsOrBuilder.java | 110 +- .../cloud/channel/v1/CustomerEvent.java | 421 +- .../channel/v1/CustomerEventOrBuilder.java | 33 +- .../google/cloud/channel/v1/CustomerName.java | 0 .../cloud/channel/v1/CustomerOrBuilder.java | 163 +- .../channel/v1/CustomerRepricingConfig.java | 596 +- .../v1/CustomerRepricingConfigName.java | 0 .../v1/CustomerRepricingConfigOrBuilder.java | 64 +- .../cloud/channel/v1/CustomersProto.java | 99 + ...eChannelPartnerRepricingConfigRequest.java | 381 +- ...artnerRepricingConfigRequestOrBuilder.java | 29 + .../DeleteCustomerRepricingConfigRequest.java | 367 +- ...stomerRepricingConfigRequestOrBuilder.java | 33 + .../channel/v1/DeleteCustomerRequest.java | 339 +- .../v1/DeleteCustomerRequestOrBuilder.java | 29 + .../com/google/cloud/channel/v1/EduData.java | 593 +- .../cloud/channel/v1/EduDataOrBuilder.java | 39 +- .../google/cloud/channel/v1/Entitlement.java | 1864 +++---- .../cloud/channel/v1/EntitlementEvent.java | 501 +- .../channel/v1/EntitlementEventOrBuilder.java | 33 +- .../cloud/channel/v1/EntitlementName.java | 0 .../channel/v1/EntitlementOrBuilder.java | 216 +- .../cloud/channel/v1/EntitlementsProto.java | 220 + .../v1/GetChannelPartnerLinkRequest.java | 406 +- ...GetChannelPartnerLinkRequestOrBuilder.java | 41 +- ...tChannelPartnerRepricingConfigRequest.java | 379 +- ...artnerRepricingConfigRequestOrBuilder.java | 33 + .../v1/GetCustomerRepricingConfigRequest.java | 353 +- ...stomerRepricingConfigRequestOrBuilder.java | 33 + .../cloud/channel/v1/GetCustomerRequest.java | 329 +- .../v1/GetCustomerRequestOrBuilder.java | 31 + .../channel/v1/GetEntitlementRequest.java | 339 +- .../v1/GetEntitlementRequestOrBuilder.java | 33 + .../channel/v1/ImportCustomerRequest.java | 847 ++- .../v1/ImportCustomerRequestOrBuilder.java | 92 +- .../v1/ListChannelPartnerLinksRequest.java | 522 +- ...stChannelPartnerLinksRequestOrBuilder.java | 53 +- .../v1/ListChannelPartnerLinksResponse.java | 452 +- ...tChannelPartnerLinksResponseOrBuilder.java | 42 +- ...ChannelPartnerRepricingConfigsRequest.java | 572 +- ...rtnerRepricingConfigsRequestOrBuilder.java | 56 +- ...hannelPartnerRepricingConfigsResponse.java | 633 +-- ...tnerRepricingConfigsResponseOrBuilder.java | 68 +- .../ListCustomerRepricingConfigsRequest.java | 561 +- ...tomerRepricingConfigsRequestOrBuilder.java | 56 +- .../ListCustomerRepricingConfigsResponse.java | 604 +-- ...omerRepricingConfigsResponseOrBuilder.java | 56 +- .../channel/v1/ListCustomersRequest.java | 502 +- .../v1/ListCustomersRequestOrBuilder.java | 48 +- .../channel/v1/ListCustomersResponse.java | 459 +- .../v1/ListCustomersResponseOrBuilder.java | 45 +- .../channel/v1/ListEntitlementsRequest.java | 452 +- .../v1/ListEntitlementsRequestOrBuilder.java | 47 +- .../channel/v1/ListEntitlementsResponse.java | 460 +- .../v1/ListEntitlementsResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListOffersRequest.java | 574 +- .../v1/ListOffersRequestOrBuilder.java | 57 +- .../cloud/channel/v1/ListOffersResponse.java | 454 +- .../v1/ListOffersResponseOrBuilder.java | 46 +- .../cloud/channel/v1/ListProductsRequest.java | 498 +- .../v1/ListProductsRequestOrBuilder.java | 48 +- .../channel/v1/ListProductsResponse.java | 456 +- .../v1/ListProductsResponseOrBuilder.java | 46 +- .../v1/ListPurchasableOffersRequest.java | 1960 +++---- ...ListPurchasableOffersRequestOrBuilder.java | 111 +- .../v1/ListPurchasableOffersResponse.java | 443 +- ...istPurchasableOffersResponseOrBuilder.java | 45 +- .../v1/ListPurchasableSkusRequest.java | 2060 +++---- .../ListPurchasableSkusRequestOrBuilder.java | 111 +- .../v1/ListPurchasableSkusResponse.java | 453 +- .../ListPurchasableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListSkusRequest.java | 602 +-- .../channel/v1/ListSkusRequestOrBuilder.java | 65 +- .../cloud/channel/v1/ListSkusResponse.java | 454 +- .../channel/v1/ListSkusResponseOrBuilder.java | 46 +- .../channel/v1/ListSubscribersRequest.java | 424 +- .../v1/ListSubscribersRequestOrBuilder.java | 39 +- .../channel/v1/ListSubscribersResponse.java | 501 +- .../v1/ListSubscribersResponseOrBuilder.java | 54 +- .../v1/ListTransferableOffersRequest.java | 828 ++- ...istTransferableOffersRequestOrBuilder.java | 84 +- .../v1/ListTransferableOffersResponse.java | 449 +- ...stTransferableOffersResponseOrBuilder.java | 45 +- .../v1/ListTransferableSkusRequest.java | 828 ++- .../ListTransferableSkusRequestOrBuilder.java | 84 +- .../v1/ListTransferableSkusResponse.java | 441 +- ...ListTransferableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/LookupOfferRequest.java | 329 +- .../v1/LookupOfferRequestOrBuilder.java | 33 + .../cloud/channel/v1/MarketingInfo.java | 480 +- .../channel/v1/MarketingInfoOrBuilder.java | 44 +- .../com/google/cloud/channel/v1/Media.java | 429 +- .../cloud/channel/v1/MediaOrBuilder.java | 42 +- .../google/cloud/channel/v1/MediaType.java | 75 +- .../com/google/cloud/channel/v1/Offer.java | 1160 ++-- .../google/cloud/channel/v1/OfferName.java | 0 .../cloud/channel/v1/OfferOrBuilder.java | 117 +- .../google/cloud/channel/v1/OffersProto.java | 241 + .../cloud/channel/v1/OperationMetadata.java | 424 +- .../v1/OperationMetadataOrBuilder.java | 24 +- .../cloud/channel/v1/OperationsProto.java | 61 + .../google/cloud/channel/v1/Parameter.java | 422 +- .../cloud/channel/v1/ParameterDefinition.java | 821 +-- .../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 | 321 +- .../v1/PercentageAdjustmentOrBuilder.java | 26 +- .../com/google/cloud/channel/v1/Period.java | 305 +- .../cloud/channel/v1/PeriodOrBuilder.java | 27 +- .../google/cloud/channel/v1/PeriodType.java | 89 +- .../com/google/cloud/channel/v1/Plan.java | 617 +-- .../cloud/channel/v1/PlanOrBuilder.java | 55 +- .../com/google/cloud/channel/v1/Price.java | 507 +- .../cloud/channel/v1/PriceByResource.java | 524 +- .../channel/v1/PriceByResourceOrBuilder.java | 50 +- .../cloud/channel/v1/PriceOrBuilder.java | 46 +- .../google/cloud/channel/v1/PricePhase.java | 574 +- .../cloud/channel/v1/PricePhaseOrBuilder.java | 56 +- .../google/cloud/channel/v1/PriceTier.java | 377 +- .../cloud/channel/v1/PriceTierOrBuilder.java | 32 +- .../com/google/cloud/channel/v1/Product.java | 392 +- .../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 | 566 +- ...rovisionCloudIdentityRequestOrBuilder.java | 54 +- .../cloud/channel/v1/ProvisionedService.java | 459 +- .../v1/ProvisionedServiceOrBuilder.java | 45 +- .../cloud/channel/v1/PurchasableOffer.java | 315 +- .../channel/v1/PurchasableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/PurchasableSku.java | 315 +- .../channel/v1/PurchasableSkuOrBuilder.java | 26 +- .../cloud/channel/v1/RebillingBasis.java | 82 +- .../channel/v1/RegisterSubscriberRequest.java | 393 +- .../RegisterSubscriberRequestOrBuilder.java | 36 +- .../v1/RegisterSubscriberResponse.java | 314 +- .../RegisterSubscriberResponseOrBuilder.java | 29 + .../cloud/channel/v1/RenewalSettings.java | 458 +- .../channel/v1/RenewalSettingsOrBuilder.java | 38 +- .../cloud/channel/v1/RepricingAdjustment.java | 387 +- .../v1/RepricingAdjustmentOrBuilder.java | 26 +- .../cloud/channel/v1/RepricingConfig.java | 1670 +++--- .../channel/v1/RepricingConfigOrBuilder.java | 118 +- .../cloud/channel/v1/RepricingProto.java | 175 + .../google/cloud/channel/v1/ResourceType.java | 117 +- .../google/cloud/channel/v1/ServiceProto.java | 1341 +++++ .../java/com/google/cloud/channel/v1/Sku.java | 483 +- .../google/cloud/channel/v1/SkuOrBuilder.java | 43 +- .../channel/v1/StartPaidServiceRequest.java | 390 +- .../v1/StartPaidServiceRequestOrBuilder.java | 36 +- .../cloud/channel/v1/SubscriberEvent.java | 479 +- .../channel/v1/SubscriberEventOrBuilder.java | 34 +- .../channel/v1/SubscriberEventProto.java | 101 + .../channel/v1/SuspendEntitlementRequest.java | 393 +- .../SuspendEntitlementRequestOrBuilder.java | 36 +- .../cloud/channel/v1/TransferEligibility.java | 485 +- .../v1/TransferEligibilityOrBuilder.java | 36 +- .../v1/TransferEntitlementsRequest.java | 713 +-- .../TransferEntitlementsRequestOrBuilder.java | 83 +- .../v1/TransferEntitlementsResponse.java | 384 +- ...TransferEntitlementsResponseOrBuilder.java | 36 +- .../TransferEntitlementsToGoogleRequest.java | 659 +-- ...rEntitlementsToGoogleRequestOrBuilder.java | 74 +- .../cloud/channel/v1/TransferableOffer.java | 315 +- .../v1/TransferableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/TransferableSku.java | 551 +- .../channel/v1/TransferableSkuOrBuilder.java | 51 +- .../cloud/channel/v1/TrialSettings.java | 350 +- .../channel/v1/TrialSettingsOrBuilder.java | 29 +- .../v1/UnregisterSubscriberRequest.java | 393 +- .../UnregisterSubscriberRequestOrBuilder.java | 36 +- .../v1/UnregisterSubscriberResponse.java | 314 +- ...UnregisterSubscriberResponseOrBuilder.java | 29 + .../v1/UpdateChannelPartnerLinkRequest.java | 596 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 64 +- ...eChannelPartnerRepricingConfigRequest.java | 460 +- ...artnerRepricingConfigRequestOrBuilder.java | 36 + .../UpdateCustomerRepricingConfigRequest.java | 429 +- ...stomerRepricingConfigRequestOrBuilder.java | 36 + .../channel/v1/UpdateCustomerRequest.java | 477 +- .../v1/UpdateCustomerRequestOrBuilder.java | 43 +- .../com/google/cloud/channel/v1/Value.java | 633 +-- .../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 .../google/cloud/channel/v1/repricing.proto | 0 .../google/cloud/channel/v1/service.proto | 0 .../cloud/channel/v1/subscriber_event.proto | 0 .../AsyncActivateEntitlement.java | 0 .../AsyncActivateEntitlementLRO.java | 0 .../SyncActivateEntitlement.java | 0 .../AsyncCancelEntitlement.java | 0 .../AsyncCancelEntitlementLRO.java | 0 .../SyncCancelEntitlement.java | 1 + .../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 | 6 +- ...igStringChannelpartnerrepricingconfig.java | 6 +- .../createcustomer/AsyncCreateCustomer.java | 0 .../createcustomer/SyncCreateCustomer.java | 0 .../AsyncCreateCustomerRepricingConfig.java | 0 .../SyncCreateCustomerRepricingConfig.java | 0 ...igCustomernameCustomerrepricingconfig.java | 6 +- ...ngConfigStringCustomerrepricingconfig.java | 6 +- .../AsyncCreateEntitlement.java | 0 .../AsyncCreateEntitlementLRO.java | 0 .../SyncCreateEntitlement.java | 0 ...ncDeleteChannelPartnerRepricingConfig.java | 0 ...ncDeleteChannelPartnerRepricingConfig.java | 1 + ...nfigChannelpartnerrepricingconfigname.java | 7 +- ...teChannelPartnerRepricingConfigString.java | 7 +- .../deletecustomer/AsyncDeleteCustomer.java | 0 .../deletecustomer/SyncDeleteCustomer.java | 1 + .../SyncDeleteCustomerCustomername.java | 1 + .../SyncDeleteCustomerString.java | 1 + .../AsyncDeleteCustomerRepricingConfig.java | 0 .../SyncDeleteCustomerRepricingConfig.java | 1 + ...cingConfigCustomerrepricingconfigname.java | 7 +- ...ncDeleteCustomerRepricingConfigString.java | 1 + .../AsyncGetChannelPartnerLink.java | 0 .../SyncGetChannelPartnerLink.java | 0 ...AsyncGetChannelPartnerRepricingConfig.java | 0 .../SyncGetChannelPartnerRepricingConfig.java | 0 ...nfigChannelpartnerrepricingconfigname.java | 6 +- ...etChannelPartnerRepricingConfigString.java | 3 +- .../getcustomer/AsyncGetCustomer.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../SyncGetCustomerCustomername.java | 0 .../getcustomer/SyncGetCustomerString.java | 0 .../AsyncGetCustomerRepricingConfig.java | 0 .../SyncGetCustomerRepricingConfig.java | 0 ...cingConfigCustomerrepricingconfigname.java | 6 +- .../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 | 6 +- ...yncListChannelPartnerRepricingConfigs.java | 0 ...epricingConfigsChannelpartnerlinkname.java | 6 +- ...tChannelPartnerRepricingConfigsString.java | 6 +- .../AsyncListCustomerRepricingConfigs.java | 0 ...syncListCustomerRepricingConfigsPaged.java | 0 .../SyncListCustomerRepricingConfigs.java | 0 ...tCustomerRepricingConfigsCustomername.java | 6 +- ...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 | 1 + .../AsyncUnregisterSubscriber.java | 0 .../SyncUnregisterSubscriber.java | 0 .../AsyncUpdateChannelPartnerLink.java | 0 .../SyncUpdateChannelPartnerLink.java | 0 ...ncUpdateChannelPartnerRepricingConfig.java | 0 ...ncUpdateChannelPartnerRepricingConfig.java | 0 ...ngConfigChannelpartnerrepricingconfig.java | 6 +- .../updatecustomer/AsyncUpdateCustomer.java | 0 .../updatecustomer/SyncUpdateCustomer.java | 0 .../AsyncUpdateCustomerRepricingConfig.java | 0 .../SyncUpdateCustomerRepricingConfig.java | 0 ...epricingConfigCustomerrepricingconfig.java | 6 +- .../getcustomer/SyncGetCustomer.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../channel/v1/ChannelPartnerLinksProto.java | 108 - ...dentityAccountsExistResponseOrBuilder.java | 89 - .../google/cloud/channel/v1/CommonProto.java | 145 - ...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 - ...artnerRepricingConfigRequestOrBuilder.java | 58 - ...stomerRepricingConfigRequestOrBuilder.java | 58 - .../v1/GetCustomerRequestOrBuilder.java | 56 - .../v1/GetEntitlementRequestOrBuilder.java | 58 - .../v1/LookupOfferRequestOrBuilder.java | 58 - .../google/cloud/channel/v1/OffersProto.java | 273 - .../cloud/channel/v1/OperationsProto.java | 74 - .../cloud/channel/v1/ProductsProto.java | 124 - .../RegisterSubscriberResponseOrBuilder.java | 50 - .../cloud/channel/v1/RepricingProto.java | 199 - .../google/cloud/channel/v1/ServiceProto.java | 1466 ----- .../channel/v1/SubscriberEventProto.java | 118 - ...UnregisterSubscriberResponseOrBuilder.java | 50 - ...artnerRepricingConfigRequestOrBuilder.java | 67 - ...stomerRepricingConfigRequestOrBuilder.java | 67 - 426 files changed, 29407 insertions(+), 49477 deletions(-) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java (82%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java (96%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/package-info.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java (96%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java (99%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java (99%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java (100%) rename {google-cloud-channel => owl-bot-staging/v1/google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java (100%) rename {grpc-google-cloud-channel-v1 => owl-bot-staging/v1/grpc-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java (62%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AdminUser.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java (58%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java (52%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java (67%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java (64%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java (67%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java (77%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Constraints.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java (63%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ContactInfo.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java (60%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java (59%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java (50%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java (62%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Customer.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java (63%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java (77%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java (67%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EduData.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Entitlement.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java (58%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java (76%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java (77%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java (64%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java (56%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java (67%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java (76%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java (77%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java (64%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java (63%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java (63%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java (58%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java (62%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java (59%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java (61%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java (77%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java (80%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java (76%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Media.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java (60%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MediaType.java (64%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Offer.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OfferName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java (56%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Parameter.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java (76%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java (84%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PaymentType.java (67%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java (64%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Period.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java (56%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PeriodType.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Plan.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java (83%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Price.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceByResource.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PricePhase.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceTier.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java (63%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Product.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProductName.java (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java (67%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java (54%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java (53%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java (60%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java (64%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java (63%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ResourceType.java (73%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Sku.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java (73%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java (75%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java (73%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java (61%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java (69%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java (59%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableSku.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TrialSettings.java (72%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java (70%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java (60%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java (68%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java (57%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java (59%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java (66%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java (65%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Value.java (71%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java (74%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/common.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/customers.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/entitlements.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/offers.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/operations.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/products.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/repricing.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/service.proto (100%) rename {proto-google-cloud-channel-v1 => owl-bot-staging/v1/proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/subscriber_event.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (84%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java (92%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java (100%) delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java similarity index 82% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java index c5ac27e9..3d39bde9 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -77,13 +78,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -207,6 +208,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -218,9 +220,9 @@ public final OperationsClient getHttpJsonOperationsClient() { *

Possible error codes: * *

* *

Return value: List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if @@ -259,9 +261,9 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *

Possible error codes: * *

* *

Return value: List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if @@ -301,9 +303,9 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *

Possible error codes: * *

* *

Return value: List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if @@ -349,10 +351,10 @@ public final UnaryCallable listCust *

Possible error codes: * *

* @@ -386,10 +388,10 @@ public final Customer getCustomer(CustomerName name) { *

Possible error codes: * *

* @@ -422,10 +424,10 @@ public final Customer getCustomer(String name) { *

Possible error codes: * *

* @@ -459,10 +461,10 @@ public final Customer getCustomer(GetCustomerRequest request) { *

Possible error codes: * *

* @@ -497,10 +499,10 @@ public final UnaryCallable getCustomerCallable() { *

Possible error codes: * *

* *

Return value: A list of @@ -543,10 +545,10 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE *

Possible error codes: * *

* *

Return value: A list of @@ -589,9 +591,9 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE *

Possible error codes: * *

* @@ -627,9 +629,9 @@ public final Customer createCustomer(CreateCustomerRequest request) { *

Possible error codes: * *

* @@ -665,11 +667,11 @@ public final UnaryCallable createCustomerCallab *

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. + *
  • 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. *
* *

Return value: The updated [Customer][google.cloud.channel.v1.Customer] resource. @@ -704,11 +706,11 @@ public final Customer updateCustomer(UpdateCustomerRequest request) { *

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. + *
  • 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. *
* *

Return value: The updated [Customer][google.cloud.channel.v1.Customer] resource. @@ -742,11 +744,11 @@ public final UnaryCallable updateCustomerCallab *

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 customer has existing entitlements. - *
  • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in - * the request. + *
  • PERMISSION_DENIED: The account making the request does not own 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. *
* *

Sample code: @@ -776,11 +778,11 @@ public final void deleteCustomer(CustomerName name) { *

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 customer has existing entitlements. - *
  • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in - * the request. + *
  • PERMISSION_DENIED: The account making the request does not own 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. *
* *

Sample code: @@ -809,11 +811,11 @@ public final void deleteCustomer(String name) { *

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 customer has existing entitlements. - *
  • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in - * the request. + *
  • PERMISSION_DENIED: The account making the request does not own 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. *
* *

Sample code: @@ -844,11 +846,11 @@ public final void deleteCustomer(DeleteCustomerRequest request) { *

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 customer has existing entitlements. - *
  • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in - * the request. + *
  • PERMISSION_DENIED: The account making the request does not own 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. *
* *

Sample code: @@ -881,12 +883,12 @@ public final UnaryCallable deleteCustomerCallable( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The reseller account making the request is different from the reseller - * account in the API request. - *
  • NOT_FOUND: Cloud Identity doesn't exist or was deleted. - *
  • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or + *
  • PERMISSION_DENIED: The reseller account making the request is different from the + * reseller account in the API request. + *
  • NOT_FOUND: Cloud Identity doesn't exist or was deleted. + *
  • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or * invalid. - *
  • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires + *
  • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires * an overwrite. *
* @@ -926,12 +928,12 @@ public final Customer importCustomer(ImportCustomerRequest request) { *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The reseller account making the request is different from the reseller - * account in the API request. - *
  • NOT_FOUND: Cloud Identity doesn't exist or was deleted. - *
  • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or + *
  • PERMISSION_DENIED: The reseller account making the request is different from the + * reseller account in the API request. + *
  • NOT_FOUND: Cloud Identity doesn't exist or was deleted. + *
  • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or * invalid. - *
  • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires + *
  • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires * an overwrite. *
* @@ -970,14 +972,14 @@ public final UnaryCallable importCustomerCallab *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer was not found. - *
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer was not found. + *
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the * customer's primary contact email. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1020,14 +1022,14 @@ public final OperationFuture provisionCloudIdentity *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer was not found. - *
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer was not found. + *
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the * customer's primary contact email. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1070,14 +1072,14 @@ public final OperationFuture provisionCloudIdentity *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer was not found. - *
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer was not found. + *
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the * customer's primary contact email. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1119,8 +1121,8 @@ public final OperationFuture provisionCloudIdentity *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • 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. @@ -1157,8 +1159,8 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • 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. @@ -1196,8 +1198,8 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • 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. @@ -1246,10 +1248,10 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
* *

Return value: A list of the customer's @@ -1295,10 +1297,10 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
* *

Return value: A list of the customer's @@ -1343,10 +1345,10 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
* *

Return value: A list of the customer's @@ -1398,10 +1400,10 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
* *

Return value: List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the @@ -1447,10 +1449,10 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
* *

Return value: List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the @@ -1495,10 +1497,10 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
  • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
* *

Return value: List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the @@ -1546,9 +1548,9 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer entitlement was not found. + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer entitlement was not found. *
* *

Return value: The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. @@ -1581,9 +1583,9 @@ public final Entitlement getEntitlement(GetEntitlementRequest request) { *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer entitlement was not found. + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer entitlement was not found. *
* *

Return value: The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. @@ -1616,24 +1618,24 @@ public final UnaryCallable getEntitlementCal *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There * is already a customer entitlement for a SKU from the same product family. - *
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support + *
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support * for further troubleshooting. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The * customer's primary email already exists. Retry after changing the customer's primary * contact email. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU * has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is * missing. For example, Google Workspace Business Starter is required to purchase Vault or * Drive. * (Developer accounts only) Reseller and resold domain must meet the following * naming requirements: * Domain names must start with goog-test. * Domain names * must include the reseller domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1674,24 +1676,24 @@ public final OperationFuture createEntitlementAs *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There * is already a customer entitlement for a SKU from the same product family. - *
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support + *
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support * for further troubleshooting. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The * customer's primary email already exists. Retry after changing the customer's primary * contact email. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU * has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is * missing. For example, Google Workspace Business Starter is required to purchase Vault or * Drive. * (Developer accounts only) Reseller and resold domain must meet the following * naming requirements: * Domain names must start with goog-test. * Domain names * must include the reseller domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1732,24 +1734,24 @@ public final OperationFuture createEntitlementAs *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There * is already a customer entitlement for a SKU from the same product family. - *
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support + *
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support * for further troubleshooting. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The * customer's primary email already exists. Retry after changing the customer's primary * contact email. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU * has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is * missing. For example, Google Workspace Business Starter is required to purchase Vault or * Drive. * (Developer accounts only) Reseller and resold domain must meet the following * naming requirements: * Domain names must start with goog-test. * Domain names * must include the reseller domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1792,14 +1794,14 @@ public final UnaryCallable createEntitlemen *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the * number of seats being changed is greater than the allowed number of max seats, or * decreasing seats for a commitment based plan. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_FOUND: Entitlement resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1844,14 +1846,14 @@ public final OperationFuture changeParametersAsy *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the * number of seats being changed is greater than the allowed number of max seats, or * decreasing seats for a commitment based plan. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_FOUND: Entitlement resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1896,14 +1898,14 @@ public final OperationFuture changeParametersAsy *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the * number of seats being changed is greater than the allowed number of max seats, or * decreasing seats for a commitment based plan. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_FOUND: Entitlement resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1947,14 +1949,14 @@ public final UnaryCallable changeParametersC *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't * enable or disable renewals for non-commitment plans. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -1998,14 +2000,14 @@ public final OperationFuture changeRenewalSettin *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't * enable or disable renewals for non-commitment plans. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2049,14 +2051,14 @@ public final OperationFuture changeRenewalSettin *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't * enable or disable renewals for non-commitment plans. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2100,12 +2102,12 @@ public final OperationFuture changeRenewalSettin *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Offer or Entitlement resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Offer or Entitlement resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2151,12 +2153,12 @@ public final OperationFuture changeOfferAsync( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Offer or Entitlement resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Offer or Entitlement resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2202,12 +2204,12 @@ public final OperationFuture changeOfferAsync( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Offer or Entitlement resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Offer or Entitlement resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2252,13 +2254,13 @@ public final UnaryCallable changeOfferCallable() *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2301,13 +2303,13 @@ public final OperationFuture startPaidServiceAsy *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2350,13 +2352,13 @@ public final OperationFuture startPaidServiceAsy *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2397,13 +2399,13 @@ public final UnaryCallable startPaidServiceC *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • NOT_ACTIVE: Entitlement is not active. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • NOT_ACTIVE: Entitlement is not active. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2445,13 +2447,13 @@ public final OperationFuture suspendEntitlementA *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • NOT_ACTIVE: Entitlement is not active. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • NOT_ACTIVE: Entitlement is not active. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2493,13 +2495,13 @@ public final OperationFuture suspendEntitlementA *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • NOT_ACTIVE: Entitlement is not active. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • NOT_ACTIVE: Entitlement is not active. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2540,17 +2542,17 @@ public final UnaryCallable suspendEntitlem *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The reseller account making the request is different from the reseller - * account in the API request. - *
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud + *
  • PERMISSION_DENIED: The reseller account making the request is different from the + * reseller account in the API request. + *
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud * entitlement's Cloud Billing subaccount. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or * entitlements for Google Cloud's development platform. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2593,17 +2595,17 @@ public final OperationFuture cancelEntitlementAsync( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The reseller account making the request is different from the reseller - * account in the API request. - *
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud + *
  • PERMISSION_DENIED: The reseller account making the request is different from the + * reseller account in the API request. + *
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud * entitlement's Cloud Billing subaccount. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or * entitlements for Google Cloud's development platform. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2646,17 +2648,17 @@ public final OperationFuture cancelEntitlementAsync( *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The reseller account making the request is different from the reseller - * account in the API request. - *
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud + *
  • PERMISSION_DENIED: The reseller account making the request is different from the + * reseller account in the API request. + *
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud * entitlement's Cloud Billing subaccount. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: Entitlement resource not found. - *
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: Entitlement resource not found. + *
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or * entitlements for Google Cloud's development platform. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2700,16 +2702,16 @@ public final UnaryCallable cancelEntitlemen *

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: Entitlement resource not found. - *
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and + *
  • 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: Entitlement resource not found. + *
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and * entitlements that have accepted the TOS. - *
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2753,16 +2755,16 @@ public final OperationFuture activateEntitlement *

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: Entitlement resource not found. - *
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and + *
  • 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: Entitlement resource not found. + *
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and * entitlements that have accepted the TOS. - *
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2806,16 +2808,16 @@ public final OperationFuture activateEntitlement *

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: Entitlement resource not found. - *
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and + *
  • 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: Entitlement resource not found. + *
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and * entitlements that have accepted the TOS. - *
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2854,19 +2856,19 @@ public final UnaryCallable activateEntitl *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. * Specify all transferring entitlements. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2909,19 +2911,19 @@ public final UnaryCallable activateEntitl *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. * Specify all transferring entitlements. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -2964,19 +2966,19 @@ public final UnaryCallable activateEntitl *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. * Specify all transferring entitlements. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3018,19 +3020,19 @@ public final UnaryCallable activateEntitl *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3072,19 +3074,19 @@ public final OperationFuture transferEntitlementsToGoo *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3128,19 +3130,19 @@ public final OperationFuture transferEntitlementsToGoo *

Possible error codes: * *

    - *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
  • NOT_FOUND: The customer or offer resource was not found. - *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
  • NOT_FOUND: The customer or offer resource was not found. + *
  • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
  • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3183,9 +3185,9 @@ public final OperationFuture transferEntitlementsToGoo *

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. + *
  • 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 @@ -3227,9 +3229,9 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

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. + *
  • 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 @@ -3270,9 +3272,9 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

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. + *
  • 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 @@ -3320,10 +3322,10 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

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: ChannelPartnerLink resource not found because of an invalid channel partner + *
  • 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: ChannelPartnerLink resource not found because of an invalid channel partner * link name. *
* @@ -3359,10 +3361,10 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque *

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: ChannelPartnerLink resource not found because of an invalid channel partner + *
  • 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: ChannelPartnerLink resource not found because of an invalid channel partner * link name. *
* @@ -3401,14 +3403,14 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque *

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. - *
  • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. - *
  • NOT_FOUND: No Cloud Identity customer exists for provided domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • 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. + *
  • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. + *
  • NOT_FOUND: No Cloud Identity customer exists for provided domain. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3448,14 +3450,14 @@ public final ChannelPartnerLink createChannelPartnerLink( *

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. - *
  • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. - *
  • NOT_FOUND: No Cloud Identity customer exists for provided domain. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • 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. + *
  • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. + *
  • NOT_FOUND: No Cloud Identity customer exists for provided domain. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3493,15 +3495,15 @@ public final ChannelPartnerLink createChannelPartnerLink( *

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. * Link + *
  • 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. * Link * state cannot change from invited to active or suspended. * Cannot send * reseller_cloud_identity_id, invite_url, or name in update mask. - *
  • NOT_FOUND: ChannelPartnerLink resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_FOUND: ChannelPartnerLink resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3540,15 +3542,15 @@ public final ChannelPartnerLink updateChannelPartnerLink( *

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. * Link + *
  • 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. * Link * state cannot change from invited to active or suspended. * Cannot send * reseller_cloud_identity_id, invite_url, or name in update mask. - *
  • NOT_FOUND: ChannelPartnerLink resource not found. - *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • NOT_FOUND: ChannelPartnerLink resource not found. + *
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
* @@ -3586,11 +3588,11 @@ public final ChannelPartnerLink updateChannelPartnerLink( *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3630,11 +3632,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3672,11 +3674,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig(String name) { *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3717,11 +3719,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3761,11 +3763,12 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3774,10 +3777,13 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( * 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] + *
  • 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. @@ -3817,11 +3823,12 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3830,10 +3837,13 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
  • 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. @@ -3871,11 +3881,12 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3884,10 +3895,13 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
  • 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. @@ -3927,11 +3941,12 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3940,10 +3955,13 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
  • 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. @@ -3983,11 +4001,12 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

Possible Error Codes: * *

    - *
  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
  • 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. - *
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
  • 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. *
* @@ -3996,10 +4015,13 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
  • 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. @@ -4053,15 +4075,15 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

The following restrictions are for creating configs in the current month. * *

    - *
  • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
  • The new config will not modify exports used with other configs. Changes to the config may - * be immediate, but may take up to 24 hours. - *
  • There is a limit of ten configs for any + *
  • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
  • The new config will not modify exports used with other configs. 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 + *
  • 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]. @@ -4070,13 +4092,14 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

    Possible Error Codes: * *

      - *
    • PERMISSION_DENIED: If the account making the request and the account being queried are + *
    • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
    • 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. - *
    • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
    • 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. + *
    • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
    * @@ -4127,15 +4150,15 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

    The following restrictions are for creating configs in the current month. * *

      - *
    • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
    • The new config will not modify exports used with other configs. Changes to the config may - * be immediate, but may take up to 24 hours. - *
    • There is a limit of ten configs for any + *
    • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
    • The new config will not modify exports used with other configs. 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 + *
    • 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]. @@ -4144,13 +4167,14 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

      Possible Error Codes: * *

        - *
      • PERMISSION_DENIED: If the account making the request and the account being queried are + *
      • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
      • 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. - *
      • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
      • 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. + *
      • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
      * @@ -4201,15 +4225,15 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

      The following restrictions are for creating configs in the current month. * *

        - *
      • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
      • The new config will not modify exports used with other configs. Changes to the config may - * be immediate, but may take up to 24 hours. - *
      • There is a limit of ten configs for any + *
      • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
      • The new config will not modify exports used with other configs. 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 + *
      • 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]. @@ -4218,13 +4242,14 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

        Possible Error Codes: * *

          - *
        • PERMISSION_DENIED: If the account making the request and the account being queried are + *
        • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
        • 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. - *
        • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
        • 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. + *
        • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
        * @@ -4270,15 +4295,15 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

        The following restrictions are for creating configs in the current month. * *

          - *
        • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
        • The new config will not modify exports used with other configs. Changes to the config may - * be immediate, but may take up to 24 hours. - *
        • There is a limit of ten configs for any + *
        • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
        • The new config will not modify exports used with other configs. 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 + *
        • 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]. @@ -4287,13 +4312,14 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4339,19 +4365,20 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

          When updating a config in the future: * *

            - *
          • This config must already exist. + *
          • This config must already exist. *
          * *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4399,19 +4426,20 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *

          When updating a config in the future: * *

            - *
          • This config must already exist. + *
          • This config must already exist. *
          * *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4457,19 +4485,20 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *

          When updating a config in the future: * *

            - *
          • This config must already exist. + *
          • This config must already exist. *
          * *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4509,12 +4538,12 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *

          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 + *
          • 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] + *
          • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
          * @@ -4552,12 +4581,12 @@ public final void deleteCustomerRepricingConfig(CustomerRepricingConfigName name *

          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 + *
          • 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] + *
          • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
          * @@ -4594,12 +4623,12 @@ public final void deleteCustomerRepricingConfig(String name) { *

          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 + *
          • 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] + *
          • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
          * @@ -4637,12 +4666,12 @@ public final void deleteCustomerRepricingConfig(DeleteCustomerRepricingConfigReq *

          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 + *
          • 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] + *
          • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
          * @@ -4679,12 +4708,12 @@ public final void deleteCustomerRepricingConfig(DeleteCustomerRepricingConfigReq *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4727,12 +4756,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4773,12 +4802,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(Stri *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4820,12 +4849,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4866,12 +4895,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4880,9 +4909,11 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( * 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] + *
          • 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. @@ -4925,12 +4956,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4939,9 +4970,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
          • 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. @@ -4981,12 +5014,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -4995,9 +5028,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
          • 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. @@ -5039,12 +5074,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5053,9 +5088,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
          • 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. @@ -5100,12 +5137,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • NOT_FOUND: The + *
          • 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, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5114,9 +5151,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
          • 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. @@ -5172,13 +5211,13 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

          The following restrictions are for creating configs in the current month. * *

            - *
          • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
          • The new config will not modify exports used with other configs. 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 + *
          • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
          • The new config will not modify exports used with other configs. 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 + *
          • 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. *
          @@ -5186,14 +5225,14 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5248,13 +5287,13 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          The following restrictions are for creating configs in the current month. * *

            - *
          • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
          • The new config will not modify exports used with other configs. 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 + *
          • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
          • The new config will not modify exports used with other configs. 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 + *
          • 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. *
          @@ -5262,14 +5301,14 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5323,13 +5362,13 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          The following restrictions are for creating configs in the current month. * *

            - *
          • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
          • The new config will not modify exports used with other configs. 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 + *
          • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
          • The new config will not modify exports used with other configs. 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 + *
          • 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. *
          @@ -5337,14 +5376,14 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5391,13 +5430,13 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          The following restrictions are for creating configs in the current month. * *

            - *
          • This functionality is reserved for recovering from an erroneous config, and should not be - * used for regular business cases. - *
          • The new config will not modify exports used with other configs. 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 + *
          • This functionality is reserved for recovering from an erroneous config, and should not + * be used for regular business cases. + *
          • The new config will not modify exports used with other configs. 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 + *
          • 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. *
          @@ -5405,14 +5444,14 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5462,20 +5501,20 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

          When updating a config in the future: * *

            - *
          • This config must already exist. + *
          • This config must already exist. *
          * *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5525,20 +5564,20 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *

          When updating a config in the future: * *

            - *
          • This config must already exist. + *
          • This config must already exist. *
          * *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5584,20 +5623,20 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *

          When updating a config in the future: * *

            - *
          • This config must already exist. + *
          • This config must already exist. *
          * *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
          • 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 + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
          * @@ -5641,12 +5680,12 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *

          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 + *
          • 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 + *
          • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
          @@ -5686,12 +5725,12 @@ public final void deleteChannelPartnerRepricingConfig(ChannelPartnerRepricingCon *

          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 + *
          • 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 + *
          • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
          @@ -5730,12 +5769,12 @@ public final void deleteChannelPartnerRepricingConfig(String name) { *

          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 + *
          • 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 + *
          • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
          @@ -5776,12 +5815,12 @@ public final void deleteChannelPartnerRepricingConfig( *

          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 + *
          • 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 + *
          • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
          @@ -5820,9 +5859,9 @@ public final void deleteChannelPartnerRepricingConfig( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement or offer was not found. + *
          • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement or offer was not found. *
          * *

          Return value: The [Offer][google.cloud.channel.v1.Offer] resource. @@ -5856,9 +5895,9 @@ public final Offer lookupOffer(LookupOfferRequest request) { *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement or offer was not found. + *
          • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement or offer was not found. *
          * *

          Return value: The [Offer][google.cloud.channel.v1.Offer] resource. @@ -5891,7 +5930,7 @@ public final UnaryCallable lookupOfferCallable() { *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -5927,7 +5966,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -5964,7 +6003,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6007,7 +6046,7 @@ public final UnaryCallable listProduc *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6044,7 +6083,7 @@ public final ListSkusPagedResponse listSkus(ListSkusRequest request) { *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6080,7 +6119,7 @@ public final UnaryCallable listSkusPaged *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6123,7 +6162,7 @@ public final UnaryCallable listSkusCallable() *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6160,7 +6199,7 @@ public final ListOffersPagedResponse listOffers(ListOffersRequest request) { *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6197,7 +6236,7 @@ public final UnaryCallable listOffer *

          Possible error codes: * *

            - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6238,15 +6277,15 @@ public final UnaryCallable listOffersCall * Lists the following: * *

            - *
          • SKUs that you can purchase for a customer - *
          • SKUs that you can upgrade or downgrade for an entitlement. + *
          • SKUs that you can purchase for a customer + *
          • SKUs that you can upgrade or downgrade for an entitlement. *
          * *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6282,15 +6321,15 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( * Lists the following: * *

            - *
          • SKUs that you can purchase for a customer - *
          • SKUs that you can upgrade or downgrade for an entitlement. + *
          • SKUs that you can purchase for a customer + *
          • SKUs that you can upgrade or downgrade for an entitlement. *
          * *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6325,15 +6364,15 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( * Lists the following: * *

            - *
          • SKUs that you can purchase for a customer - *
          • SKUs that you can upgrade or downgrade for an entitlement. + *
          • SKUs that you can purchase for a customer + *
          • SKUs that you can upgrade or downgrade for an entitlement. *
          * *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6375,15 +6414,15 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( * Lists the following: * *

            - *
          • Offers that you can purchase for a customer. - *
          • Offers that you can change for an entitlement. + *
          • Offers that you can purchase for a customer. + *
          • Offers that you can change for an entitlement. *
          * *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6419,15 +6458,15 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( * Lists the following: * *

            - *
          • Offers that you can purchase for a customer. - *
          • Offers that you can change for an entitlement. + *
          • Offers that you can purchase for a customer. + *
          • Offers that you can change for an entitlement. *
          * *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6462,15 +6501,15 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( * Lists the following: * *

            - *
          • Offers that you can purchase for a customer. - *
          • Offers that you can change for an entitlement. + *
          • Offers that you can purchase for a customer. + *
          • Offers that you can change for an entitlement. *
          * *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Sample code: @@ -6516,12 +6555,12 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6558,12 +6597,12 @@ public final RegisterSubscriberResponse registerSubscriber(RegisterSubscriberReq *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6601,13 +6640,13 @@ public final RegisterSubscriberResponse registerSubscriber(RegisterSubscriberReq *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The topic resource doesn't exist. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The topic resource doesn't exist. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6647,13 +6686,13 @@ public final UnregisterSubscriberResponse unregisterSubscriber( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The topic resource doesn't exist. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The topic resource doesn't exist. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6691,13 +6730,13 @@ public final UnregisterSubscriberResponse unregisterSubscriber( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The topic resource doesn't exist. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The topic resource doesn't exist. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6736,13 +6775,13 @@ public final ListSubscribersPagedResponse listSubscribers(ListSubscribersRequest *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The topic resource doesn't exist. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The topic resource doesn't exist. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6782,13 +6821,13 @@ public final ListSubscribersPagedResponse listSubscribers(ListSubscribersRequest *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
          • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The topic resource doesn't exist. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The topic resource doesn't exist. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -6859,10 +6898,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListCustomersPagedResponse extends AbstractPagedListResponse< - ListCustomersRequest, - ListCustomersResponse, - Customer, - ListCustomersPage, + ListCustomersRequest, ListCustomersResponse, Customer, ListCustomersPage, ListCustomersFixedSizeCollection> { public static ApiFuture createAsync( @@ -6912,10 +6948,7 @@ public ApiFuture createPageAsync( public static class ListCustomersFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomersRequest, - ListCustomersResponse, - Customer, - ListCustomersPage, + ListCustomersRequest, ListCustomersResponse, Customer, ListCustomersPage, ListCustomersFixedSizeCollection> { private ListCustomersFixedSizeCollection(List pages, int collectionSize) { @@ -6935,10 +6968,7 @@ protected ListCustomersFixedSizeCollection createCollection( public static class ListEntitlementsPagedResponse extends AbstractPagedListResponse< - ListEntitlementsRequest, - ListEntitlementsResponse, - Entitlement, - ListEntitlementsPage, + ListEntitlementsRequest, ListEntitlementsResponse, Entitlement, ListEntitlementsPage, ListEntitlementsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6988,10 +7018,7 @@ public ApiFuture createPageAsync( public static class ListEntitlementsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEntitlementsRequest, - ListEntitlementsResponse, - Entitlement, - ListEntitlementsPage, + ListEntitlementsRequest, ListEntitlementsResponse, Entitlement, ListEntitlementsPage, ListEntitlementsFixedSizeCollection> { private ListEntitlementsFixedSizeCollection( @@ -7012,11 +7039,8 @@ protected ListEntitlementsFixedSizeCollection createCollection( public static class ListTransferableSkusPagedResponse extends AbstractPagedListResponse< - ListTransferableSkusRequest, - ListTransferableSkusResponse, - TransferableSku, - ListTransferableSkusPage, - ListTransferableSkusFixedSizeCollection> { + ListTransferableSkusRequest, ListTransferableSkusResponse, TransferableSku, + ListTransferableSkusPage, ListTransferableSkusFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -7037,9 +7061,7 @@ private ListTransferableSkusPagedResponse(ListTransferableSkusPage page) { public static class ListTransferableSkusPage extends AbstractPage< - ListTransferableSkusRequest, - ListTransferableSkusResponse, - TransferableSku, + ListTransferableSkusRequest, ListTransferableSkusResponse, TransferableSku, ListTransferableSkusPage> { private ListTransferableSkusPage( @@ -7072,11 +7094,8 @@ public ApiFuture createPageAsync( public static class ListTransferableSkusFixedSizeCollection extends AbstractFixedSizeCollection< - ListTransferableSkusRequest, - ListTransferableSkusResponse, - TransferableSku, - ListTransferableSkusPage, - ListTransferableSkusFixedSizeCollection> { + ListTransferableSkusRequest, ListTransferableSkusResponse, TransferableSku, + ListTransferableSkusPage, ListTransferableSkusFixedSizeCollection> { private ListTransferableSkusFixedSizeCollection( List pages, int collectionSize) { @@ -7096,11 +7115,8 @@ protected ListTransferableSkusFixedSizeCollection createCollection( public static class ListTransferableOffersPagedResponse extends AbstractPagedListResponse< - ListTransferableOffersRequest, - ListTransferableOffersResponse, - TransferableOffer, - ListTransferableOffersPage, - ListTransferableOffersFixedSizeCollection> { + ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer, + ListTransferableOffersPage, ListTransferableOffersFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -7122,9 +7138,7 @@ private ListTransferableOffersPagedResponse(ListTransferableOffersPage page) { public static class ListTransferableOffersPage extends AbstractPage< - ListTransferableOffersRequest, - ListTransferableOffersResponse, - TransferableOffer, + ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer, ListTransferableOffersPage> { private ListTransferableOffersPage( @@ -7160,11 +7174,8 @@ public ApiFuture createPageAsync( public static class ListTransferableOffersFixedSizeCollection extends AbstractFixedSizeCollection< - ListTransferableOffersRequest, - ListTransferableOffersResponse, - TransferableOffer, - ListTransferableOffersPage, - ListTransferableOffersFixedSizeCollection> { + ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer, + ListTransferableOffersPage, ListTransferableOffersFixedSizeCollection> { private ListTransferableOffersFixedSizeCollection( List pages, int collectionSize) { @@ -7184,11 +7195,8 @@ protected ListTransferableOffersFixedSizeCollection createCollection( public static class ListChannelPartnerLinksPagedResponse extends AbstractPagedListResponse< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, - ChannelPartnerLink, - ListChannelPartnerLinksPage, - ListChannelPartnerLinksFixedSizeCollection> { + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink, + ListChannelPartnerLinksPage, ListChannelPartnerLinksFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -7210,9 +7218,7 @@ private ListChannelPartnerLinksPagedResponse(ListChannelPartnerLinksPage page) { public static class ListChannelPartnerLinksPage extends AbstractPage< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, - ChannelPartnerLink, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink, ListChannelPartnerLinksPage> { private ListChannelPartnerLinksPage( @@ -7248,11 +7254,8 @@ public ApiFuture createPageAsync( public static class ListChannelPartnerLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, - ChannelPartnerLink, - ListChannelPartnerLinksPage, - ListChannelPartnerLinksFixedSizeCollection> { + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink, + ListChannelPartnerLinksPage, ListChannelPartnerLinksFixedSizeCollection> { private ListChannelPartnerLinksFixedSizeCollection( List pages, int collectionSize) { @@ -7272,16 +7275,13 @@ protected ListChannelPartnerLinksFixedSizeCollection createCollection( public static class ListCustomerRepricingConfigsPagedResponse extends AbstractPagedListResponse< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, - CustomerRepricingConfig, - ListCustomerRepricingConfigsPage, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + CustomerRepricingConfig, ListCustomerRepricingConfigsPage, ListCustomerRepricingConfigsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ApiFuture futureResponse) { @@ -7301,15 +7301,12 @@ private ListCustomerRepricingConfigsPagedResponse(ListCustomerRepricingConfigsPa public static class ListCustomerRepricingConfigsPage extends AbstractPage< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, - CustomerRepricingConfig, - ListCustomerRepricingConfigsPage> { + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + CustomerRepricingConfig, ListCustomerRepricingConfigsPage> { private ListCustomerRepricingConfigsPage( PageContext< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ListCustomerRepricingConfigsResponse response) { @@ -7323,8 +7320,7 @@ private static ListCustomerRepricingConfigsPage createEmptyPage() { @Override protected ListCustomerRepricingConfigsPage createPage( PageContext< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ListCustomerRepricingConfigsResponse response) { @@ -7334,8 +7330,7 @@ protected ListCustomerRepricingConfigsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ApiFuture futureResponse) { @@ -7345,10 +7340,8 @@ public ApiFuture createPageAsync( public static class ListCustomerRepricingConfigsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, - CustomerRepricingConfig, - ListCustomerRepricingConfigsPage, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + CustomerRepricingConfig, ListCustomerRepricingConfigsPage, ListCustomerRepricingConfigsFixedSizeCollection> { private ListCustomerRepricingConfigsFixedSizeCollection( @@ -7369,17 +7362,14 @@ protected ListCustomerRepricingConfigsFixedSizeCollection createCollection( public static class ListChannelPartnerRepricingConfigsPagedResponse extends AbstractPagedListResponse< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig, - ListChannelPartnerRepricingConfigsPage, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig, ListChannelPartnerRepricingConfigsPage, ListChannelPartnerRepricingConfigsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -7399,16 +7389,13 @@ private ListChannelPartnerRepricingConfigsPagedResponse( public static class ListChannelPartnerRepricingConfigsPage extends AbstractPage< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig, - ListChannelPartnerRepricingConfigsPage> { + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig, ListChannelPartnerRepricingConfigsPage> { private ListChannelPartnerRepricingConfigsPage( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> context, ListChannelPartnerRepricingConfigsResponse response) { super(context, response); @@ -7422,8 +7409,7 @@ private static ListChannelPartnerRepricingConfigsPage createEmptyPage() { protected ListChannelPartnerRepricingConfigsPage createPage( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> context, ListChannelPartnerRepricingConfigsResponse response) { return new ListChannelPartnerRepricingConfigsPage(context, response); @@ -7433,8 +7419,7 @@ protected ListChannelPartnerRepricingConfigsPage createPage( public ApiFuture createPageAsync( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -7443,10 +7428,8 @@ public ApiFuture createPageAsync( public static class ListChannelPartnerRepricingConfigsFixedSizeCollection extends AbstractFixedSizeCollection< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig, - ListChannelPartnerRepricingConfigsPage, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig, ListChannelPartnerRepricingConfigsPage, ListChannelPartnerRepricingConfigsFixedSizeCollection> { private ListChannelPartnerRepricingConfigsFixedSizeCollection( @@ -7467,10 +7450,7 @@ protected ListChannelPartnerRepricingConfigsFixedSizeCollection createCollection public static class ListProductsPagedResponse extends AbstractPagedListResponse< - ListProductsRequest, - ListProductsResponse, - Product, - ListProductsPage, + ListProductsRequest, ListProductsResponse, Product, ListProductsPage, ListProductsFixedSizeCollection> { public static ApiFuture createAsync( @@ -7519,10 +7499,7 @@ public ApiFuture createPageAsync( public static class ListProductsFixedSizeCollection extends AbstractFixedSizeCollection< - ListProductsRequest, - ListProductsResponse, - Product, - ListProductsPage, + ListProductsRequest, ListProductsResponse, Product, ListProductsPage, ListProductsFixedSizeCollection> { private ListProductsFixedSizeCollection(List pages, int collectionSize) { @@ -7605,10 +7582,7 @@ protected ListSkusFixedSizeCollection createCollection( public static class ListOffersPagedResponse extends AbstractPagedListResponse< - ListOffersRequest, - ListOffersResponse, - Offer, - ListOffersPage, + ListOffersRequest, ListOffersResponse, Offer, ListOffersPage, ListOffersFixedSizeCollection> { public static ApiFuture createAsync( @@ -7655,10 +7629,7 @@ public ApiFuture createPageAsync( public static class ListOffersFixedSizeCollection extends AbstractFixedSizeCollection< - ListOffersRequest, - ListOffersResponse, - Offer, - ListOffersPage, + ListOffersRequest, ListOffersResponse, Offer, ListOffersPage, ListOffersFixedSizeCollection> { private ListOffersFixedSizeCollection(List pages, int collectionSize) { @@ -7678,11 +7649,8 @@ protected ListOffersFixedSizeCollection createCollection( public static class ListPurchasableSkusPagedResponse extends AbstractPagedListResponse< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, - PurchasableSku, - ListPurchasableSkusPage, - ListPurchasableSkusFixedSizeCollection> { + ListPurchasableSkusRequest, ListPurchasableSkusResponse, PurchasableSku, + ListPurchasableSkusPage, ListPurchasableSkusFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -7703,9 +7671,7 @@ private ListPurchasableSkusPagedResponse(ListPurchasableSkusPage page) { public static class ListPurchasableSkusPage extends AbstractPage< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, - PurchasableSku, + ListPurchasableSkusRequest, ListPurchasableSkusResponse, PurchasableSku, ListPurchasableSkusPage> { private ListPurchasableSkusPage( @@ -7738,11 +7704,8 @@ public ApiFuture createPageAsync( public static class ListPurchasableSkusFixedSizeCollection extends AbstractFixedSizeCollection< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, - PurchasableSku, - ListPurchasableSkusPage, - ListPurchasableSkusFixedSizeCollection> { + ListPurchasableSkusRequest, ListPurchasableSkusResponse, PurchasableSku, + ListPurchasableSkusPage, ListPurchasableSkusFixedSizeCollection> { private ListPurchasableSkusFixedSizeCollection( List pages, int collectionSize) { @@ -7762,11 +7725,8 @@ protected ListPurchasableSkusFixedSizeCollection createCollection( public static class ListPurchasableOffersPagedResponse extends AbstractPagedListResponse< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, - PurchasableOffer, - ListPurchasableOffersPage, - ListPurchasableOffersFixedSizeCollection> { + ListPurchasableOffersRequest, ListPurchasableOffersResponse, PurchasableOffer, + ListPurchasableOffersPage, ListPurchasableOffersFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -7787,9 +7747,7 @@ private ListPurchasableOffersPagedResponse(ListPurchasableOffersPage page) { public static class ListPurchasableOffersPage extends AbstractPage< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, - PurchasableOffer, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, PurchasableOffer, ListPurchasableOffersPage> { private ListPurchasableOffersPage( @@ -7822,11 +7780,8 @@ public ApiFuture createPageAsync( public static class ListPurchasableOffersFixedSizeCollection extends AbstractFixedSizeCollection< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, - PurchasableOffer, - ListPurchasableOffersPage, - ListPurchasableOffersFixedSizeCollection> { + ListPurchasableOffersRequest, ListPurchasableOffersResponse, PurchasableOffer, + ListPurchasableOffersPage, ListPurchasableOffersFixedSizeCollection> { private ListPurchasableOffersFixedSizeCollection( List pages, int collectionSize) { @@ -7846,10 +7801,7 @@ protected ListPurchasableOffersFixedSizeCollection createCollection( public static class ListSubscribersPagedResponse extends AbstractPagedListResponse< - ListSubscribersRequest, - ListSubscribersResponse, - String, - ListSubscribersPage, + ListSubscribersRequest, ListSubscribersResponse, String, ListSubscribersPage, ListSubscribersFixedSizeCollection> { public static ApiFuture createAsync( @@ -7899,10 +7851,7 @@ public ApiFuture createPageAsync( public static class ListSubscribersFixedSizeCollection extends AbstractFixedSizeCollection< - ListSubscribersRequest, - ListSubscribersResponse, - String, - ListSubscribersPage, + ListSubscribersRequest, ListSubscribersResponse, String, ListSubscribersPage, ListSubscribersFixedSizeCollection> { private ListSubscribersFixedSizeCollection( diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java similarity index 96% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java index b24873ce..fb037281 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java +++ b/owl-bot-staging/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; @@ -57,9 +58,9 @@ *

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

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

          The builder of this class is recursive, so contained classes are themselves builders. When @@ -149,8 +150,7 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableSkus. */ public PagedCallSettings< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableSkusSettings(); @@ -158,8 +158,7 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableOffers. */ public PagedCallSettings< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableOffersSettings(); @@ -295,8 +294,7 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listChannelPartnerLinksSettings(); @@ -329,8 +327,7 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()) @@ -367,8 +364,7 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()) @@ -430,8 +426,7 @@ public UnaryCallSettings lookupOfferSettings() { /** Returns the object with the settings used for calls to listPurchasableOffers. */ public PagedCallSettings< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listPurchasableOffersSettings(); @@ -631,8 +626,7 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableSkus. */ public PagedCallSettings.Builder< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return getStubSettingsBuilder().listTransferableSkusSettings(); @@ -640,8 +634,7 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableOffers. */ public PagedCallSettings.Builder< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return getStubSettingsBuilder().listTransferableOffersSettings(); @@ -776,8 +769,7 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings.Builder< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return getStubSettingsBuilder().listChannelPartnerLinksSettings(); @@ -809,8 +801,7 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings.Builder< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return getStubSettingsBuilder().listCustomerRepricingConfigsSettings(); @@ -845,8 +836,7 @@ public UnaryCallSettings.Builder changeOfferSetti * Returns the builder for the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings.Builder< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return getStubSettingsBuilder().listChannelPartnerRepricingConfigsSettings(); @@ -904,8 +894,7 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableSkus. */ public PagedCallSettings.Builder< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, + ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> listPurchasableSkusSettings() { return getStubSettingsBuilder().listPurchasableSkusSettings(); @@ -913,8 +902,7 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableOffers. */ public PagedCallSettings.Builder< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return getStubSettingsBuilder().listPurchasableOffersSettings(); diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json similarity index 100% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java similarity index 100% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java similarity index 100% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java similarity index 96% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java index 7e590995..a701fea8 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java @@ -152,9 +152,9 @@ *

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

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

          The builder of this class is recursive, so contained classes are themselves builders. When @@ -205,13 +205,11 @@ public class CloudChannelServiceStubSettings extends StubSettings listEntitlementsSettings; private final PagedCallSettings< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings; private final PagedCallSettings< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings; private final UnaryCallSettings getEntitlementSettings; @@ -251,8 +249,7 @@ public class CloudChannelServiceStubSettings extends StubSettings transferEntitlementsToGoogleOperationSettings; private final PagedCallSettings< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings; private final UnaryCallSettings @@ -264,8 +261,7 @@ public class CloudChannelServiceStubSettings extends StubSettings getCustomerRepricingConfigSettings; private final PagedCallSettings< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings; private final UnaryCallSettings @@ -278,8 +274,7 @@ public class CloudChannelServiceStubSettings extends StubSettings getChannelPartnerRepricingConfigSettings; private final PagedCallSettings< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings; private final UnaryCallSettings< @@ -302,8 +297,7 @@ public class CloudChannelServiceStubSettings extends StubSettings listPurchasableSkusSettings; private final PagedCallSettings< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings; private final UnaryCallSettings @@ -478,8 +472,7 @@ public Iterable extractResources( ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink> LIST_CHANNEL_PARTNER_LINKS_PAGE_STR_DESC = new PagedListDescriptor< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink>() { @Override public String emptyToken() { @@ -520,13 +513,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> LIST_CUSTOMER_REPRICING_CONFIGS_PAGE_STR_DESC = new PagedListDescriptor< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig>() { @Override public String emptyToken() { @@ -569,13 +560,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> LIST_CHANNEL_PARTNER_REPRICING_CONFIGS_PAGE_STR_DESC = new PagedListDescriptor< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig>() { @Override public String emptyToken() { @@ -881,13 +870,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> LIST_TRANSFERABLE_SKUS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -905,13 +892,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> LIST_TRANSFERABLE_OFFERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -921,8 +906,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer> pageContext = PageContext.create( @@ -932,13 +916,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> LIST_CHANNEL_PARTNER_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -948,8 +930,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink> pageContext = PageContext.create( @@ -959,13 +940,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> LIST_CUSTOMER_REPRICING_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -976,8 +955,7 @@ public ApiFuture getFuturePagedRespon ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> pageContext = PageContext.create( @@ -991,13 +969,11 @@ public ApiFuture getFuturePagedRespon }; private static final PagedListResponseFactory< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> LIST_CHANNEL_PARTNER_REPRICING_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse>() { @Override public ApiFuture @@ -1011,8 +987,7 @@ public ApiFuture getFuturePagedRespon ApiFuture futureResponse) { PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> pageContext = PageContext.create( callable, @@ -1078,8 +1053,7 @@ public ApiFuture getFuturePagedResponse( ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> LIST_PURCHASABLE_SKUS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, + ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1096,13 +1070,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> LIST_PURCHASABLE_OFFERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1195,8 +1167,7 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableSkus. */ public PagedCallSettings< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return listTransferableSkusSettings; @@ -1204,8 +1175,7 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableOffers. */ public PagedCallSettings< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return listTransferableOffersSettings; @@ -1331,8 +1301,7 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return listChannelPartnerLinksSettings; @@ -1364,8 +1333,7 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return listCustomerRepricingConfigsSettings; @@ -1397,8 +1365,7 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return listChannelPartnerRepricingConfigsSettings; @@ -1456,8 +1423,7 @@ public UnaryCallSettings lookupOfferSettings() { /** Returns the object with the settings used for calls to listPurchasableOffers. */ public PagedCallSettings< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return listPurchasableOffersSettings; @@ -1690,13 +1656,11 @@ public static class Builder ListEntitlementsRequest, ListEntitlementsResponse, ListEntitlementsPagedResponse> listEntitlementsSettings; private final PagedCallSettings.Builder< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings; private final PagedCallSettings.Builder< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings; private final UnaryCallSettings.Builder @@ -1749,8 +1713,7 @@ public static class Builder TransferEntitlementsToGoogleRequest, Empty, OperationMetadata> transferEntitlementsToGoogleOperationSettings; private final PagedCallSettings.Builder< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings; private final UnaryCallSettings.Builder @@ -1763,8 +1726,7 @@ public static class Builder GetCustomerRepricingConfigRequest, CustomerRepricingConfig> getCustomerRepricingConfigSettings; private final PagedCallSettings.Builder< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings; private final UnaryCallSettings.Builder< @@ -1779,8 +1741,7 @@ public static class Builder GetChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig> getChannelPartnerRepricingConfigSettings; private final PagedCallSettings.Builder< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings; private final UnaryCallSettings.Builder< @@ -1802,13 +1763,11 @@ public static class Builder ListOffersRequest, ListOffersResponse, ListOffersPagedResponse> listOffersSettings; private final PagedCallSettings.Builder< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, + ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> listPurchasableSkusSettings; private final PagedCallSettings.Builder< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings; private final UnaryCallSettings.Builder @@ -2704,8 +2663,7 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableSkus. */ public PagedCallSettings.Builder< - ListTransferableSkusRequest, - ListTransferableSkusResponse, + ListTransferableSkusRequest, ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return listTransferableSkusSettings; @@ -2713,8 +2671,7 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableOffers. */ public PagedCallSettings.Builder< - ListTransferableOffersRequest, - ListTransferableOffersResponse, + ListTransferableOffersRequest, ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return listTransferableOffersSettings; @@ -2869,8 +2826,7 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings.Builder< - ListChannelPartnerLinksRequest, - ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return listChannelPartnerLinksSettings; @@ -2902,8 +2858,7 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings.Builder< - ListCustomerRepricingConfigsRequest, - ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return listCustomerRepricingConfigsSettings; @@ -2938,8 +2893,7 @@ public UnaryCallSettings.Builder changeOfferSetti * Returns the builder for the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings.Builder< - ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return listChannelPartnerRepricingConfigsSettings; @@ -2997,8 +2951,7 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableSkus. */ public PagedCallSettings.Builder< - ListPurchasableSkusRequest, - ListPurchasableSkusResponse, + ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> listPurchasableSkusSettings() { return listPurchasableSkusSettings; @@ -3006,8 +2959,7 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableOffers. */ public PagedCallSettings.Builder< - ListPurchasableOffersRequest, - ListPurchasableOffersResponse, + ListPurchasableOffersRequest, ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return listPurchasableOffersSettings; diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java similarity index 100% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java similarity index 99% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java index fe5db08d..c4e892ab 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java +++ b/owl-bot-staging/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/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java similarity index 100% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java b/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java similarity index 99% rename from google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java rename to owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java index ae5dbd56..de9054f8 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java +++ b/owl-bot-staging/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/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java diff --git a/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java b/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java similarity index 100% rename from google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java diff --git a/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java b/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java similarity index 100% rename from google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java rename to owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java diff --git a/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java b/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java similarity index 100% rename from google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java rename to owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java diff --git a/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java similarity index 62% rename from grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java index b10e767e..90f87bf5 100644 --- a/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java +++ b/owl-bot-staging/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.
          @@ -49,2230 +32,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.
          @@ -2291,11 +1490,9 @@ public CloudChannelServiceFutureStub newStub(
              * 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:
          @@ -2306,17 +1503,12 @@ public abstract static class CloudChannelServiceImplBase implements io.grpc.Bind
                * 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.
                * Possible error codes:
          @@ -2329,16 +1521,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.
          @@ -2354,18 +1542,12 @@ public void getCustomer(
                * 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.
          @@ -2379,16 +1561,12 @@ 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.
          @@ -2401,16 +1579,12 @@ public void createCustomer(
                * 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:
          @@ -2421,16 +1595,12 @@ public void updateCustomer(
                * * 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
          @@ -2448,16 +1618,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,16 +1644,12 @@ 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.
                * Possible error codes:
          @@ -2497,17 +1659,12 @@ public void provisionCloudIdentity(
                * 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.
          @@ -2525,17 +1682,12 @@ public void listEntitlements(
                * 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.
          @@ -2553,17 +1705,12 @@ public void listTransferableSkus(
                * 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.
                * Possible error codes:
          @@ -2574,16 +1721,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:
          @@ -2619,16 +1762,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
          @@ -2650,16 +1789,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
          @@ -2681,16 +1816,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
          @@ -2710,16 +1841,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
          @@ -2742,16 +1869,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.
          @@ -2771,16 +1894,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.
          @@ -2805,16 +1924,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.
          @@ -2840,16 +1955,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:
          @@ -2878,16 +1989,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:
          @@ -2916,16 +2023,12 @@ 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.
          @@ -2937,17 +2040,12 @@ public void transferEntitlementsToGoogle(
                * 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.
                * You must be a distributor to call this method.
          @@ -2961,17 +2059,12 @@ public void listChannelPartnerLinks(
                * 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.
          @@ -2994,17 +2087,12 @@ public void getChannelPartnerLink(
                * 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.
          @@ -3026,17 +2114,12 @@ public void createChannelPartnerLink(
                * 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.
          @@ -3051,17 +2134,12 @@ public void updateChannelPartnerLink(
                * 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.
          @@ -3082,18 +2160,12 @@ 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
          @@ -3129,17 +2201,12 @@ public void listCustomerRepricingConfigs(
                * 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
          @@ -3166,17 +2233,12 @@ public void createCustomerRepricingConfig(
                * 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
          @@ -3191,16 +2253,12 @@ public void updateCustomerRepricingConfig(
                * 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.
          @@ -3215,17 +2273,12 @@ public void deleteCustomerRepricingConfig(
                * 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.
          @@ -3245,18 +2298,12 @@ public void getChannelPartnerRepricingConfig(
                * 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
          @@ -3291,17 +2338,12 @@ public void listChannelPartnerRepricingConfigs(
                * 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
          @@ -3328,17 +2370,12 @@ public void createChannelPartnerRepricingConfig(
                * 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
          @@ -3353,16 +2390,12 @@ public void updateChannelPartnerRepricingConfig(
                * 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:
          @@ -3373,65 +2406,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
          @@ -3441,17 +2457,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.
          @@ -3461,17 +2472,12 @@ 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
          @@ -3489,17 +2495,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
          @@ -3521,17 +2522,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.
          @@ -3549,319 +2545,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.
          @@ -3880,9 +2890,9 @@ public final io.grpc.ServerServiceDefinition bindService() {
              * 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); } @@ -3893,8 +2903,6 @@ protected CloudChannelServiceStub build( } /** - * - * *
                * List [Customer][google.cloud.channel.v1.Customer]s.
                * Possible error codes:
          @@ -3905,19 +2913,13 @@ protected CloudChannelServiceStub build(
                * 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.
                * Possible error codes:
          @@ -3930,18 +2932,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.
          @@ -3957,20 +2954,13 @@ public void getCustomer(
                * 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.
          @@ -3984,18 +2974,13 @@ 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.
          @@ -4008,18 +2993,13 @@ public void createCustomer(
                * 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:
          @@ -4030,18 +3010,13 @@ public void updateCustomer(
                * * 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
          @@ -4059,18 +3034,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.
          @@ -4091,18 +3061,13 @@ 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.
                * Possible error codes:
          @@ -4112,19 +3077,13 @@ public void provisionCloudIdentity(
                * 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.
          @@ -4142,19 +3101,13 @@ public void listEntitlements(
                * 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.
          @@ -4172,19 +3125,13 @@ public void listTransferableSkus(
                * 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.
                * Possible error codes:
          @@ -4195,18 +3142,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:
          @@ -4242,18 +3184,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
          @@ -4275,18 +3212,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
          @@ -4308,18 +3240,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
          @@ -4339,18 +3266,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
          @@ -4373,18 +3295,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.
          @@ -4404,18 +3321,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.
          @@ -4440,18 +3352,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.
          @@ -4477,18 +3384,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:
          @@ -4517,18 +3419,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:
          @@ -4557,18 +3454,13 @@ 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.
          @@ -4580,19 +3472,13 @@ public void transferEntitlementsToGoogle(
                * 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.
                * You must be a distributor to call this method.
          @@ -4606,19 +3492,13 @@ public void listChannelPartnerLinks(
                * 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.
          @@ -4641,19 +3521,13 @@ public void getChannelPartnerLink(
                * 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.
          @@ -4675,19 +3549,13 @@ public void createChannelPartnerLink(
                * 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.
          @@ -4702,19 +3570,13 @@ public void updateChannelPartnerLink(
                * 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.
          @@ -4735,20 +3597,13 @@ 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
          @@ -4784,19 +3639,13 @@ public void listCustomerRepricingConfigs(
                * 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
          @@ -4823,19 +3672,13 @@ public void createCustomerRepricingConfig(
                * 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
          @@ -4850,18 +3693,13 @@ public void updateCustomerRepricingConfig(
                * 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.
          @@ -4876,19 +3714,13 @@ public void deleteCustomerRepricingConfig(
                * 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.
          @@ -4908,20 +3740,13 @@ public void getChannelPartnerRepricingConfig(
                * 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
          @@ -4956,19 +3781,13 @@ public void listChannelPartnerRepricingConfigs(
                * 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
          @@ -4995,19 +3814,13 @@ public void createChannelPartnerRepricingConfig(
                * 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
          @@ -5022,18 +3835,13 @@ public void updateChannelPartnerRepricingConfig(
                * 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:
          @@ -5044,71 +3852,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
          @@ -5118,19 +3907,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.
          @@ -5140,19 +3923,13 @@ 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
          @@ -5170,19 +3947,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
          @@ -5204,19 +3975,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.
          @@ -5234,20 +3999,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.
          @@ -5266,8 +4025,7 @@ public void listSubscribers(
              * 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); @@ -5280,8 +4038,6 @@ protected CloudChannelServiceBlockingStub build( } /** - * - * *
                * List [Customer][google.cloud.channel.v1.Customer]s.
                * Possible error codes:
          @@ -5292,15 +4048,12 @@ protected CloudChannelServiceBlockingStub build(
                * 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.
                * Possible error codes:
          @@ -5313,15 +4066,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.
          @@ -5337,16 +4087,12 @@ public com.google.cloud.channel.v1.Customer getCustomer(
                * 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.
          @@ -5360,15 +4106,12 @@ 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.
          @@ -5381,15 +4124,12 @@ public com.google.cloud.channel.v1.Customer createCustomer(
                * 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:
          @@ -5400,15 +4140,12 @@ public com.google.cloud.channel.v1.Customer updateCustomer(
                * * 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
          @@ -5426,15 +4163,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.
          @@ -5455,15 +4189,12 @@ 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.
                * Possible error codes:
          @@ -5473,15 +4204,12 @@ public com.google.longrunning.Operation provisionCloudIdentity(
                * 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.
          @@ -5499,15 +4227,12 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(
                * 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.
          @@ -5525,15 +4250,12 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferable
                * 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.
                * Possible error codes:
          @@ -5544,15 +4266,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:
          @@ -5588,15 +4307,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
          @@ -5618,15 +4334,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
          @@ -5648,15 +4361,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
          @@ -5676,15 +4386,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
          @@ -5707,15 +4414,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.
          @@ -5735,15 +4439,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.
          @@ -5768,15 +4469,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.
          @@ -5802,15 +4500,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:
          @@ -5839,15 +4534,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:
          @@ -5876,15 +4568,12 @@ 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.
          @@ -5896,15 +4585,12 @@ public com.google.longrunning.Operation transferEntitlementsToGoogle(
                * 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.
                * You must be a distributor to call this method.
          @@ -5918,15 +4604,12 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPa
                * 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,15 +4632,12 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(
                * 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,15 +4659,12 @@ public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(
                * 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.
          @@ -6002,15 +4679,12 @@ public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink(
                * 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.
          @@ -6031,16 +4705,12 @@ 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
          @@ -6076,15 +4746,12 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC
                * 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
          @@ -6111,15 +4778,12 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerReprici
                * 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
          @@ -6134,15 +4798,12 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerReprici
                * 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.
          @@ -6157,16 +4818,12 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
                * 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.
          @@ -6186,16 +4843,12 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
                * 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
          @@ -6230,16 +4883,12 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
                * 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
          @@ -6266,16 +4915,12 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
                * 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
          @@ -6290,15 +4935,12 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
                * 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:
          @@ -6309,60 +4951,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
          @@ -6372,15 +5002,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.
          @@ -6390,15 +5017,12 @@ 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
          @@ -6416,15 +5040,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
          @@ -6446,15 +5067,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.
          @@ -6472,16 +5090,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.
          @@ -6500,8 +5115,7 @@ public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(
              * 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); @@ -6514,8 +5128,6 @@ protected CloudChannelServiceFutureStub build( } /** - * - * *
                * List [Customer][google.cloud.channel.v1.Customer]s.
                * Possible error codes:
          @@ -6526,16 +5138,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
                * Possible error codes:
          @@ -6548,15 +5157,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.
          @@ -6572,18 +5179,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -6597,15 +5199,13 @@ 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.
          @@ -6618,15 +5218,13 @@ protected CloudChannelServiceFutureStub build(
                * 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,15 +5235,13 @@ protected CloudChannelServiceFutureStub build(
                * * 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
          @@ -6663,15 +5259,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.
          @@ -6692,15 +5286,13 @@ 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.
                * Possible error codes:
          @@ -6710,16 +5302,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -6737,16 +5326,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -6764,16 +5350,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
                * Possible error codes:
          @@ -6784,16 +5367,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:
          @@ -6829,15 +5409,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
          @@ -6859,15 +5437,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
          @@ -6889,15 +5465,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
          @@ -6917,15 +5491,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
          @@ -6948,15 +5520,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.
          @@ -6976,15 +5546,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.
          @@ -7009,15 +5577,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.
          @@ -7043,15 +5609,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:
          @@ -7080,15 +5644,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:
          @@ -7117,16 +5679,13 @@ 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.
          @@ -7138,17 +5697,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
                * You must be a distributor to call this method.
          @@ -7162,16 +5717,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -7194,17 +5746,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -7226,17 +5774,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -7251,17 +5795,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -7282,17 +5822,13 @@ 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
          @@ -7328,18 +5864,13 @@ protected CloudChannelServiceFutureStub build(
                * 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
          @@ -7366,18 +5897,13 @@ protected CloudChannelServiceFutureStub build(
                * 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
          @@ -7392,17 +5918,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -7417,18 +5939,13 @@ protected CloudChannelServiceFutureStub build(
                * 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.
          @@ -7448,18 +5965,13 @@ protected CloudChannelServiceFutureStub build(
                * 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
          @@ -7494,18 +6006,13 @@ protected CloudChannelServiceFutureStub build(
                * 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
          @@ -7532,18 +6039,13 @@ protected CloudChannelServiceFutureStub build(
                * 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
          @@ -7558,17 +6060,13 @@ protected CloudChannelServiceFutureStub build(
                * 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:
          @@ -7579,63 +6077,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
          @@ -7645,16 +6132,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.
          @@ -7664,16 +6148,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.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
          @@ -7691,16 +6172,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
          @@ -7722,16 +6200,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.
          @@ -7749,9 +6224,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); } @@ -7803,11 +6277,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; @@ -7821,266 +6295,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(); @@ -8098,9 +6490,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 @@ -8142,56 +6533,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java index b10cf49a..5640fccb 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.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.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,15 +26,16 @@ 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; } - private ActivateEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ActivateEntitlementRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private ActivateEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -142,15 +118,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:
          @@ -158,15 +133,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 { @@ -177,8 +153,6 @@ 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.
          @@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
              * 
          * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -201,15 +174,14 @@ 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.
          @@ -223,15 +195,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 { @@ -240,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -282,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,127 +287,117 @@ 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].
              * 
          * * 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() @@ -441,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -461,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_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 @@ -482,8 +447,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(); @@ -494,39 +458,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; @@ -534,8 +497,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(); @@ -563,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ActivateEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ActivateEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,8 +537,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
                * Required. The resource name of the entitlement to activate.
                * Name uses the format:
          @@ -585,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; @@ -600,8 +559,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The resource name of the entitlement to activate.
                * Name uses the format:
          @@ -609,14 +566,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 { @@ -624,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The resource name of the entitlement to activate.
                * Name uses the format:
          @@ -633,22 +589,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:
          @@ -656,18 +610,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:
          @@ -675,16 +626,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; @@ -692,8 +643,6 @@ 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.
          @@ -707,13 +656,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; @@ -722,8 +671,6 @@ 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.
          @@ -737,14 +684,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 { @@ -752,8 +700,6 @@ 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.
          @@ -767,22 +713,20 @@ 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.
          @@ -796,18 +740,15 @@ 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.
          @@ -821,23 +762,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); } @@ -847,12 +788,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(); } @@ -861,16 +802,16 @@ 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 { - return new ActivateEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new ActivateEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ActivateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java index e8d2133a..b35f1430 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +26,12 @@ 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.
          @@ -68,13 +45,10 @@ 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.
          @@ -88,8 +62,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java index 72e24cb8..7a909bc4 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private AdminUser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private AdminUser( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - email_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - givenName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + givenName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - familyName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + familyName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,39 +87,34 @@ private AdminUser( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -148,29 +123,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 { @@ -181,14 +156,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 @@ -197,29 +169,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 { @@ -230,14 +202,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 @@ -246,29 +215,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 { @@ -277,7 +246,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -325,16 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -357,126 +329,118 @@ 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() @@ -484,15 +448,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -506,9 +471,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 @@ -527,8 +492,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_; @@ -540,39 +504,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; @@ -624,20 +587,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; @@ -646,21 +607,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 { @@ -668,61 +628,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; @@ -730,20 +683,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; @@ -752,21 +703,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 { @@ -774,61 +724,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; @@ -836,20 +779,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; @@ -858,21 +799,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 { @@ -880,68 +820,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); } @@ -951,12 +884,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(); } @@ -965,16 +898,16 @@ 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 { - return new AdminUser(input, extensionRegistry); - } - }; + 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 { + return new AdminUser(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AdminUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java similarity index 58% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java index 21dbdf69..3ab38301 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java index e73db301..f3476d6f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private AssociationInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AssociationInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - baseEntitlement_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + baseEntitlement_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AssociationInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getBaseEntitlementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseEntitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, baseEntitlement_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -480,20 +447,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; @@ -502,21 +467,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 { @@ -524,68 +488,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); } @@ -595,12 +552,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(); } @@ -609,16 +566,16 @@ 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 { - return new AssociationInfo(input, extensionRegistry); - } - }; + 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 { + return new AssociationInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AssociationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java similarity index 52% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java index ca35368d..4d864eb1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java index e1437b74..32c41101 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.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.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,15 +26,16 @@ 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; } - private CancelEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private CancelEntitlementRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private CancelEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -142,15 +118,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:
          @@ -158,15 +133,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 { @@ -177,8 +153,6 @@ 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.
          @@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
              * 
          * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -201,15 +174,14 @@ 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.
          @@ -223,15 +195,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 { @@ -240,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -282,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,126 +287,117 @@ 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].
              * 
          * * 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() @@ -440,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -460,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_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 @@ -481,8 +447,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(); @@ -493,39 +458,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; @@ -533,8 +497,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(); @@ -562,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CancelEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CancelEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -575,8 +537,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
                * Required. The resource name of the entitlement to cancel.
                * Name uses the format:
          @@ -584,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; @@ -599,8 +559,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The resource name of the entitlement to cancel.
                * Name uses the format:
          @@ -608,14 +566,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 { @@ -623,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The resource name of the entitlement to cancel.
                * Name uses the format:
          @@ -632,22 +589,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:
          @@ -655,18 +610,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:
          @@ -674,16 +626,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; @@ -691,8 +643,6 @@ 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.
          @@ -706,13 +656,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; @@ -721,8 +671,6 @@ 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.
          @@ -736,14 +684,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 { @@ -751,8 +700,6 @@ 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.
          @@ -766,22 +713,20 @@ 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.
          @@ -795,18 +740,15 @@ 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.
          @@ -820,23 +762,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); } @@ -846,12 +788,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(); } @@ -860,16 +802,16 @@ 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 { - return new CancelEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -884,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CancelEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java index ae34aa4a..2d98f0f5 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +26,12 @@ 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.
          @@ -68,13 +45,10 @@ 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.
          @@ -88,8 +62,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java index 4f96e642..5df33da4 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.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.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,15 +29,16 @@ 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; } - private ChangeOfferRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,52 +58,46 @@ private ChangeOfferRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - offer_ = s; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - parameters_.add( - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); - break; + offer_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + parameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + parameters_.add( + input.readMessage(com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - purchaseOrderId_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + purchaseOrderId_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,7 +105,8 @@ private ChangeOfferRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -137,27 +115,22 @@ private ChangeOfferRequest( makeExtensionsImmutable(); } } - - 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:
          @@ -165,7 +138,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -174,15 +146,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:
          @@ -190,15 +161,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 { @@ -209,17 +181,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 @@ -228,32 +195,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 { @@ -264,98 +229,76 @@ 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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 @@ -364,29 +307,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 { @@ -397,8 +340,6 @@ 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.
          @@ -412,7 +353,6 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() {
              * 
          * * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -421,15 +361,14 @@ 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.
          @@ -443,15 +382,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 { @@ -460,7 +400,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,7 +411,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -504,7 +444,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_); @@ -520,19 +461,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -561,127 +506,118 @@ 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].
              * 
          * * 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() @@ -689,17 +625,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -721,9 +657,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 @@ -742,8 +678,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_; @@ -766,39 +701,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; @@ -833,10 +767,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_); } @@ -878,13 +811,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
                * Required. The resource name of the entitlement to update.
                * Name uses the format:
          @@ -892,13 +822,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; @@ -907,8 +837,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The resource name of the entitlement to update.
                * Name uses the format:
          @@ -916,14 +844,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 { @@ -931,8 +860,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The resource name of the entitlement to update.
                * Name uses the format:
          @@ -940,22 +867,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:
          @@ -963,18 +888,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:
          @@ -982,16 +904,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; @@ -999,23 +921,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; @@ -1024,24 +942,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 { @@ -1049,102 +964,81 @@ 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.
                * 
          * - * - * 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) { @@ -1154,16 +1048,12 @@ 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.
                * 
          * - * - * 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) { @@ -1173,16 +1063,12 @@ 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.
                * 
          * - * - * 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) { @@ -1192,18 +1078,15 @@ 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.
                * 
          * - * - * 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(); @@ -1217,16 +1100,12 @@ 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.
                * 
          * - * - * 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) { @@ -1240,16 +1119,12 @@ 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.
                * 
          * - * - * 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) { @@ -1265,18 +1140,15 @@ 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.
                * 
          * - * - * 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(); @@ -1290,18 +1162,15 @@ 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.
                * 
          * - * - * 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()); @@ -1312,16 +1181,12 @@ 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.
                * 
          * - * - * 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) { @@ -1335,22 +1200,19 @@ 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.
                * 
          * - * - * 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); @@ -1358,16 +1220,12 @@ 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.
                * 
          * - * - * 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) { @@ -1380,16 +1238,12 @@ 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.
                * 
          * - * - * 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) { @@ -1402,53 +1256,42 @@ 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.
                * 
          * - * - * 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.
                * 
          * - * - * 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.
                * 
          * - * - * 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 { @@ -1456,66 +1299,52 @@ 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.
                * 
          * - * - * 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.
                * 
          * - * - * 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.
                * 
          * - * - * 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_; @@ -1523,20 +1352,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; @@ -1545,21 +1372,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 { @@ -1567,61 +1393,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; @@ -1629,8 +1448,6 @@ 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.
          @@ -1644,13 +1461,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; @@ -1659,8 +1476,6 @@ 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.
          @@ -1674,14 +1489,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 { @@ -1689,8 +1505,6 @@ 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.
          @@ -1704,22 +1518,20 @@ 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.
          @@ -1733,18 +1545,15 @@ 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.
          @@ -1758,23 +1567,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); } @@ -1784,12 +1593,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(); } @@ -1798,16 +1607,16 @@ 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 { - return new ChangeOfferRequest(input, extensionRegistry); - } - }; + 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 { + return new ChangeOfferRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1822,4 +1631,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java index 912a6577..546399d2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java +++ b/owl-bot-staging/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,137 +26,103 @@ 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
              * 
          * - * - * 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.
          @@ -191,13 +136,10 @@ 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.
          @@ -211,8 +153,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java index 76e50661..ae8c97b5 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ChangeParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,45 +57,40 @@ private ChangeParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - parameters_.add( - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); - break; + name_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + parameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + parameters_.add( + input.readMessage(com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + requestId_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - purchaseOrderId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + purchaseOrderId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,7 +98,8 @@ private ChangeParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -129,27 +108,22 @@ private ChangeParametersRequest( makeExtensionsImmutable(); } } - - 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:
          @@ -157,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -166,15 +139,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:
          @@ -182,15 +154,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 { @@ -201,97 +174,76 @@ 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
          @@ -305,7 +257,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 @@ -314,15 +265,14 @@ 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.
          @@ -336,15 +286,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 { @@ -355,14 +306,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 @@ -371,29 +319,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 { @@ -402,7 +350,6 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,7 +361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -440,7 +388,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_); @@ -456,18 +405,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -495,126 +447,117 @@ 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() @@ -622,17 +565,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -652,9 +595,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 @@ -673,8 +616,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) { @@ -696,39 +638,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; @@ -736,8 +677,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(); @@ -760,10 +700,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_); } @@ -796,8 +735,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ChangeParametersRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ChangeParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -806,13 +744,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
                * Required. The name of the entitlement to update.
                * Name uses the format:
          @@ -820,13 +755,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; @@ -835,8 +770,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The name of the entitlement to update.
                * Name uses the format:
          @@ -844,14 +777,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 { @@ -859,8 +793,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The name of the entitlement to update.
                * Name uses the format:
          @@ -868,22 +800,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:
          @@ -891,18 +821,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:
          @@ -910,49 +837,41 @@ 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.
                * 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.
                * 
          * - * - * 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) { @@ -962,17 +881,13 @@ public java.util.List getParametersList() } } /** - * - * *
                * 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.
                * 
          * - * - * 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) { @@ -982,17 +897,13 @@ public int getParametersCount() { } } /** - * - * *
                * 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.
                * 
          * - * - * 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) { @@ -1002,19 +913,16 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) { } } /** - * - * *
                * 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.
                * 
          * - * - * 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(); @@ -1028,17 +936,13 @@ 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.
                * 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.
                * 
          * - * - * 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) { @@ -1052,17 +956,13 @@ public Builder setParameters( return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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) { @@ -1078,19 +978,16 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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(); @@ -1104,19 +1001,16 @@ 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.
                * 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.
                * 
          * - * - * 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()); @@ -1127,17 +1021,13 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder build return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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) { @@ -1151,23 +1041,20 @@ public Builder addParameters( return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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); @@ -1175,17 +1062,13 @@ public Builder addAllParameters( return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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) { @@ -1198,17 +1081,13 @@ public Builder clearParameters() { return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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) { @@ -1221,56 +1100,45 @@ public Builder removeParameters(int index) { return this; } /** - * - * *
                * 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.
                * 
          * - * - * 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.
                * 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.
                * 
          * - * - * 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.
                * 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.
                * 
          * - * - * 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 { @@ -1278,69 +1146,55 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int } } /** - * - * *
                * 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.
                * 
          * - * - * 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.
                * 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.
                * 
          * - * - * 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.
                * 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.
                * 
          * - * - * 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_; @@ -1348,8 +1202,6 @@ 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.
          @@ -1363,13 +1215,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; @@ -1378,8 +1230,6 @@ 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.
          @@ -1393,14 +1243,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 { @@ -1408,8 +1259,6 @@ 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.
          @@ -1423,22 +1272,20 @@ 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.
          @@ -1452,18 +1299,15 @@ 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.
          @@ -1477,16 +1321,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; @@ -1494,20 +1338,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; @@ -1516,21 +1358,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 { @@ -1538,68 +1379,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); } @@ -1609,12 +1443,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(); } @@ -1623,16 +1457,16 @@ 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 { - return new ChangeParametersRequest(input, extensionRegistry); - } - }; + 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 { + return new ChangeParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1647,4 +1481,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java index 13c07a93..23fbc6dd 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java +++ b/owl-bot-staging/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,86 +26,66 @@ 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
              * 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.
              * 
          * - * - * 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.
          @@ -140,13 +99,10 @@ 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.
          @@ -160,33 +116,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java index e8abf684..2beb386b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.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.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,15 +26,16 @@ 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; } - private ChangeRenewalSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private ChangeRenewalSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 34: { + com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; + if (renewalSettings_ != null) { + subBuilder = renewalSettings_.toBuilder(); } - case 34: - { - com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; - if (renewalSettings_ != null) { - subBuilder = renewalSettings_.toBuilder(); - } - renewalSettings_ = - input.readMessage( - com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(renewalSettings_); - renewalSettings_ = subBuilder.buildPartial(); - } - - break; + renewalSettings_ = input.readMessage(com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(renewalSettings_); + renewalSettings_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,33 +93,29 @@ private ChangeRenewalSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -149,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -158,15 +131,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:
          @@ -174,15 +146,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 { @@ -193,16 +166,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 @@ -210,34 +178,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() { @@ -247,8 +204,6 @@ 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.
          @@ -262,7 +217,6 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr
              * 
          * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -271,15 +225,14 @@ 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.
          @@ -293,15 +246,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 { @@ -310,7 +264,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -345,7 +299,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_); @@ -358,20 +313,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -397,127 +354,117 @@ 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].
              * 
          * * 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() @@ -525,15 +472,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -551,9 +499,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 @@ -572,8 +520,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_; @@ -589,39 +536,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; @@ -629,8 +575,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(); @@ -661,8 +606,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,8 +618,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
                * Required. The name of the entitlement to update.
                * Name uses the format:
          @@ -683,13 +625,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; @@ -698,8 +640,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The name of the entitlement to update.
                * Name uses the format:
          @@ -707,14 +647,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 { @@ -722,8 +663,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The name of the entitlement to update.
                * Name uses the format:
          @@ -731,22 +670,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:
          @@ -754,18 +691,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:
          @@ -773,16 +707,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; @@ -790,58 +724,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) { @@ -857,15 +772,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) { @@ -879,23 +790,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; } @@ -907,15 +812,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) { @@ -929,64 +830,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_; @@ -994,8 +879,6 @@ 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.
          @@ -1009,13 +892,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; @@ -1024,8 +907,6 @@ 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.
          @@ -1039,14 +920,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 { @@ -1054,8 +936,6 @@ 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.
          @@ -1069,22 +949,20 @@ 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.
          @@ -1098,18 +976,15 @@ 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.
          @@ -1123,23 +998,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); } @@ -1149,12 +1024,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(); } @@ -1163,16 +1038,16 @@ 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 { - return new ChangeRenewalSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new ChangeRenewalSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,4 +1062,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java index 4432570c..242591bb 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java +++ b/owl-bot-staging/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,55 +26,39 @@ 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.
          @@ -109,13 +72,10 @@ 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.
          @@ -129,8 +89,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java index 088d4435..7720beeb 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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;
             }
          -
             private ChannelPartnerLink(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -75,94 +58,82 @@ private ChannelPartnerLink(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              name_ = s;
          -              break;
          -            }
          -          case 18:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +            name_ = s;
          +            break;
          +          }
          +          case 18: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              resellerCloudIdentityId_ = s;
          -              break;
          -            }
          -          case 24:
          -            {
          -              int rawValue = input.readEnum();
          +            resellerCloudIdentityId_ = s;
          +            break;
          +          }
          +          case 24: {
          +            int rawValue = input.readEnum();
           
          -              linkState_ = rawValue;
          -              break;
          -            }
          -          case 34:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +            linkState_ = rawValue;
          +            break;
          +          }
          +          case 34: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              inviteLinkUri_ = s;
          -              break;
          +            inviteLinkUri_ = s;
          +            break;
          +          }
          +          case 42: {
          +            com.google.protobuf.Timestamp.Builder subBuilder = null;
          +            if (createTime_ != null) {
          +              subBuilder = createTime_.toBuilder();
                       }
          -          case 42:
          -            {
          -              com.google.protobuf.Timestamp.Builder subBuilder = null;
          -              if (createTime_ != null) {
          -                subBuilder = createTime_.toBuilder();
          -              }
          -              createTime_ =
          -                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(createTime_);
          -                createTime_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(createTime_);
          +              createTime_ = subBuilder.buildPartial();
                       }
          -          case 50:
          -            {
          -              com.google.protobuf.Timestamp.Builder subBuilder = null;
          -              if (updateTime_ != null) {
          -                subBuilder = updateTime_.toBuilder();
          -              }
          -              updateTime_ =
          -                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(updateTime_);
          -                updateTime_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +
          +            break;
          +          }
          +          case 50: {
          +            com.google.protobuf.Timestamp.Builder subBuilder = null;
          +            if (updateTime_ != null) {
          +              subBuilder = updateTime_.toBuilder();
          +            }
          +            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(updateTime_);
          +              updateTime_ = subBuilder.buildPartial();
                       }
          -          case 58:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
           
          -              publicId_ = s;
          -              break;
          +            break;
          +          }
          +          case 58: {
          +            java.lang.String s = input.readStringRequireUtf8();
          +
          +            publicId_ = s;
          +            break;
          +          }
          +          case 66: {
          +            com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null;
          +            if (channelPartnerCloudIdentityInfo_ != null) {
          +              subBuilder = channelPartnerCloudIdentityInfo_.toBuilder();
                       }
          -          case 66:
          -            {
          -              com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null;
          -              if (channelPartnerCloudIdentityInfo_ != null) {
          -                subBuilder = channelPartnerCloudIdentityInfo_.toBuilder();
          -              }
          -              channelPartnerCloudIdentityInfo_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(channelPartnerCloudIdentityInfo_);
          -                channelPartnerCloudIdentityInfo_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            channelPartnerCloudIdentityInfo_ = input.readMessage(com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(channelPartnerCloudIdentityInfo_);
          +              channelPartnerCloudIdentityInfo_ = subBuilder.buildPartial();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -170,40 +141,35 @@ private ChannelPartnerLink(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -212,30 +178,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 { @@ -246,14 +212,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 @@ -262,29 +225,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 { @@ -295,56 +258,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 @@ -353,29 +298,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 { @@ -386,15 +331,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 @@ -402,15 +343,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 @@ -418,14 +355,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() { @@ -435,15 +369,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 @@ -451,15 +381,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 @@ -467,14 +393,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() { @@ -484,15 +407,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.
              * 
          * * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The publicId. */ @java.lang.Override @@ -501,30 +421,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 { @@ -535,16 +455,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 @@ -552,43 +467,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; @@ -600,17 +502,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_)) { @@ -643,28 +543,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -674,32 +573,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -739,104 +642,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.
          @@ -844,23 +740,21 @@ 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()
          @@ -868,15 +762,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -912,9 +807,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
          @@ -933,8 +828,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_;
          @@ -963,39 +857,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;
          @@ -1063,21 +956,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; @@ -1086,22 +977,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 { @@ -1109,64 +999,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; @@ -1174,20 +1057,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; @@ -1196,21 +1077,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 { @@ -1218,61 +1098,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; @@ -1280,75 +1153,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. */ @@ -1356,26 +1205,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; @@ -1383,20 +1227,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; @@ -1405,21 +1247,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 { @@ -1427,61 +1268,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; @@ -1489,58 +1323,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) { @@ -1556,17 +1371,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(); @@ -1577,21 +1389,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; } @@ -1603,15 +1411,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) { @@ -1625,64 +1429,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_; @@ -1690,58 +1478,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) { @@ -1757,17 +1526,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(); @@ -1778,21 +1544,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; } @@ -1804,15 +1566,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) { @@ -1826,64 +1584,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_; @@ -1891,21 +1633,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.
                * 
          * * 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; @@ -1914,22 +1654,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.
                * 
          * * 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 { @@ -1937,64 +1676,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.
                * 
          * * 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; @@ -2002,62 +1734,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(); @@ -2071,15 +1782,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) { @@ -2093,25 +1800,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; } @@ -2123,15 +1822,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) { @@ -2145,73 +1840,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); } @@ -2221,12 +1898,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(); } @@ -2235,16 +1912,16 @@ 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 { - return new ChannelPartnerLink(input, extensionRegistry); - } - }; + 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 { + return new ChannelPartnerLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2259,4 +1936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChannelPartnerLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java index 3636c645..22e6e2e4 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java +++ b/owl-bot-staging/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.
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java index 28d798d3..86f86bab 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java index b4bbcbc1..81744ecc 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.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; /** - * - * *
            * 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 +22,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 +31,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag
              */
             BASIC(1),
             /**
          -   *
          -   *
              * 
              * Includes all fields.
              * 
          @@ -64,8 +42,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag ; /** - * - * *
              * The default / unset value.
              * The API will default to the BASIC view.
          @@ -75,8 +51,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 +60,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag
              */
             public static final int BASIC_VALUE = 1;
             /**
          -   *
          -   *
              * 
              * Includes all fields.
              * 
          @@ -96,6 +68,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 +93,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 +104,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 +134,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 +151,4 @@ private ChannelPartnerLinkView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ChannelPartnerLinkView) } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java new file mode 100644 index 00000000..9f20fa88 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java index 687c6357..d4c3394a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java +++ b/owl-bot-staging/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,31 +11,31 @@
            *
            * 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;
             }
          -
             private ChannelPartnerRepricingConfig(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -71,51 +54,45 @@ private ChannelPartnerRepricingConfig(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              name_ = s;
          -              break;
          +            name_ = s;
          +            break;
          +          }
          +          case 18: {
          +            com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null;
          +            if (repricingConfig_ != null) {
          +              subBuilder = repricingConfig_.toBuilder();
                       }
          -          case 18:
          -            {
          -              com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null;
          -              if (repricingConfig_ != null) {
          -                subBuilder = repricingConfig_.toBuilder();
          -              }
          -              repricingConfig_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(repricingConfig_);
          -                repricingConfig_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            repricingConfig_ = input.readMessage(com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(repricingConfig_);
          +              repricingConfig_ = subBuilder.buildPartial();
                       }
          -          case 26:
          -            {
          -              com.google.protobuf.Timestamp.Builder subBuilder = null;
          -              if (updateTime_ != null) {
          -                subBuilder = updateTime_.toBuilder();
          -              }
          -              updateTime_ =
          -                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(updateTime_);
          -                updateTime_ = subBuilder.buildPartial();
          -              }
           
          -              break;
          +            break;
          +          }
          +          case 26: {
          +            com.google.protobuf.Timestamp.Builder subBuilder = null;
          +            if (updateTime_ != null) {
          +              subBuilder = updateTime_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(updateTime_);
          +              updateTime_ = subBuilder.buildPartial();
                       }
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
          +            }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -123,33 +100,29 @@ private ChannelPartnerRepricingConfig(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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:
          @@ -157,7 +130,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 @@ -166,15 +138,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
              * Output only. Resource name of the ChannelPartnerRepricingConfig.
              * Format:
          @@ -182,15 +153,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 { @@ -201,17 +173,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.
              * 
          * - * - * .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 @@ -219,36 +186,25 @@ 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() { @@ -258,17 +214,13 @@ 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.
              * 
          * - * .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 @@ -276,17 +228,13 @@ 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.
              * 
          * - * .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 @@ -294,16 +242,13 @@ 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.
              * 
          * - * .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() { @@ -311,7 +256,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,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_); } @@ -346,10 +291,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -359,22 +306,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -403,104 +352,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).
          @@ -508,23 +449,21 @@ 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()
          @@ -532,15 +471,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -562,9 +502,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
          @@ -583,8 +523,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_;
          @@ -604,39 +543,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;
          @@ -644,8 +582,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();
          @@ -675,8 +612,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -688,8 +624,6 @@ public Builder mergeFrom(
           
               private java.lang.Object name_ = "";
               /**
          -     *
          -     *
                * 
                * Output only. Resource name of the ChannelPartnerRepricingConfig.
                * Format:
          @@ -697,13 +631,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; @@ -712,8 +646,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Output only. Resource name of the ChannelPartnerRepricingConfig.
                * Format:
          @@ -721,14 +653,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 { @@ -736,8 +669,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Output only. Resource name of the ChannelPartnerRepricingConfig.
                * Format:
          @@ -745,22 +676,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:
          @@ -768,18 +697,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:
          @@ -787,16 +713,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; @@ -804,61 +730,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.
                * 
          * - * - * .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) { @@ -874,16 +781,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.
                * 
          * - * - * .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) { @@ -897,24 +800,18 @@ 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; } @@ -926,16 +823,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.
                * 
          * - * - * .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) { @@ -949,67 +842,51 @@ 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_; @@ -1017,64 +894,45 @@ 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.
                * 
          * - * - * .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.
                * 
          * - * - * .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.
                * 
          * - * - * .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) { @@ -1090,19 +948,16 @@ 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.
                * 
          * - * - * .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(); @@ -1113,23 +968,19 @@ 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.
                * 
          * - * - * .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; } @@ -1141,17 +992,13 @@ 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.
                * 
          * - * - * .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) { @@ -1165,77 +1012,61 @@ 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.
                * 
          * - * - * .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.
                * 
          * - * - * .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.
                * 
          * - * - * .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); } @@ -1245,12 +1076,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(); } @@ -1259,16 +1090,16 @@ 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 { - return new ChannelPartnerRepricingConfig(input, extensionRegistry); - } - }; + 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 { + return new ChannelPartnerRepricingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,4 +1114,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java index 758747ae..f0ec049c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java +++ b/owl-bot-staging/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,71 @@ 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.
              * 
          * - * - * .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
              * [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.
              * 
          * - * .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.
              * 
          * - * .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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java index eb593803..4e11e3c1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +26,16 @@ 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; } - private CheckCloudIdentityAccountsExistRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +54,25 @@ private CheckCloudIdentityAccountsExistRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - domain_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + domain_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,40 +80,35 @@ private CheckCloudIdentityAccountsExistRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -143,30 +117,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 { @@ -177,14 +151,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 @@ -193,29 +164,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 { @@ -224,7 +195,6 @@ public com.google.protobuf.ByteString getDomainBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -266,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,145 +269,134 @@ 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].
              * 
          * * 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() + // Construct using com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,16 +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_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 @@ -470,8 +429,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(); @@ -482,51 +440,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(); @@ -554,9 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -568,21 +519,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; @@ -591,22 +540,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 { @@ -614,64 +562,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; @@ -679,20 +620,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; @@ -701,21 +640,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 { @@ -723,68 +661,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); } @@ -794,32 +725,30 @@ 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 { - return new CheckCloudIdentityAccountsExistRequest(input, extensionRegistry); - } - }; + 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 { + return new CheckCloudIdentityAccountsExistRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,8 +760,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java index 1d92410b..79dcab18 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java similarity index 62% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java index 811fd477..f42b9214 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java +++ b/owl-bot-staging/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,33 +11,31 @@
            *
            * 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;
             }
          -
             private CheckCloudIdentityAccountsExistResponse(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -74,27 +55,22 @@ private CheckCloudIdentityAccountsExistResponse(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          -                cloudIdentityAccounts_ =
          -                    new java.util.ArrayList<
          -                        com.google.cloud.channel.v1.CloudIdentityCustomerAccount>();
          -                mutable_bitField0_ |= 0x00000001;
          -              }
          -              cloudIdentityAccounts_.add(
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(),
          -                      extensionRegistry));
          -              break;
          +          case 10: {
          +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          +              cloudIdentityAccounts_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000001;
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            cloudIdentityAccounts_.add(
          +                input.readMessage(com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(), extensionRegistry));
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -102,7 +78,8 @@ private CheckCloudIdentityAccountsExistResponse(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   cloudIdentityAccounts_ = java.util.Collections.unmodifiableList(cloudIdentityAccounts_);
          @@ -111,107 +88,80 @@ private CheckCloudIdentityAccountsExistResponse(
                 makeExtensionsImmutable();
               }
             }
          -
          -  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; @@ -223,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 { for (int i = 0; i < cloudIdentityAccounts_.size(); i++) { output.writeMessage(1, cloudIdentityAccounts_.get(i)); } @@ -237,9 +188,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -249,15 +199,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,105 +229,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].
          @@ -385,42 +326,39 @@ 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()
          +    // Construct using com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.newBuilder()
               private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
                   getCloudIdentityAccountsFieldBuilder();
                 }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -434,16 +372,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
          @@ -457,8 +393,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)) {
          @@ -477,51 +412,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()) {
          @@ -540,10 +470,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_);
                     }
          @@ -568,9 +497,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)
          -                e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -579,40 +506,28 @@ public Builder mergeFrom(
                 }
                 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 { @@ -620,15 +535,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) { @@ -638,18 +549,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 { @@ -657,15 +563,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) { @@ -682,19 +584,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()); @@ -705,18 +602,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(); @@ -730,15 +622,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) { @@ -755,15 +643,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) { @@ -777,19 +661,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()); @@ -800,22 +679,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); @@ -823,15 +698,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) { @@ -844,15 +715,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) { @@ -865,53 +732,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 { @@ -919,66 +772,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(), @@ -987,9 +819,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); } @@ -999,32 +831,30 @@ 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 { - return new CheckCloudIdentityAccountsExistResponse(input, extensionRegistry); - } - }; + 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 { + return new CheckCloudIdentityAccountsExistResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,8 +866,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java new file mode 100644 index 00000000..0c40efe8 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java index b186c5aa..2be273f3 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
             }
          -
             private CloudIdentityCustomerAccount(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -72,37 +55,35 @@ private CloudIdentityCustomerAccount(
                     case 0:
                       done = true;
                       break;
          -          case 8:
          -            {
          -              existing_ = input.readBool();
          -              break;
          -            }
          -          case 16:
          -            {
          -              owned_ = input.readBool();
          -              break;
          -            }
          -          case 26:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 8: {
           
          -              customerName_ = s;
          -              break;
          -            }
          -          case 34:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +            existing_ = input.readBool();
          +            break;
          +          }
          +          case 16: {
           
          -              customerCloudIdentityId_ = s;
          -              break;
          -            }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            owned_ = input.readBool();
          +            break;
          +          }
          +          case 26: {
          +            java.lang.String s = input.readStringRequireUtf8();
          +
          +            customerName_ = s;
          +            break;
          +          }
          +          case 34: {
          +            java.lang.String s = input.readStringRequireUtf8();
          +
          +            customerCloudIdentityId_ = s;
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -110,39 +91,34 @@ private CloudIdentityCustomerAccount(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -153,15 +129,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 @@ -172,8 +145,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.
          @@ -182,7 +153,6 @@ public boolean getOwned() {
              * 
          * * string customer_name = 3; - * * @return The customerName. */ @java.lang.Override @@ -191,15 +161,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.
          @@ -208,15 +177,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 { @@ -227,14 +197,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 @@ -243,29 +210,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 { @@ -274,7 +241,6 @@ public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,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 (existing_ != false) { output.writeBool(1, existing_); } @@ -309,10 +276,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_); @@ -328,18 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,9 +324,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; @@ -365,104 +339,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.
          @@ -470,23 +436,21 @@ 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()
          @@ -494,15 +458,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -518,9 +483,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
          @@ -539,8 +504,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_;
          @@ -553,39 +517,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;
          @@ -593,8 +556,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());
                 }
          @@ -628,8 +590,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -639,16 +600,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 @@ -656,52 +614,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 @@ -709,38 +658,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; @@ -748,8 +691,6 @@ public Builder clearOwned() { private java.lang.Object customerName_ = ""; /** - * - * *
                * If owned = true, the name of the customer that owns the Cloud Identity
                * account.
          @@ -758,13 +699,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; @@ -773,8 +714,6 @@ public java.lang.String getCustomerName() { } } /** - * - * *
                * If owned = true, the name of the customer that owns the Cloud Identity
                * account.
          @@ -783,14 +722,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 { @@ -798,8 +738,6 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { } } /** - * - * *
                * If owned = true, the name of the customer that owns the Cloud Identity
                * account.
          @@ -808,22 +746,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.
          @@ -832,18 +768,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.
          @@ -852,16 +785,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; @@ -869,20 +802,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; @@ -891,21 +822,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 { @@ -913,68 +843,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); } @@ -984,12 +907,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(); } @@ -998,16 +921,16 @@ 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 { - return new CloudIdentityCustomerAccount(input, extensionRegistry); - } - }; + 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 { + return new CloudIdentityCustomerAccount(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,4 +945,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java index 0aa5be0a..f8864423 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java index 2ff414b9..25190bba 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private CloudIdentityInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,76 +58,67 @@ private CloudIdentityInfo( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - customerType_ = rawValue; - break; - } - case 32: - { - isDomainVerified_ = input.readBool(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + customerType_ = rawValue; + break; + } + case 32: { - alternateEmail_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + isDomainVerified_ = input.readBool(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + alternateEmail_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); + phoneNumber_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); - primaryDomain_ = s; - break; - } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); + languageCode_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + primaryDomain_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); - adminConsoleUri_ = s; - break; + adminConsoleUri_ = s; + break; + } + case 178: { + com.google.cloud.channel.v1.EduData.Builder subBuilder = null; + if (eduData_ != null) { + subBuilder = eduData_.toBuilder(); } - case 178: - { - com.google.cloud.channel.v1.EduData.Builder subBuilder = null; - if (eduData_ != null) { - subBuilder = eduData_.toBuilder(); - } - eduData_ = - input.readMessage( - com.google.cloud.channel.v1.EduData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(eduData_); - eduData_ = subBuilder.buildPartial(); - } - - break; + eduData_ = input.readMessage(com.google.cloud.channel.v1.EduData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(eduData_); + eduData_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -152,41 +126,36 @@ private CloudIdentityInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
                * 
          @@ -195,8 +164,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ CUSTOMER_TYPE_UNSPECIFIED(0), /** - * - * *
                * Domain-owning customer which needs domain verification to use services.
                * 
          @@ -205,8 +172,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ DOMAIN(1), /** - * - * *
                * Team customer which needs email verification to use services.
                * 
          @@ -218,8 +183,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -228,8 +191,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.
                * 
          @@ -238,8 +199,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.
                * 
          @@ -248,6 +207,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( @@ -272,49 +232,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; @@ -334,52 +294,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 @@ -388,29 +334,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 { @@ -421,8 +367,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.
          @@ -432,7 +376,6 @@ public com.google.protobuf.ByteString getPrimaryDomainBytes() {
              * 
          * * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The isDomainVerified. */ @java.lang.Override @@ -443,14 +386,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 @@ -459,29 +399,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 { @@ -492,14 +432,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 @@ -508,29 +445,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 { @@ -541,14 +478,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 @@ -557,29 +491,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 { @@ -590,14 +524,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 @@ -606,29 +537,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 { @@ -639,14 +570,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 @@ -654,14 +582,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 @@ -669,8 +594,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.
              * 
          @@ -683,7 +606,6 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -695,10 +617,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) { @@ -731,13 +652,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_); @@ -755,7 +676,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -765,24 +687,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -800,7 +728,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; @@ -818,127 +747,118 @@ 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() @@ -946,15 +866,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -982,9 +903,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 @@ -1003,8 +924,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_; @@ -1025,39 +945,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; @@ -1126,93 +1045,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; @@ -1220,20 +1119,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; @@ -1242,21 +1139,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 { @@ -1264,70 +1160,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.
          @@ -1337,7 +1224,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 @@ -1345,8 +1231,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.
          @@ -1356,19 +1240,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.
          @@ -1378,11 +1259,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; @@ -1390,20 +1270,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; @@ -1412,21 +1290,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 { @@ -1434,61 +1311,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; @@ -1496,20 +1366,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; @@ -1518,21 +1386,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 { @@ -1540,61 +1407,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; @@ -1602,20 +1462,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; @@ -1624,21 +1482,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 { @@ -1646,61 +1503,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; @@ -1708,20 +1558,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; @@ -1730,21 +1578,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 { @@ -1752,61 +1599,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; @@ -1814,47 +1654,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.
                * 
          @@ -1875,15 +1702,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(); @@ -1894,8 +1720,6 @@ public Builder setEduData(com.google.cloud.channel.v1.EduData.Builder builderFor return this; } /** - * - * *
                * Edu information about the customer.
                * 
          @@ -1906,9 +1730,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; } @@ -1920,8 +1742,6 @@ public Builder mergeEduData(com.google.cloud.channel.v1.EduData value) { return this; } /** - * - * *
                * Edu information about the customer.
                * 
          @@ -1940,8 +1760,6 @@ public Builder clearEduData() { return this; } /** - * - * *
                * Edu information about the customer.
                * 
          @@ -1949,13 +1767,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.
                * 
          @@ -1966,14 +1782,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.
                * 
          @@ -1981,24 +1794,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); } @@ -2008,12 +1818,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(); } @@ -2022,16 +1832,16 @@ 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 { - return new CloudIdentityInfo(input, extensionRegistry); - } - }; + 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 { + return new CloudIdentityInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2046,4 +1856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CloudIdentityInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java similarity index 77% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java index 16e283f8..edf9e82c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java index ec935bd5..280a64d6 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private CommitmentSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,59 +52,52 @@ private CommitmentSettings( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; - if (renewalSettings_ != null) { - subBuilder = renewalSettings_.toBuilder(); - } - renewalSettings_ = - input.readMessage( - com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(renewalSettings_); - renewalSettings_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; + if (renewalSettings_ != null) { + subBuilder = renewalSettings_.toBuilder(); + } + renewalSettings_ = input.readMessage(com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(renewalSettings_); + renewalSettings_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,40 +105,34 @@ private CommitmentSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -169,15 +140,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 @@ -185,14 +152,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() { @@ -202,15 +166,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 @@ -218,15 +178,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 @@ -234,14 +190,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() { @@ -251,16 +204,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 @@ -268,34 +216,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() { @@ -303,7 +240,6 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -335,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -351,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -399,127 +341,118 @@ 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() @@ -527,15 +460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +495,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 @@ -582,8 +516,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 { @@ -607,39 +540,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; @@ -688,35 +620,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() { @@ -727,14 +648,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) { @@ -750,16 +668,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(); @@ -770,20 +686,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; } @@ -795,14 +708,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) { @@ -816,59 +726,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_; @@ -876,35 +775,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() { @@ -915,14 +803,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) { @@ -938,16 +823,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(); @@ -958,20 +841,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; } @@ -983,14 +863,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) { @@ -1004,59 +881,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_; @@ -1064,58 +930,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) { @@ -1131,15 +978,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) { @@ -1153,23 +996,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; } @@ -1181,15 +1018,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) { @@ -1203,71 +1036,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); } @@ -1277,12 +1094,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(); } @@ -1291,16 +1108,16 @@ 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 { - return new CommitmentSettings(input, extensionRegistry); - } - }; + 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 { + return new CommitmentSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1315,4 +1132,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CommitmentSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java index 5c2ed7df..15f94c1a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java new file mode 100644 index 00000000..d32b91cb --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java index cb1a2ae7..cd54e60c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private Constraints( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,29 +52,26 @@ private Constraints( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.CustomerConstraints.Builder subBuilder = null; - if (customerConstraints_ != null) { - subBuilder = customerConstraints_.toBuilder(); - } - customerConstraints_ = - input.readMessage( - com.google.cloud.channel.v1.CustomerConstraints.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customerConstraints_); - customerConstraints_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.channel.v1.CustomerConstraints.Builder subBuilder = null; + if (customerConstraints_ != null) { + subBuilder = customerConstraints_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + customerConstraints_ = input.readMessage(com.google.cloud.channel.v1.CustomerConstraints.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customerConstraints_); + customerConstraints_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,39 +79,34 @@ private Constraints( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -138,25 +114,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.
              * 
          @@ -164,13 +133,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; @@ -182,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 (customerConstraints_ != null) { output.writeMessage(1, getCustomerConstraints()); } @@ -196,7 +164,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,7 +175,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); @@ -215,7 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -237,127 +207,118 @@ 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() @@ -365,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +349,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 @@ -408,8 +370,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 { @@ -423,39 +384,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; @@ -498,47 +458,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.
                * 
          @@ -559,8 +506,6 @@ public Builder setCustomerConstraints(com.google.cloud.channel.v1.CustomerConstr return this; } /** - * - * *
                * Represents constraints required to purchase the Offer for a customer.
                * 
          @@ -579,8 +524,6 @@ public Builder setCustomerConstraints( return this; } /** - * - * *
                * Represents constraints required to purchase the Offer for a customer.
                * 
          @@ -591,9 +534,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; } @@ -605,8 +546,6 @@ public Builder mergeCustomerConstraints(com.google.cloud.channel.v1.CustomerCons return this; } /** - * - * *
                * Represents constraints required to purchase the Offer for a customer.
                * 
          @@ -625,8 +564,6 @@ public Builder clearCustomerConstraints() { return this; } /** - * - * *
                * Represents constraints required to purchase the Offer for a customer.
                * 
          @@ -634,32 +571,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.
                * 
          @@ -667,24 +598,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); } @@ -694,12 +622,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(); } @@ -708,16 +636,16 @@ 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 { - return new Constraints(input, extensionRegistry); - } - }; + 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 { + return new Constraints(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -732,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Constraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java index 6f8b79bb..94bf826d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java index 804fdf44..26e29501 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private ContactInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,55 +58,49 @@ private ContactInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - firstName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + firstName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - lastName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + lastName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - email_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + title_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - phone_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + phone_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,39 +108,34 @@ private ContactInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -172,29 +144,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 { @@ -205,14 +177,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 @@ -221,29 +190,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 { @@ -254,15 +223,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 @@ -271,30 +237,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 { @@ -305,8 +271,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
          @@ -314,7 +278,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
              * 
          * * string email = 5; - * * @return The email. */ @java.lang.Override @@ -323,15 +286,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
          @@ -339,15 +301,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 { @@ -358,14 +321,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 @@ -374,29 +334,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 { @@ -407,14 +367,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 @@ -423,29 +380,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 { @@ -454,7 +411,6 @@ public com.google.protobuf.ByteString getPhoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +422,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -520,19 +477,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -561,127 +524,118 @@ 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() @@ -689,15 +643,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -717,9 +672,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 @@ -738,8 +693,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_; @@ -754,39 +708,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; @@ -850,20 +803,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; @@ -872,21 +823,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 { @@ -894,61 +844,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; @@ -956,20 +899,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; @@ -978,21 +919,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 { @@ -1000,61 +940,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; @@ -1062,21 +995,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; @@ -1085,22 +1016,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 { @@ -1108,64 +1038,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; @@ -1173,8 +1096,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
          @@ -1182,13 +1103,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; @@ -1197,8 +1118,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
          @@ -1206,14 +1125,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 { @@ -1221,8 +1141,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
          @@ -1230,22 +1148,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
          @@ -1253,18 +1169,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
          @@ -1272,16 +1185,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; @@ -1289,20 +1202,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; @@ -1311,21 +1222,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 { @@ -1333,61 +1243,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; @@ -1395,20 +1298,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; @@ -1417,21 +1318,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 { @@ -1439,68 +1339,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); } @@ -1510,12 +1403,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(); } @@ -1524,16 +1417,16 @@ 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 { - return new ContactInfo(input, extensionRegistry); - } - }; + 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 { + return new ContactInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1548,4 +1441,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ContactInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java index 37e36940..4d6d1732 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java index c308cc0f..dae66757 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private CreateChannelPartnerLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,36 +53,32 @@ private CreateChannelPartnerLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; + if (channelPartnerLink_ != null) { + subBuilder = channelPartnerLink_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; - if (channelPartnerLink_ != null) { - subBuilder = channelPartnerLink_.toBuilder(); - } - channelPartnerLink_ = - input.readMessage( - com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channelPartnerLink_); - channelPartnerLink_ = subBuilder.buildPartial(); - } - - break; + channelPartnerLink_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channelPartnerLink_); + channelPartnerLink_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,33 +86,29 @@ private CreateChannelPartnerLinkRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
          @@ -142,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -151,15 +124,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
              * Required. Create a channel partner link for the provided reseller account's
              * resource name.
          @@ -167,15 +139,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 { @@ -186,18 +159,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 @@ -205,38 +173,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() { @@ -244,7 +201,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +233,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +244,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,127 +281,117 @@ 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]
              * 
          * * 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() @@ -450,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,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_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 @@ -495,8 +445,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_; @@ -511,39 +460,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; @@ -551,8 +499,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(); @@ -579,8 +526,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -592,8 +538,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
                * Required. Create a channel partner link for the provided reseller account's
                * resource name.
          @@ -601,13 +545,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; @@ -616,8 +560,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. Create a channel partner link for the provided reseller account's
                * resource name.
          @@ -625,14 +567,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 { @@ -640,8 +583,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. Create a channel partner link for the provided reseller account's
                * resource name.
          @@ -649,22 +590,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.
          @@ -672,18 +611,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.
          @@ -691,16 +627,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; @@ -708,64 +644,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) { @@ -781,17 +698,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) { @@ -805,25 +718,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; } @@ -835,17 +742,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) { @@ -859,78 +762,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); } @@ -940,12 +826,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(); } @@ -954,16 +840,16 @@ 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 { - return new CreateChannelPartnerLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateChannelPartnerLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -978,4 +864,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java index a41b0d46..6772bdae 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java similarity index 59% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java index b4a7ef37..9198da0c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/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,33 +11,31 @@
            *
            * 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;
             }
          -
             private CreateChannelPartnerRepricingConfigRequest(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -73,37 +54,32 @@ private CreateChannelPartnerRepricingConfigRequest(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              parent_ = s;
          -              break;
          +            parent_ = s;
          +            break;
          +          }
          +          case 18: {
          +            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
          +            if (channelPartnerRepricingConfig_ != null) {
          +              subBuilder = channelPartnerRepricingConfig_.toBuilder();
                       }
          -          case 18:
          -            {
          -              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
          -              if (channelPartnerRepricingConfig_ != null) {
          -                subBuilder = channelPartnerRepricingConfig_.toBuilder();
          -              }
          -              channelPartnerRepricingConfig_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
          -                      extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(channelPartnerRepricingConfig_);
          -                channelPartnerRepricingConfig_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            channelPartnerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(channelPartnerRepricingConfig_);
          +              channelPartnerRepricingConfig_ = subBuilder.buildPartial();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -111,43 +87,36 @@ private CreateChannelPartnerRepricingConfigRequest(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -156,33 +125,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:
              * 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 { @@ -193,16 +160,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 @@ -210,44 +172,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; @@ -259,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,9 +228,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,20 +239,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -329,105 +276,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].
          @@ -435,40 +373,38 @@ 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()
          +    // Construct using com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.newBuilder()
               private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -484,22 +420,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);
                 }
          @@ -508,8 +441,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_;
          @@ -524,51 +456,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();
          @@ -595,9 +522,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)
          -                e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -609,24 +534,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:
                * 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; @@ -635,25 +556,22 @@ 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 { @@ -661,138 +579,102 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * 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(); @@ -806,15 +688,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) { @@ -828,25 +706,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; } @@ -858,15 +728,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) { @@ -880,73 +746,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); } @@ -956,33 +804,30 @@ 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 { - return new CreateChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -994,8 +839,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java index f10883ed..e97fc97a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java @@ -1,100 +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 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java index 38465f93..2bd92f90 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private CreateCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +53,32 @@ private CreateCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; + if (customerRepricingConfig_ != null) { + subBuilder = customerRepricingConfig_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; - if (customerRepricingConfig_ != null) { - subBuilder = customerRepricingConfig_.toBuilder(); - } - customerRepricingConfig_ = - input.readMessage( - com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customerRepricingConfig_); - customerRepricingConfig_ = subBuilder.buildPartial(); - } - - break; + customerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customerRepricingConfig_); + customerRepricingConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,42 +86,35 @@ private CreateCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -154,32 +123,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 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 { @@ -190,16 +157,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 @@ -207,43 +169,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; @@ -255,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,8 +225,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,127 +273,117 @@ 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].
              * 
          * * 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() @@ -450,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,14 +416,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(); } @@ -496,8 +437,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_; @@ -512,50 +452,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(); @@ -582,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,23 +530,19 @@ 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; @@ -621,24 +551,21 @@ 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 { @@ -646,70 +573,57 @@ 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}
                * 
          * - * - * string parent = 1 [(.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; @@ -717,61 +631,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(); @@ -785,15 +679,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) { @@ -807,25 +697,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; } @@ -837,15 +719,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) { @@ -859,73 +737,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); } @@ -935,32 +795,30 @@ 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 { - return new CreateCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,8 +830,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..09d68544 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,58 @@ +// 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java index 5a3741eb..6ec3b680 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private CreateCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateCustomerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.Customer.Builder subBuilder = null; + if (customer_ != null) { + subBuilder = customer_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.Customer.Builder subBuilder = null; - if (customer_ != null) { - subBuilder = customer_.toBuilder(); - } - customer_ = - input.readMessage( - com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customer_); - customer_ = subBuilder.buildPartial(); - } - - break; + customer_ = input.readMessage(com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customer_); + customer_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,40 +86,35 @@ private CreateCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -149,30 +123,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 { @@ -183,15 +157,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 @@ -199,32 +169,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() { @@ -232,7 +193,6 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -264,7 +225,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -310,126 +273,117 @@ 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]
              * 
          * * 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() @@ -437,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +416,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 @@ -482,8 +437,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_; @@ -498,39 +452,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; @@ -538,8 +491,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(); @@ -566,8 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CreateCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CreateCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,21 +530,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}
                * 
          * * 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; @@ -602,22 +551,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}
                * 
          * * 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 { @@ -625,64 +573,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}
                * 
          * * 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; @@ -690,58 +631,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) { @@ -757,17 +679,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(); @@ -778,23 +697,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; } @@ -806,15 +719,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) { @@ -828,71 +737,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); } @@ -902,12 +795,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(); } @@ -916,16 +809,16 @@ 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 { - return new CreateCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -940,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java index 4a6f5102..64bae748 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java +++ b/owl-bot-staging/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}
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java index ead8cee5..2ef63375 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.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.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,15 +26,16 @@ 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; } - private CreateEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateEntitlementRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.Entitlement.Builder subBuilder = null; + if (entitlement_ != null) { + subBuilder = entitlement_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.Entitlement.Builder subBuilder = null; - if (entitlement_ != null) { - subBuilder = entitlement_.toBuilder(); - } - entitlement_ = - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entitlement_); - entitlement_ = subBuilder.buildPartial(); - } - - break; + entitlement_ = input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entitlement_); + entitlement_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -160,33 +131,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}
              * 
          * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -197,16 +166,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 @@ -214,34 +178,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() { @@ -251,8 +204,6 @@ 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.
          @@ -266,7 +217,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(
              * 
          * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -275,15 +225,14 @@ 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.
          @@ -297,15 +246,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 { @@ -314,7 +264,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -349,7 +299,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_); @@ -362,20 +313,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,126 +354,117 @@ 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]
              * 
          * * 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() @@ -528,15 +472,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +499,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 @@ -575,8 +520,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_; @@ -592,39 +536,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; @@ -632,8 +575,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(); @@ -664,8 +606,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CreateEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CreateEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -677,24 +618,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}
                * 
          * - * - * string parent = 1 [(.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; @@ -703,25 +640,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}
                * 
          * - * - * string parent = 1 [(.google.api.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 { @@ -729,73 +663,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}
                * 
          * - * - * string parent = 1 [(.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; @@ -803,58 +724,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) { @@ -870,17 +772,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(); @@ -891,23 +790,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; } @@ -919,15 +812,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) { @@ -941,64 +830,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_; @@ -1006,8 +879,6 @@ 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.
          @@ -1021,13 +892,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; @@ -1036,8 +907,6 @@ 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.
          @@ -1051,14 +920,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 { @@ -1066,8 +936,6 @@ 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.
          @@ -1081,22 +949,20 @@ 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.
          @@ -1110,18 +976,15 @@ 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.
          @@ -1135,23 +998,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); } @@ -1161,12 +1024,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(); } @@ -1175,16 +1038,16 @@ 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 { - return new CreateEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1062,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java index 75ba5ddf..6837aab9 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java @@ -1,105 +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 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 complete.
          @@ -113,13 +72,10 @@ 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.
          @@ -133,8 +89,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java index c2138a65..15a4bf7d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java +++ b/owl-bot-staging/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,15 +31,16 @@ 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; } - private Customer( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,139 +59,120 @@ private Customer( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - orgDisplayName_ = s; - break; - } - case 26: - { - com.google.type.PostalAddress.Builder subBuilder = null; - if (orgPostalAddress_ != null) { - subBuilder = orgPostalAddress_.toBuilder(); - } - orgPostalAddress_ = - input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(orgPostalAddress_); - orgPostalAddress_ = subBuilder.buildPartial(); - } - - break; + orgDisplayName_ = s; + break; + } + case 26: { + com.google.type.PostalAddress.Builder subBuilder = null; + if (orgPostalAddress_ != null) { + subBuilder = orgPostalAddress_.toBuilder(); } - case 34: - { - com.google.cloud.channel.v1.ContactInfo.Builder subBuilder = null; - if (primaryContactInfo_ != null) { - subBuilder = primaryContactInfo_.toBuilder(); - } - primaryContactInfo_ = - input.readMessage( - com.google.cloud.channel.v1.ContactInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryContactInfo_); - primaryContactInfo_ = subBuilder.buildPartial(); - } - - break; + orgPostalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(orgPostalAddress_); + orgPostalAddress_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - alternateEmail_ = s; - break; + break; + } + case 34: { + com.google.cloud.channel.v1.ContactInfo.Builder subBuilder = null; + if (primaryContactInfo_ != null) { + subBuilder = primaryContactInfo_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; + primaryContactInfo_ = input.readMessage(com.google.cloud.channel.v1.ContactInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryContactInfo_); + primaryContactInfo_ = subBuilder.buildPartial(); } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + alternateEmail_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + case 58: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - cloudIdentityId_ = s; - break; + break; + } + case 66: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; + cloudIdentityId_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + case 98: { + com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; + if (cloudIdentityInfo_ != null) { + subBuilder = cloudIdentityInfo_.toBuilder(); } - case 98: - { - com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; - if (cloudIdentityInfo_ != null) { - subBuilder = cloudIdentityInfo_.toBuilder(); - } - cloudIdentityInfo_ = - input.readMessage( - com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cloudIdentityInfo_); - cloudIdentityInfo_ = subBuilder.buildPartial(); - } - - break; + cloudIdentityInfo_ = input.readMessage(com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cloudIdentityInfo_); + cloudIdentityInfo_ = subBuilder.buildPartial(); } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - channelPartnerId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + + channelPartnerId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -216,40 +180,35 @@ private Customer( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -258,30 +217,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 { @@ -292,14 +251,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 @@ -308,29 +264,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 { @@ -341,8 +297,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
          @@ -350,10 +304,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 @@ -361,8 +312,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
          @@ -370,21 +319,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
          @@ -392,9 +334,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() { @@ -404,14 +344,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 @@ -419,25 +356,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.
              * 
          @@ -452,8 +382,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
          @@ -463,7 +391,6 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB
              * 
          * * string alternate_email = 5; - * * @return The alternateEmail. */ @java.lang.Override @@ -472,15 +399,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
          @@ -490,15 +416,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 { @@ -509,15 +436,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 @@ -526,30 +450,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 { @@ -560,15 +484,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 @@ -576,15 +496,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 @@ -592,14 +508,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() { @@ -609,15 +522,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 @@ -625,15 +534,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 @@ -641,14 +546,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() { @@ -658,15 +560,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 @@ -675,30 +574,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 { @@ -709,8 +608,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
          @@ -718,7 +615,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() {
              * 
          * * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -727,15 +623,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
          @@ -743,15 +638,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 { @@ -762,17 +658,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 @@ -780,36 +671,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() { @@ -819,15 +699,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 @@ -836,30 +713,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 { @@ -868,7 +745,6 @@ public com.google.protobuf.ByteString getChannelPartnerIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -880,7 +756,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -933,10 +810,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_); @@ -945,10 +824,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_); @@ -957,7 +838,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_); @@ -970,40 +852,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1054,126 +948,118 @@ 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() @@ -1181,15 +1067,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1241,9 +1128,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 @@ -1303,39 +1190,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; @@ -1418,21 +1304,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; @@ -1441,22 +1325,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 { @@ -1464,64 +1347,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; @@ -1529,20 +1405,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; @@ -1551,21 +1425,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 { @@ -1573,61 +1446,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; @@ -1635,13 +1501,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
          @@ -1649,18 +1510,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
          @@ -1668,24 +1524,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
          @@ -1693,9 +1542,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) { @@ -1711,8 +1558,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
          @@ -1720,11 +1565,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(); @@ -1735,8 +1579,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
          @@ -1744,17 +1586,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; } @@ -1766,8 +1604,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
          @@ -1775,9 +1611,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) { @@ -1791,8 +1625,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
          @@ -1800,18 +1632,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
          @@ -1819,22 +1647,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
          @@ -1842,22 +1665,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_; @@ -1865,47 +1683,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.
                * 
          @@ -1926,8 +1731,6 @@ public Builder setPrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo val return this; } /** - * - * *
                * Primary contact info.
                * 
          @@ -1946,8 +1749,6 @@ public Builder setPrimaryContactInfo( return this; } /** - * - * *
                * Primary contact info.
                * 
          @@ -1958,9 +1759,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; } @@ -1972,8 +1771,6 @@ public Builder mergePrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo v return this; } /** - * - * *
                * Primary contact info.
                * 
          @@ -1992,8 +1789,6 @@ public Builder clearPrimaryContactInfo() { return this; } /** - * - * *
                * Primary contact info.
                * 
          @@ -2001,13 +1796,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.
                * 
          @@ -2018,14 +1811,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.
                * 
          @@ -2033,17 +1823,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_; @@ -2051,8 +1838,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
          @@ -2062,13 +1847,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; @@ -2077,8 +1862,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
          @@ -2088,14 +1871,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 { @@ -2103,8 +1887,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
          @@ -2114,22 +1896,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
          @@ -2139,18 +1919,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
          @@ -2160,16 +1937,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; @@ -2177,21 +1954,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; @@ -2200,22 +1975,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 { @@ -2223,64 +1997,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; @@ -2288,58 +2055,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) { @@ -2355,17 +2103,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(); @@ -2376,21 +2121,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; } @@ -2402,15 +2143,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) { @@ -2424,64 +2161,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_; @@ -2489,58 +2210,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) { @@ -2556,17 +2258,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(); @@ -2577,21 +2276,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; } @@ -2603,15 +2298,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) { @@ -2625,64 +2316,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_; @@ -2690,21 +2365,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; @@ -2713,22 +2386,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 { @@ -2736,64 +2408,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; @@ -2801,8 +2466,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
          @@ -2810,13 +2473,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; @@ -2825,8 +2488,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
                * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
                * information, see
          @@ -2834,14 +2495,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 { @@ -2849,8 +2511,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
                * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
                * information, see
          @@ -2858,22 +2518,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
          @@ -2881,18 +2539,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
          @@ -2900,16 +2555,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; @@ -2917,61 +2572,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) { @@ -2987,16 +2623,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) { @@ -3010,24 +2642,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; } @@ -3039,16 +2665,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) { @@ -3062,67 +2684,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_; @@ -3130,21 +2736,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; @@ -3153,22 +2757,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 { @@ -3176,71 +2779,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); } @@ -3250,12 +2846,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(); } @@ -3264,16 +2860,16 @@ 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 { - return new Customer(input, extensionRegistry); - } - }; + 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 { + return new Customer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3288,4 +2884,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Customer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java index 66bbea20..05a359bc 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private CustomerConstraints( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +56,68 @@ private CustomerConstraints( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedRegions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - allowedRegions_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedRegions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + allowedRegions_.add(s); + break; + } + case 16: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + allowedCustomerTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 16: - { + allowedCustomerTypes_.add(rawValue); + break; + } + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { allowedCustomerTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } allowedCustomerTypes_.add(rawValue); - break; } - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - allowedCustomerTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - allowedCustomerTypes_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + promotionalOrderTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 24: - { + promotionalOrderTypes_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { promotionalOrderTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } promotionalOrderTypes_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - promotionalOrderTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - promotionalOrderTypes_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +125,8 @@ private CustomerConstraints( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedRegions_ = allowedRegions_.getUnmodifiableView(); @@ -162,61 +141,50 @@ private CustomerConstraints( makeExtensionsImmutable(); } } - - 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. */ @@ -224,69 +192,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 @@ -294,52 +243,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. */ @@ -347,55 +281,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 @@ -403,15 +321,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. */ @@ -420,31 +334,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. */ @@ -452,11 +359,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; @@ -468,7 +373,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); @@ -507,30 +413,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -540,15 +442,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; @@ -579,127 +481,118 @@ 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() @@ -707,15 +600,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -729,9 +623,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 @@ -750,8 +644,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(); @@ -776,39 +669,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; @@ -816,8 +708,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_; @@ -876,55 +767,44 @@ public Builder mergeFrom( } 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. */ @@ -932,90 +812,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() { @@ -1025,22 +895,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(); @@ -1048,8 +916,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_); @@ -1057,69 +924,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. @@ -1135,21 +979,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(); } @@ -1159,22 +997,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()); @@ -1183,16 +1015,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() { @@ -1202,32 +1029,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. */ @@ -1235,37 +1053,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 of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. * @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. */ @@ -1276,20 +1085,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); @@ -1299,8 +1104,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_); @@ -1308,48 +1112,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. */ @@ -1357,15 +1147,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. @@ -1381,20 +1167,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(); } @@ -1404,15 +1185,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. */ @@ -1426,15 +1203,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() { @@ -1444,30 +1217,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. */ @@ -1475,35 +1241,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 of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. * @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. */ @@ -1514,19 +1273,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); @@ -1534,9 +1290,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 { - return new CustomerConstraints(input, extensionRegistry); - } - }; + 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 { + return new CustomerConstraints(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1584,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerConstraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java similarity index 65% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java index 5107108d..df9fa18e 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java index 21783233..8613edae 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CustomerEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private CustomerEvent( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + customer_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - eventType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + eventType_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private CustomerEvent( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
                * 
          @@ -142,8 +118,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
                * Primary domain for customer was changed.
                * 
          @@ -152,8 +126,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY_DOMAIN_CHANGED(1), /** - * - * *
                * Primary domain of the customer has been verified.
                * 
          @@ -165,8 +137,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -175,8 +145,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
                * Primary domain for customer was changed.
                * 
          @@ -185,8 +153,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.
                * 
          @@ -195,6 +161,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( @@ -219,49 +186,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; @@ -281,15 +248,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 @@ -298,30 +262,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 { @@ -332,41 +296,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; @@ -378,7 +332,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -398,7 +353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -408,15 +364,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -438,127 +394,118 @@ 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() @@ -566,15 +513,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -586,9 +534,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 @@ -607,8 +555,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(); @@ -619,39 +566,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; @@ -698,21 +644,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; @@ -721,22 +665,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 { @@ -744,64 +687,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; @@ -809,65 +745,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. */ @@ -875,31 +797,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); } @@ -909,12 +828,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(); } @@ -923,16 +842,16 @@ 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 { - return new CustomerEvent(input, extensionRegistry); - } - }; + 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 { + return new CustomerEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java index 89016c0b..d637b572 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java similarity index 77% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java index e7501b72..3fe2fa84 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java index f0780aa1..96fc166c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private CustomerRepricingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private CustomerRepricingConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null; + if (repricingConfig_ != null) { + subBuilder = repricingConfig_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null; - if (repricingConfig_ != null) { - subBuilder = repricingConfig_.toBuilder(); - } - repricingConfig_ = - input.readMessage( - com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repricingConfig_); - repricingConfig_ = subBuilder.buildPartial(); - } - - break; + repricingConfig_ = input.readMessage(com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repricingConfig_); + repricingConfig_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private CustomerRepricingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -156,7 +129,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 @@ -165,15 +137,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:
          @@ -181,15 +152,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 { @@ -200,17 +172,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.
              * 
          * - * - * .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 @@ -218,36 +185,25 @@ 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() { @@ -257,17 +213,13 @@ 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.
              * 
          * - * .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 @@ -275,17 +227,13 @@ 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.
              * 
          * - * .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 @@ -293,16 +241,13 @@ 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.
              * 
          * - * .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() { @@ -310,7 +255,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -345,10 +290,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -358,22 +305,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -402,126 +351,117 @@ 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() @@ -529,15 +469,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +500,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 @@ -580,8 +521,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_; @@ -601,39 +541,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; @@ -641,8 +580,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(); @@ -672,8 +610,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.CustomerRepricingConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.CustomerRepricingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -685,8 +622,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
                * Output only. Resource name of the CustomerRepricingConfig.
                * Format:
          @@ -694,13 +629,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; @@ -709,8 +644,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Output only. Resource name of the CustomerRepricingConfig.
                * Format:
          @@ -718,14 +651,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 { @@ -733,8 +667,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Output only. Resource name of the CustomerRepricingConfig.
                * Format:
          @@ -742,22 +674,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:
          @@ -765,18 +695,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:
          @@ -784,16 +711,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; @@ -801,61 +728,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.
                * 
          * - * - * .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) { @@ -871,16 +779,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.
                * 
          * - * - * .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) { @@ -894,24 +798,18 @@ 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; } @@ -923,16 +821,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.
                * 
          * - * - * .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) { @@ -946,67 +840,51 @@ 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_; @@ -1014,64 +892,45 @@ 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.
                * 
          * - * - * .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.
                * 
          * - * - * .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.
                * 
          * - * - * .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) { @@ -1087,19 +946,16 @@ 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.
                * 
          * - * - * .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(); @@ -1110,23 +966,19 @@ 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.
                * 
          * - * - * .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; } @@ -1138,17 +990,13 @@ 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.
                * 
          * - * - * .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) { @@ -1162,77 +1010,61 @@ 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.
                * 
          * - * - * .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.
                * 
          * - * - * .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.
                * 
          * - * - * .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); } @@ -1242,12 +1074,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(); } @@ -1256,16 +1088,16 @@ 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 { - return new CustomerRepricingConfig(input, extensionRegistry); - } - }; + 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 { + return new CustomerRepricingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1280,4 +1112,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java index 8df6c80a..65a35fe1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java +++ b/owl-bot-staging/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,71 @@ 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.
              * 
          * - * - * .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
              * [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.
              * 
          * - * .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.
              * 
          * - * .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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java new file mode 100644 index 00000000..dab07b01 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java index 34180835..ef9aaeb2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private DeleteChannelPartnerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,20 +53,19 @@ private DeleteChannelPartnerRepricingConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,41 +73,34 @@ private DeleteChannelPartnerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -136,31 +109,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 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 { @@ -169,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,145 +204,134 @@ 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() + // Construct using com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,22 +341,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); } @@ -405,8 +362,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; @@ -416,51 +372,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(); @@ -484,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,22 +447,18 @@ 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; @@ -522,23 +467,20 @@ 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 { @@ -546,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * 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); } @@ -623,33 +552,30 @@ 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 { - return new DeleteChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,8 +587,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..9774090c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.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 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java index f8bf0cb5..98619bef 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private DeleteCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,20 +53,19 @@ private DeleteCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,43 +73,36 @@ private DeleteCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -138,33 +111,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:
              * 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 { @@ -173,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +208,117 @@ 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].
              * 
          * * 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() @@ -365,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,14 +345,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(); } @@ -405,8 +366,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; @@ -416,50 +376,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(); @@ -483,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,24 +451,20 @@ 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; @@ -523,25 +473,22 @@ 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 { @@ -549,80 +496,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * 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); } @@ -632,32 +566,30 @@ 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 { - return new DeleteCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,8 +601,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..027220ff --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java index 30204376..78c937e1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private DeleteCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteCustomerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ 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].
              * 
          * * 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() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,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 @@ -397,8 +362,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; @@ -408,39 +372,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; @@ -448,8 +411,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(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.DeleteCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.DeleteCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,22 +447,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; @@ -510,23 +467,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 { @@ -534,74 +488,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); } @@ -611,12 +552,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(); } @@ -625,16 +566,16 @@ 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 { - return new DeleteCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.DeleteCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java new file mode 100644 index 00000000..a7b6bdb9 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java index cf2f7b89..42201edc 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private EduData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private EduData( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - instituteType_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + instituteType_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - instituteSize_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + instituteSize_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - website_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + website_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,41 +87,36 @@ private EduData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
                * 
          @@ -150,8 +125,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ INSTITUTE_TYPE_UNSPECIFIED(0), /** - * - * *
                * Elementary/Secondary Schools & Districts
                * 
          @@ -160,8 +133,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ K12(1), /** - * - * *
                * Higher Education Universities & Colleges
                * 
          @@ -173,8 +144,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -183,8 +152,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTITUTE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
                * Elementary/Secondary Schools & Districts
                * 
          @@ -193,8 +160,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int K12_VALUE = 1; /** - * - * *
                * Higher Education Universities & Colleges
                * 
          @@ -203,6 +168,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( @@ -227,49 +193,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; @@ -287,18 +253,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.
                * 
          @@ -307,8 +270,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ INSTITUTE_SIZE_UNSPECIFIED(0), /** - * - * *
                * 1 - 100
                * 
          @@ -317,8 +278,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_1_100(1), /** - * - * *
                * 101 - 500
                * 
          @@ -327,8 +286,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_101_500(2), /** - * - * *
                * 501 - 1,000
                * 
          @@ -337,8 +294,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_501_1000(3), /** - * - * *
                * 1,001 - 2,000
                * 
          @@ -347,8 +302,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_1001_2000(4), /** - * - * *
                * 2,001 - 5,000
                * 
          @@ -357,8 +310,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_2001_5000(5), /** - * - * *
                * 5,001 - 10,000
                * 
          @@ -367,8 +318,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_5001_10000(6), /** - * - * *
                * 10,001 +
                * 
          @@ -380,8 +329,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -390,8 +337,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTITUTE_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
                * 1 - 100
                * 
          @@ -400,8 +345,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_1_100_VALUE = 1; /** - * - * *
                * 101 - 500
                * 
          @@ -410,8 +353,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_101_500_VALUE = 2; /** - * - * *
                * 501 - 1,000
                * 
          @@ -420,8 +361,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_501_1000_VALUE = 3; /** - * - * *
                * 1,001 - 2,000
                * 
          @@ -430,8 +369,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_1001_2000_VALUE = 4; /** - * - * *
                * 2,001 - 5,000
                * 
          @@ -440,8 +377,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_2001_5000_VALUE = 5; /** - * - * *
                * 5,001 - 10,000
                * 
          @@ -450,8 +385,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_5001_10000_VALUE = 6; /** - * - * *
                * 10,001 +
                * 
          @@ -460,6 +393,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( @@ -484,59 +418,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; @@ -556,86 +485,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 @@ -644,29 +552,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 { @@ -675,7 +583,6 @@ public com.google.protobuf.ByteString getWebsiteBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -687,15 +594,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_)) { @@ -710,15 +614,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_); @@ -731,7 +633,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); @@ -740,7 +642,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -763,126 +666,118 @@ 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() @@ -890,15 +785,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -912,9 +808,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 @@ -945,39 +841,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; @@ -1027,67 +922,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. */ @@ -1095,24 +974,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; @@ -1120,67 +996,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. */ @@ -1188,24 +1048,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; @@ -1213,20 +1070,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; @@ -1235,21 +1090,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 { @@ -1257,68 +1111,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); } @@ -1328,12 +1175,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(); } @@ -1342,16 +1189,16 @@ 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 { - return new EduData(input, extensionRegistry); - } - }; + 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 { + return new EduData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1366,4 +1213,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EduData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java index 03d095dc..3b7e5155 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java index 4ef3d393..984b7ba8 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private Entitlement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,171 +59,147 @@ private Entitlement( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - - offer_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 98: - { - com.google.cloud.channel.v1.CommitmentSettings.Builder subBuilder = null; - if (commitmentSettings_ != null) { - subBuilder = commitmentSettings_.toBuilder(); - } - commitmentSettings_ = - input.readMessage( - com.google.cloud.channel.v1.CommitmentSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitmentSettings_); - commitmentSettings_ = subBuilder.buildPartial(); - } - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + offer_ = s; + break; + } + case 98: { + com.google.cloud.channel.v1.CommitmentSettings.Builder subBuilder = null; + if (commitmentSettings_ != null) { + subBuilder = commitmentSettings_.toBuilder(); } - case 104: - { - int rawValue = input.readEnum(); + commitmentSettings_ = input.readMessage(com.google.cloud.channel.v1.CommitmentSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitmentSettings_); + commitmentSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 104: { + int rawValue = input.readEnum(); - provisioningState_ = rawValue; - break; + provisioningState_ = rawValue; + break; + } + case 130: { + com.google.cloud.channel.v1.ProvisionedService.Builder subBuilder = null; + if (provisionedService_ != null) { + subBuilder = provisionedService_.toBuilder(); + } + provisionedService_ = input.readMessage(com.google.cloud.channel.v1.ProvisionedService.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(provisionedService_); + provisionedService_ = subBuilder.buildPartial(); } - case 130: - { - com.google.cloud.channel.v1.ProvisionedService.Builder subBuilder = null; - if (provisionedService_ != null) { - subBuilder = provisionedService_.toBuilder(); - } - provisionedService_ = - input.readMessage( - com.google.cloud.channel.v1.ProvisionedService.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(provisionedService_); - provisionedService_ = subBuilder.buildPartial(); - } - break; + break; + } + case 144: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + suspensionReasons_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 144: - { + suspensionReasons_.add(rawValue); + break; + } + case 146: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { suspensionReasons_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } suspensionReasons_.add(rawValue); - break; } - case 146: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - suspensionReasons_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - suspensionReasons_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 154: - { - java.lang.String s = input.readStringRequireUtf8(); + input.popLimit(oldLimit); + break; + } + case 154: { + java.lang.String s = input.readStringRequireUtf8(); - purchaseOrderId_ = s; - break; + purchaseOrderId_ = s; + break; + } + case 170: { + com.google.cloud.channel.v1.TrialSettings.Builder subBuilder = null; + if (trialSettings_ != null) { + subBuilder = trialSettings_.toBuilder(); } - case 170: - { - com.google.cloud.channel.v1.TrialSettings.Builder subBuilder = null; - if (trialSettings_ != null) { - subBuilder = trialSettings_.toBuilder(); - } - trialSettings_ = - input.readMessage( - com.google.cloud.channel.v1.TrialSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trialSettings_); - trialSettings_ = subBuilder.buildPartial(); - } - - break; + trialSettings_ = input.readMessage(com.google.cloud.channel.v1.TrialSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trialSettings_); + trialSettings_ = subBuilder.buildPartial(); } - case 186: - { - com.google.cloud.channel.v1.AssociationInfo.Builder subBuilder = null; - if (associationInfo_ != null) { - subBuilder = associationInfo_.toBuilder(); - } - associationInfo_ = - input.readMessage( - com.google.cloud.channel.v1.AssociationInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(associationInfo_); - associationInfo_ = subBuilder.buildPartial(); - } - break; + break; + } + case 186: { + com.google.cloud.channel.v1.AssociationInfo.Builder subBuilder = null; + if (associationInfo_ != null) { + subBuilder = associationInfo_.toBuilder(); } - case 210: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - parameters_.add( - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); - break; + associationInfo_ = input.readMessage(com.google.cloud.channel.v1.AssociationInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(associationInfo_); + associationInfo_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 210: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + parameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + parameters_.add( + input.readMessage(com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -248,7 +207,8 @@ private Entitlement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { suspensionReasons_ = java.util.Collections.unmodifiableList(suspensionReasons_); @@ -260,35 +220,29 @@ private Entitlement( makeExtensionsImmutable(); } } - - 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.
                * 
          @@ -297,8 +251,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ PROVISIONING_STATE_UNSPECIFIED(0), /** - * - * *
                * The entitlement is currently active.
                * 
          @@ -307,8 +259,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ ACTIVE(1), /** - * - * *
                * The entitlement is currently suspended.
                * 
          @@ -320,8 +270,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
                * Not used.
                * 
          @@ -330,8 +278,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROVISIONING_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
                * The entitlement is currently active.
                * 
          @@ -340,8 +286,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ public static final int ACTIVE_VALUE = 1; /** - * - * *
                * The entitlement is currently suspended.
                * 
          @@ -350,6 +294,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( @@ -374,14 +319,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; } } @@ -389,28 +330,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); } @@ -419,7 +360,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; @@ -437,18 +379,15 @@ private ProvisioningState(int value) { } /** - * - * *
              * 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.
                * 
          @@ -457,8 +396,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ SUSPENSION_REASON_UNSPECIFIED(0), /** - * - * *
                * Entitlement was manually suspended by the Reseller.
                * 
          @@ -467,8 +404,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ RESELLER_INITIATED(1), /** - * - * *
                * Trial ended.
                * 
          @@ -477,8 +412,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ TRIAL_ENDED(2), /** - * - * *
                * Entitlement renewal was canceled.
                * 
          @@ -487,8 +420,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.
          @@ -498,8 +429,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum
                */
               PENDING_TOS_ACCEPTANCE(4),
               /**
          -     *
          -     *
                * 
                * Other reasons (internal reasons, abuse, etc.).
                * 
          @@ -511,8 +440,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
                * Not used.
                * 
          @@ -521,8 +448,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.
                * 
          @@ -531,8 +456,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int RESELLER_INITIATED_VALUE = 1; /** - * - * *
                * Trial ended.
                * 
          @@ -541,8 +464,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRIAL_ENDED_VALUE = 2; /** - * - * *
                * Entitlement renewal was canceled.
                * 
          @@ -551,8 +472,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.
          @@ -562,8 +481,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum
                */
               public static final int PENDING_TOS_ACCEPTANCE_VALUE = 4;
               /**
          -     *
          -     *
                * 
                * Other reasons (internal reasons, abuse, etc.).
                * 
          @@ -572,6 +489,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( @@ -596,48 +514,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); } @@ -646,7 +558,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; @@ -666,15 +579,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 @@ -683,30 +593,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 { @@ -717,15 +627,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 @@ -733,15 +639,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 @@ -749,14 +651,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() { @@ -766,15 +665,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 @@ -782,15 +677,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 @@ -798,14 +689,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() { @@ -815,17 +703,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 @@ -834,32 +717,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 { @@ -870,15 +751,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 @@ -886,26 +764,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.
          @@ -921,58 +792,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 @@ -980,34 +831,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() { @@ -1017,51 +857,34 @@ 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 @@ -1069,16 +892,11 @@ 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. */ @@ -1087,33 +905,24 @@ 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. */ @@ -1121,14 +930,11 @@ 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
          @@ -1138,7 +944,6 @@ public int getSuspensionReasonsValue(int index) {
              * 
          * * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ @java.lang.Override @@ -1147,15 +952,14 @@ 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
          @@ -1165,15 +969,16 @@ 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 { @@ -1184,16 +989,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 @@ -1201,34 +1001,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() { @@ -1238,14 +1027,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 @@ -1253,25 +1039,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.
              * 
          @@ -1286,8 +1065,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
          @@ -1305,8 +1082,6 @@ public java.util.List getParametersList()
               return parameters_;
             }
             /**
          -   *
          -   *
              * 
              * Extended entitlement parameters. When creating an entitlement, valid
              * parameter names and values are defined in the
          @@ -1320,13 +1095,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
          @@ -1344,8 +1117,6 @@ public int getParametersCount() {
               return parameters_.size();
             }
             /**
          -   *
          -   *
              * 
              * Extended entitlement parameters. When creating an entitlement, valid
              * parameter names and values are defined in the
          @@ -1363,8 +1134,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
          @@ -1378,12 +1147,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;
          @@ -1395,7 +1164,8 @@ public final boolean isInitialized() {
             }
           
             @java.lang.Override
          -  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_);
          @@ -1412,9 +1182,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) {
          @@ -1452,49 +1220,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 += unknownFields.getSerializedSize();
               memoizedSize = size;
          @@ -1504,43 +1277,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 (!unknownFields.equals(other.unknownFields)) return false;
               return true;
             }
          @@ -1597,127 +1380,118 @@ 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() @@ -1725,17 +1499,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1795,9 +1569,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 @@ -1816,8 +1590,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) { @@ -1875,39 +1648,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; @@ -1977,10 +1749,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_); } @@ -2014,26 +1785,23 @@ public Builder mergeFrom( } 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; @@ -2042,22 +1810,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 { @@ -2065,64 +1832,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; @@ -2130,58 +1890,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) { @@ -2197,17 +1938,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(); @@ -2218,21 +1956,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; } @@ -2244,15 +1978,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) { @@ -2266,64 +1996,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_; @@ -2331,58 +2045,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) { @@ -2398,17 +2093,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(); @@ -2419,21 +2111,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; } @@ -2445,15 +2133,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) { @@ -2467,64 +2151,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_; @@ -2532,23 +2200,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; @@ -2557,24 +2221,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 { @@ -2582,70 +2243,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; @@ -2653,49 +2301,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.
          @@ -2717,8 +2352,6 @@ public Builder setCommitmentSettings(com.google.cloud.channel.v1.CommitmentSetti
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Commitment settings for a commitment-based Offer.
                * Required for commitment based offers.
          @@ -2738,8 +2371,6 @@ public Builder setCommitmentSettings(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Commitment settings for a commitment-based Offer.
                * Required for commitment based offers.
          @@ -2751,9 +2382,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;
                   }
          @@ -2765,8 +2394,6 @@ public Builder mergeCommitmentSettings(com.google.cloud.channel.v1.CommitmentSet
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Commitment settings for a commitment-based Offer.
                * Required for commitment based offers.
          @@ -2786,8 +2413,6 @@ public Builder clearCommitmentSettings() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Commitment settings for a commitment-based Offer.
                * Required for commitment based offers.
          @@ -2796,13 +2421,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.
          @@ -2810,19 +2433,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.
          @@ -2831,17 +2450,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_;
          @@ -2849,103 +2465,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; @@ -2953,58 +2539,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) { @@ -3020,15 +2587,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) { @@ -3042,23 +2605,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; } @@ -3070,15 +2627,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) { @@ -3092,73 +2645,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_); @@ -3166,69 +2701,46 @@ 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. @@ -3244,21 +2756,15 @@ 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(); } @@ -3268,22 +2774,16 @@ public Builder addSuspensionReasons( 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()); @@ -3292,16 +2792,11 @@ 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() { @@ -3311,32 +2806,23 @@ 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. */ @@ -3344,37 +2830,28 @@ 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 of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. * @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. */ @@ -3385,20 +2862,16 @@ 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); @@ -3409,8 +2882,6 @@ 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 @@ -3420,13 +2891,13 @@ public Builder addAllSuspensionReasonsValue(java.lang.Iterable * * 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; @@ -3435,8 +2906,6 @@ 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
          @@ -3446,14 +2915,15 @@ 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 { @@ -3461,8 +2931,6 @@ 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
          @@ -3472,22 +2940,20 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() {
                * 
          * * 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
          @@ -3497,18 +2963,15 @@ public Builder setPurchaseOrderId(java.lang.String value) {
                * 
          * * 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
          @@ -3518,16 +2981,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; @@ -3535,58 +2998,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) { @@ -3602,15 +3046,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) { @@ -3624,23 +3064,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; } @@ -3652,15 +3086,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) { @@ -3674,64 +3104,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_; @@ -3739,47 +3153,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.
                * 
          @@ -3800,8 +3201,6 @@ public Builder setAssociationInfo(com.google.cloud.channel.v1.AssociationInfo va return this; } /** - * - * *
                * Association information to other entitlements.
                * 
          @@ -3820,8 +3219,6 @@ public Builder setAssociationInfo( return this; } /** - * - * *
                * Association information to other entitlements.
                * 
          @@ -3832,9 +3229,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; } @@ -3846,8 +3241,6 @@ public Builder mergeAssociationInfo(com.google.cloud.channel.v1.AssociationInfo return this; } /** - * - * *
                * Association information to other entitlements.
                * 
          @@ -3866,8 +3259,6 @@ public Builder clearAssociationInfo() { return this; } /** - * - * *
                * Association information to other entitlements.
                * 
          @@ -3875,13 +3266,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.
                * 
          @@ -3892,14 +3281,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.
                * 
          @@ -3907,41 +3293,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
          @@ -3962,8 +3339,6 @@ public java.util.List getParametersList()
                 }
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -3984,8 +3359,6 @@ public int getParametersCount() {
                 }
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -4006,8 +3379,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
          @@ -4020,7 +3391,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();
          @@ -4034,8 +3406,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
          @@ -4060,8 +3430,6 @@ public Builder setParameters(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -4088,8 +3456,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
          @@ -4102,7 +3468,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();
          @@ -4116,8 +3483,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
          @@ -4130,7 +3495,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());
          @@ -4141,8 +3507,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
          @@ -4167,8 +3531,6 @@ public Builder addParameters(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -4185,7 +3547,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);
          @@ -4193,8 +3556,6 @@ public Builder addAllParameters(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -4218,8 +3579,6 @@ public Builder clearParameters() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -4243,8 +3602,6 @@ public Builder removeParameters(int index) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Extended entitlement parameters. When creating an entitlement, valid
                * parameter names and values are defined in the
          @@ -4257,12 +3614,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
          @@ -4275,16 +3631,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
          @@ -4297,8 +3651,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 {
          @@ -4306,8 +3660,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
          @@ -4321,12 +3673,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
          @@ -4339,13 +3689,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
          @@ -4358,30 +3707,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);
               }
           
          @@ -4391,12 +3737,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();
             }
          @@ -4405,16 +3751,16 @@ 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 {
          -          return new Entitlement(input, extensionRegistry);
          -        }
          -      };
          +  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 {
          +      return new Entitlement(input, extensionRegistry);
          +    }
          +  };
           
             public static com.google.protobuf.Parser parser() {
               return PARSER;
          @@ -4429,4 +3775,6 @@ public com.google.protobuf.Parser getParserForType() {
             public com.google.cloud.channel.v1.Entitlement getDefaultInstanceForType() {
               return DEFAULT_INSTANCE;
             }
          +
           }
          +
          diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
          similarity index 73%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
          index ab4d32a0..d36860e3 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
          +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private EntitlementEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private EntitlementEvent( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + entitlement_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - eventType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + eventType_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private EntitlementEvent( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
                * 
          @@ -142,8 +118,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
                * A new entitlement was created.
                * 
          @@ -152,8 +126,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
          @@ -164,8 +136,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
                */
               PRICE_PLAN_SWITCHED(3),
               /**
          -     *
          -     *
                * 
                * Annual commitment for a commit plan was changed.
                * 
          @@ -174,8 +144,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ COMMITMENT_CHANGED(4), /** - * - * *
                * An annual entitlement was renewed.
                * 
          @@ -184,8 +152,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RENEWED(5), /** - * - * *
                * Entitlement was suspended.
                * 
          @@ -194,8 +160,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SUSPENDED(6), /** - * - * *
                * Entitlement was unsuspended.
                * 
          @@ -204,8 +168,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVATED(7), /** - * - * *
                * Entitlement was cancelled.
                * 
          @@ -214,8 +176,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).
          @@ -225,8 +185,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
                */
               SKU_CHANGED(9),
               /**
          -     *
          -     *
                * 
                * The renewal settings of an entitlement has changed.
                * 
          @@ -235,8 +193,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_SETTING_CHANGED(10), /** - * - * *
                * Paid service has started on trial entitlement.
                * 
          @@ -245,8 +201,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PAID_SERVICE_STARTED(11), /** - * - * *
                * License was assigned to or revoked from a user.
                * 
          @@ -255,8 +209,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ LICENSE_ASSIGNMENT_CHANGED(12), /** - * - * *
                * License cap was changed for the entitlement.
                * 
          @@ -268,8 +220,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -278,8 +228,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
                * A new entitlement was created.
                * 
          @@ -288,8 +236,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
          @@ -300,8 +246,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.
                * 
          @@ -310,8 +254,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMITMENT_CHANGED_VALUE = 4; /** - * - * *
                * An annual entitlement was renewed.
                * 
          @@ -320,8 +262,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENEWED_VALUE = 5; /** - * - * *
                * Entitlement was suspended.
                * 
          @@ -330,8 +270,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUSPENDED_VALUE = 6; /** - * - * *
                * Entitlement was unsuspended.
                * 
          @@ -340,8 +278,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVATED_VALUE = 7; /** - * - * *
                * Entitlement was cancelled.
                * 
          @@ -350,8 +286,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).
          @@ -361,8 +295,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.
                * 
          @@ -371,8 +303,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.
                * 
          @@ -381,8 +311,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.
                * 
          @@ -391,8 +319,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.
                * 
          @@ -401,6 +327,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( @@ -425,69 +352,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< + 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.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; @@ -507,15 +424,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 @@ -524,30 +438,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 { @@ -558,41 +472,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; @@ -604,12 +508,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_); } unknownFields.writeTo(output); @@ -624,9 +528,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -636,15 +540,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -666,127 +570,118 @@ 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() @@ -794,15 +689,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -814,9 +710,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 @@ -835,8 +731,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(); @@ -847,39 +742,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; @@ -926,21 +820,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; @@ -949,22 +841,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 { @@ -972,64 +863,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; @@ -1037,67 +921,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. */ @@ -1105,31 +973,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); } @@ -1139,12 +1004,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(); } @@ -1153,16 +1018,16 @@ 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 { - return new EntitlementEvent(input, extensionRegistry); - } - }; + 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 { + return new EntitlementEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1177,4 +1042,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EntitlementEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java similarity index 65% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java index 2292bc4a..976156ef 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java index 04858c84..6f192e3f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java +++ b/owl-bot-staging/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,152 +136,101 @@ 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.
              * 
          * - * - * 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 appears in
          @@ -351,13 +240,10 @@ public interface EntitlementOrBuilder
              * 
          * * 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
          @@ -367,79 +253,57 @@ public interface EntitlementOrBuilder
              * 
          * * 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 +313,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 +325,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 +342,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 +356,6 @@ public interface EntitlementOrBuilder
              */
             int getParametersCount();
             /**
          -   *
          -   *
              * 
              * Extended entitlement parameters. When creating an entitlement, valid
              * parameter names and values are defined in the
          @@ -511,11 +368,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 +383,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
          new file mode 100644
          index 00000000..97c98cfc
          --- /dev/null
          +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
          similarity index 68%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
          index a2314a3c..c2dce3f7 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
          +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.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.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,15 +26,16 @@ 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; } - private GetChannelPartnerLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetChannelPartnerLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private GetChannelPartnerLinkRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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}
          @@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -142,15 +118,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}
          @@ -158,15 +133,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 { @@ -177,47 +153,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; @@ -229,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -249,7 +210,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,15 +221,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -290,127 +252,117 @@ 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].
              * 
          * * 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() @@ -418,15 +370,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +391,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 @@ -459,8 +412,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(); @@ -471,39 +423,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; @@ -511,8 +462,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(); @@ -539,8 +489,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -552,8 +501,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}
          @@ -561,13 +508,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; @@ -576,8 +523,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}
          @@ -585,14 +530,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 { @@ -600,8 +546,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}
          @@ -609,22 +553,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}
          @@ -632,18 +574,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}
          @@ -651,16 +590,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; @@ -668,75 +607,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. */ @@ -744,33 +659,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); } @@ -780,12 +690,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(); } @@ -794,16 +704,16 @@ 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 { - return new GetChannelPartnerLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new GetChannelPartnerLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -818,4 +728,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java index a026f314..2eec289f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java similarity index 62% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java index a6ab884f..ae79c74c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private GetChannelPartnerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,20 +53,19 @@ private GetChannelPartnerRepricingConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,43 +73,36 @@ private GetChannelPartnerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -138,33 +111,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 { @@ -173,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,145 +208,134 @@ 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]
              * 
          * * 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() + // Construct using com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,16 +345,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 @@ -408,8 +366,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; @@ -419,51 +376,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(); @@ -487,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,24 +451,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; @@ -527,25 +473,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 { @@ -553,80 +496,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); } @@ -636,32 +566,30 @@ 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 { - return new GetChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -673,8 +601,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..b170d765 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java index d13d919a..73b1d5a4 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private GetCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private GetCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,43 +73,36 @@ private GetCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -137,33 +111,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 { @@ -172,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -208,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,127 +208,117 @@ 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].
              * 
          * * 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() @@ -364,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,14 +345,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(); } @@ -404,8 +366,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; @@ -415,39 +376,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; @@ -455,9 +415,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(); @@ -481,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,24 +451,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; @@ -521,25 +473,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 { @@ -547,80 +496,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); } @@ -630,13 +566,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(); } @@ -645,16 +580,16 @@ 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 { - return new GetCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,4 +604,6 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..44e5ca26 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java index a2ad01b6..8d50126b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private GetCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCustomerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -135,32 +110,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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ 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].
              * 
          * * 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() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -399,8 +364,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; @@ -410,39 +374,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; @@ -486,23 +449,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; @@ -511,24 +470,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 { @@ -536,77 +492,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); } @@ -616,12 +559,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(); } @@ -630,16 +573,16 @@ 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 { - return new GetCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java new file mode 100644 index 00000000..cc717e8f --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java index 2a831fc6..2c2271e9 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private GetEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetEntitlementRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,36 @@ private GetEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,126 +208,117 @@ 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].
              * 
          * * 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() @@ -362,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +345,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 @@ -401,8 +366,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; @@ -412,39 +376,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; @@ -452,8 +415,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(); @@ -477,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.GetEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.GetEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,24 +451,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; @@ -516,25 +473,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 { @@ -542,80 +496,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); } @@ -625,12 +566,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(); } @@ -639,16 +580,16 @@ 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 { - return new GetEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new GetEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java new file mode 100644 index 00000000..deac0b56 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java index ea93b36a..85d4a9b6 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.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.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,15 +28,16 @@ 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; } - private ImportCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,60 +56,54 @@ private ImportCustomerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - customerIdentityCase_ = 2; - customerIdentity_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - customerIdentityCase_ = 3; - customerIdentity_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + customerIdentityCase_ = 2; + customerIdentity_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + customerIdentityCase_ = 3; + customerIdentity_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - authToken_ = s; - break; - } - case 40: - { - overwriteIfExists_ = input.readBool(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + authToken_ = s; + break; + } + case 40: { - channelPartnerId_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + overwriteIfExists_ = input.readBool(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + channelPartnerId_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + customer_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -134,40 +111,35 @@ private ImportCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; } @@ -183,50 +155,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() { @@ -237,7 +200,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; @@ -246,24 +210,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; } @@ -275,28 +238,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() { @@ -307,7 +264,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; @@ -316,24 +274,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; } @@ -346,8 +303,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
          @@ -355,7 +310,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() {
              * 
          * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -364,15 +318,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
          @@ -380,15 +333,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 { @@ -399,8 +353,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
          @@ -409,7 +361,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ @java.lang.Override @@ -418,15 +369,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
          @@ -435,15 +385,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 { @@ -454,8 +405,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
          @@ -463,7 +412,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
              * 
          * * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The overwriteIfExists. */ @java.lang.Override @@ -474,8 +422,6 @@ 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
          @@ -483,7 +429,6 @@ public boolean getOverwriteIfExists() {
              * 
          * * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The channelPartnerId. */ @java.lang.Override @@ -492,15 +437,14 @@ 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
          @@ -508,15 +452,16 @@ 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 { @@ -527,18 +472,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 @@ -547,33 +487,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 { @@ -582,7 +520,6 @@ public com.google.protobuf.ByteString getCustomerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -594,7 +531,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -638,7 +576,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_); @@ -654,26 +593,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: @@ -694,7 +639,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; @@ -717,126 +663,117 @@ 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]
              * 
          * * 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() @@ -844,15 +781,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -872,9 +810,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 @@ -893,8 +831,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_; } @@ -915,39 +852,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; @@ -955,8 +891,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(); @@ -977,24 +912,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.unknownFields); onChanged(); @@ -1015,8 +947,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ImportCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ImportCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1025,12 +956,12 @@ public Builder mergeFrom( } 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() { @@ -1040,15 +971,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 @@ -1056,14 +985,11 @@ public boolean hasDomain() { return customerIdentityCase_ == 2; } /** - * - * *
                * Required. Customer domain.
                * 
          * * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ @java.lang.Override @@ -1073,7 +999,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; @@ -1084,25 +1011,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; } @@ -1112,35 +1038,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() { @@ -1152,22 +1073,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(); @@ -1175,14 +1094,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 @@ -1190,14 +1106,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 @@ -1207,7 +1120,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; @@ -1218,25 +1132,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; } @@ -1246,35 +1159,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() { @@ -1286,22 +1194,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(); @@ -1310,8 +1216,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
          @@ -1319,13 +1223,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; @@ -1334,8 +1238,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. The resource name of the reseller's account.
                * Parent takes the format: accounts/{account_id} or
          @@ -1343,14 +1245,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 { @@ -1358,8 +1261,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. The resource name of the reseller's account.
                * Parent takes the format: accounts/{account_id} or
          @@ -1367,22 +1268,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
          @@ -1390,18 +1289,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
          @@ -1409,16 +1305,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; @@ -1426,8 +1322,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
          @@ -1436,13 +1330,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; @@ -1451,8 +1345,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
          @@ -1461,14 +1353,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 { @@ -1476,8 +1369,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
          @@ -1486,22 +1377,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
          @@ -1510,18 +1399,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
          @@ -1530,25 +1416,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
          @@ -1556,7 +1440,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 @@ -1564,8 +1447,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
          @@ -1573,19 +1454,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
          @@ -1593,11 +1471,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; @@ -1605,8 +1482,6 @@ 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
          @@ -1614,13 +1489,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; @@ -1629,8 +1504,6 @@ 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
          @@ -1638,14 +1511,15 @@ 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 { @@ -1653,8 +1527,6 @@ 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
          @@ -1662,22 +1534,20 @@ public com.google.protobuf.ByteString getChannelPartnerIdBytes() {
                * 
          * * 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
          @@ -1685,18 +1555,15 @@ public Builder setChannelPartnerId(java.lang.String value) {
                * 
          * * 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
          @@ -1704,16 +1571,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; @@ -1721,24 +1588,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; @@ -1747,25 +1610,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 { @@ -1773,80 +1633,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); } @@ -1856,12 +1703,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(); } @@ -1870,16 +1717,16 @@ 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 { - return new ImportCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new ImportCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1894,4 +1741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ImportCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java index 0f23504c..f69c8a3c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +123,11 @@ 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
          @@ -182,13 +135,10 @@ public interface ImportCustomerRequestOrBuilder
              * 
          * * 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
          @@ -196,44 +146,34 @@ public interface ImportCustomerRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java index 4e894930..b3cb203e 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +27,16 @@ 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; } - private ListChannelPartnerLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,39 +55,36 @@ private ListChannelPartnerLinksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private ListChannelPartnerLinksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
          @@ -147,7 +122,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -156,15 +130,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 account for listing channel partner
              * links.
          @@ -172,15 +145,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 { @@ -191,8 +165,6 @@ 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).
          @@ -200,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -211,8 +182,6 @@ 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
          @@ -221,7 +190,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -230,15 +198,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 token for a page of results other than the first page.
              * Obtained using
          @@ -247,15 +214,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 { @@ -266,47 +234,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; @@ -318,7 +270,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -344,13 +297,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -360,17 +315,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,127 +354,117 @@ 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]
              * 
          * * 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() @@ -525,15 +472,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -549,9 +497,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 @@ -570,8 +518,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_; @@ -584,39 +531,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; @@ -624,8 +570,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(); @@ -659,8 +604,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,8 +616,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
                * Required. The resource name of the reseller account for listing channel partner
                * links.
          @@ -681,13 +623,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; @@ -696,8 +638,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. The resource name of the reseller account for listing channel partner
                * links.
          @@ -705,14 +645,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 { @@ -720,8 +661,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. The resource name of the reseller account for listing channel partner
                * links.
          @@ -729,22 +668,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 account for listing channel partner
                * links.
          @@ -752,18 +689,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 account for listing channel partner
                * links.
          @@ -771,25 +705,23 @@ 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 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).
          @@ -797,7 +729,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -805,8 +736,6 @@ 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).
          @@ -814,19 +743,16 @@ 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).
          @@ -834,11 +760,10 @@ 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; @@ -846,8 +771,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * Optional. A token for a page of results other than the first page.
                * Obtained using
          @@ -856,13 +779,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; @@ -871,8 +794,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * Optional. A token for a page of results other than the first page.
                * Obtained using
          @@ -881,14 +802,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 { @@ -896,8 +818,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * Optional. A token for a page of results other than the first page.
                * Obtained using
          @@ -906,22 +826,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 token for a page of results other than the first page.
                * Obtained using
          @@ -930,18 +848,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 token for a page of results other than the first page.
                * Obtained using
          @@ -950,16 +865,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; @@ -967,75 +882,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. */ @@ -1043,33 +934,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); } @@ -1079,12 +965,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(); } @@ -1093,16 +979,16 @@ 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 { - return new ListChannelPartnerLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1117,4 +1003,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java index d06af6b7..03856888 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.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 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.
          @@ -33,13 +15,10 @@ public interface ListChannelPartnerLinksRequestOrBuilder
              * 
          * * 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.
          @@ -47,14 +26,12 @@ public interface ListChannelPartnerLinksRequestOrBuilder
              * 
          * * 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).
          @@ -62,14 +39,11 @@ public interface ListChannelPartnerLinksRequestOrBuilder
              * 
          * * 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
          @@ -78,13 +52,10 @@ public interface ListChannelPartnerLinksRequestOrBuilder
              * 
          * * 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
          @@ -93,36 +64,26 @@ public interface ListChannelPartnerLinksRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java index d393be1a..77ab6187 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +26,16 @@ 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; } - private ListChannelPartnerLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,32 +55,28 @@ private ListChannelPartnerLinksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelPartnerLinks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - channelPartnerLinks_.add( - input.readMessage( - com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelPartnerLinks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + channelPartnerLinks_.add( + input.readMessage(com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListChannelPartnerLinksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelPartnerLinks_ = java.util.Collections.unmodifiableList(channelPartnerLinks_); @@ -115,27 +94,22 @@ private ListChannelPartnerLinksResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -143,13 +117,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.
              * 
          @@ -157,13 +128,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.
              * 
          @@ -175,8 +144,6 @@ public int getChannelPartnerLinksCount() { return channelPartnerLinks_.size(); } /** - * - * *
              * The Channel partner links for a reseller.
              * 
          @@ -188,8 +155,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int return channelPartnerLinks_.get(index); } /** - * - * *
              * The Channel partner links for a reseller.
              * 
          @@ -205,15 +170,12 @@ 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.
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,30 +184,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 to retrieve the next page of results.
              * 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 { @@ -254,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < channelPartnerLinks_.size(); i++) { output.writeMessage(1, channelPartnerLinks_.get(i)); } @@ -283,8 +245,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_); @@ -297,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +293,117 @@ 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].
              * 
          * * 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() @@ -458,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getChannelPartnerLinksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,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 @@ -505,8 +458,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)) { @@ -526,39 +478,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; @@ -566,8 +517,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()) { @@ -586,10 +536,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_); } @@ -618,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,38 +576,28 @@ public Builder mergeFrom( } 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 { @@ -667,8 +605,6 @@ private void ensureChannelPartnerLinksIsMutable() { } } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -683,8 +619,6 @@ public int getChannelPartnerLinksCount() { } } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -699,8 +633,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int } } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -722,8 +654,6 @@ public Builder setChannelPartnerLinks( return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -742,8 +672,6 @@ public Builder setChannelPartnerLinks( return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -764,8 +692,6 @@ public Builder addChannelPartnerLinks(com.google.cloud.channel.v1.ChannelPartner return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -787,8 +713,6 @@ public Builder addChannelPartnerLinks( return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -807,8 +731,6 @@ public Builder addChannelPartnerLinks( return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -827,8 +749,6 @@ public Builder addChannelPartnerLinks( return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -839,7 +759,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); @@ -847,8 +768,6 @@ public Builder addAllChannelPartnerLinks( return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -866,8 +785,6 @@ public Builder clearChannelPartnerLinks() { return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -885,8 +802,6 @@ public Builder removeChannelPartnerLinks(int index) { return this; } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -898,8 +813,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL return getChannelPartnerLinksFieldBuilder().getBuilder(index); } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -909,22 +822,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 { @@ -932,8 +842,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } } /** - * - * *
                * The Channel partner links for a reseller.
                * 
          @@ -941,12 +849,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.
                * 
          @@ -955,34 +861,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(), @@ -994,21 +892,19 @@ 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.
                * 
          * * 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; @@ -1017,22 +913,21 @@ 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.
                * 
          * * 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 { @@ -1040,71 +935,64 @@ 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.
                * 
          * * 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.
                * 
          * * 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.
                * 
          * * 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); } @@ -1114,12 +1002,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(); } @@ -1128,16 +1016,16 @@ 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 { - return new ListChannelPartnerLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1040,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java index f17e913d..7a261e3b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java +++ b/owl-bot-staging/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,24 @@ 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.
              * 
          * * 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.
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java index 0c344cf3..ca369e28 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
             }
          -
             private ListChannelPartnerRepricingConfigsRequest(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -75,39 +56,36 @@ private ListChannelPartnerRepricingConfigsRequest(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              parent_ = s;
          -              break;
          -            }
          -          case 16:
          -            {
          -              pageSize_ = input.readInt32();
          -              break;
          -            }
          -          case 26:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +            parent_ = s;
          +            break;
          +          }
          +          case 16: {
           
          -              pageToken_ = s;
          -              break;
          -            }
          -          case 34:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +            pageSize_ = input.readInt32();
          +            break;
          +          }
          +          case 26: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              filter_ = s;
          -              break;
          -            }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            pageToken_ = s;
          +            break;
          +          }
          +          case 34: {
          +            java.lang.String s = input.readStringRequireUtf8();
          +
          +            filter_ = s;
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -115,33 +93,29 @@ private ListChannelPartnerRepricingConfigsRequest(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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:
          @@ -150,10 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 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 @@ -162,15 +133,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 account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
              * Parent uses the format:
          @@ -179,18 +149,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. */ @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 { @@ -201,8 +170,6 @@ 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
          @@ -210,7 +177,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -221,8 +187,6 @@ 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
          @@ -231,7 +195,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -240,15 +203,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 token identifying a page of results beyond the first page.
              * Obtained through
          @@ -257,15 +219,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 { @@ -276,8 +239,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.ListChannelPartnerRepricingConfigs]
              * results (channel_partner_link only). You can use this filter when you
          @@ -290,7 +251,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -299,15 +259,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.ListChannelPartnerRepricingConfigs]
              * results (channel_partner_link only). You can use this filter when you
          @@ -320,15 +279,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 { @@ -337,7 +297,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +308,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -375,7 +335,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_); @@ -391,18 +352,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -428,105 +392,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].
          @@ -534,40 +489,38 @@ 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()
          +    // Construct using com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.newBuilder()
               private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -583,16 +536,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
          @@ -606,8 +557,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_;
          @@ -620,51 +570,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();
          @@ -699,9 +644,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)
          -                e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -713,8 +656,6 @@ 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:
          @@ -723,16 +664,14 @@ 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; @@ -741,8 +680,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
                * Parent uses the format:
          @@ -751,17 +688,16 @@ 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 { @@ -769,8 +705,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
                * Parent uses the format:
          @@ -779,25 +713,21 @@ public com.google.protobuf.ByteString getParentBytes() {
                * 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:
          @@ -806,21 +736,16 @@ public Builder setParent(java.lang.String value) {
                * 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:
          @@ -829,28 +754,24 @@ 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 rules. The
          @@ -858,7 +779,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -866,8 +786,6 @@ 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
          @@ -875,19 +793,16 @@ 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 rules. The
          @@ -895,11 +810,10 @@ 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; @@ -907,8 +821,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * Optional. A token identifying a page of results beyond the first page.
                * Obtained through
          @@ -917,13 +829,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; @@ -932,8 +844,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * Optional. A token identifying a page of results beyond the first page.
                * Obtained through
          @@ -942,14 +852,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 { @@ -957,8 +868,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * Optional. A token identifying a page of results beyond the first page.
                * Obtained through
          @@ -967,22 +876,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 token identifying a page of results beyond the first page.
                * Obtained through
          @@ -991,18 +898,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 token identifying a page of results beyond the first page.
                * Obtained through
          @@ -1011,16 +915,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; @@ -1028,8 +932,6 @@ 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
          @@ -1042,13 +944,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; @@ -1057,8 +959,6 @@ public java.lang.String getFilter() { } } /** - * - * *
                * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
                * results (channel_partner_link only). You can use this filter when you
          @@ -1071,14 +971,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 { @@ -1086,8 +987,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
                * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
                * results (channel_partner_link only). You can use this filter when you
          @@ -1100,22 +999,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.ListChannelPartnerRepricingConfigs]
                * results (channel_partner_link only). You can use this filter when you
          @@ -1128,18 +1025,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.ListChannelPartnerRepricingConfigs]
                * results (channel_partner_link only). You can use this filter when you
          @@ -1152,23 +1046,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); } @@ -1178,33 +1072,30 @@ 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 { - return new ListChannelPartnerRepricingConfigsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerRepricingConfigsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1216,8 +1107,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java index 57830ea1..a90a02a0 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.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 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:
          @@ -34,16 +16,11 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
              * 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:
          @@ -52,17 +29,13 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
              * 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
          @@ -70,14 +43,11 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
              * 
          * * 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
          @@ -86,13 +56,10 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
              * 
          * * 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
          @@ -101,14 +68,12 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
              * 
          * * 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
          @@ -121,13 +86,10 @@ 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
          @@ -140,8 +102,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java index df8a2dc8..7eb5bd06 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
             }
          -
             private ListChannelPartnerRepricingConfigsResponse(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -75,34 +56,28 @@ private ListChannelPartnerRepricingConfigsResponse(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          -                channelPartnerRepricingConfigs_ =
          -                    new java.util.ArrayList<
          -                        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>();
          -                mutable_bitField0_ |= 0x00000001;
          -              }
          -              channelPartnerRepricingConfigs_.add(
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
          -                      extensionRegistry));
          -              break;
          +          case 10: {
          +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          +              channelPartnerRepricingConfigs_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000001;
                       }
          -          case 18:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +            channelPartnerRepricingConfigs_.add(
          +                input.readMessage(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(), extensionRegistry));
          +            break;
          +          }
          +          case 18: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              nextPageToken_ = s;
          -              break;
          -            }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            nextPageToken_ = s;
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -110,121 +85,92 @@ private ListChannelPartnerRepricingConfigsResponse(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
          -        channelPartnerRepricingConfigs_ =
          -            java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
          +        channelPartnerRepricingConfigs_ = java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
                 }
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  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
          @@ -232,7 +178,6 @@ public int getChannelPartnerRepricingConfigsCount() {
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -241,15 +186,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
              * A token to retrieve the next page of results.
              * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
          @@ -257,15 +201,16 @@ public java.lang.String getNextPageToken() {
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -274,7 +219,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < channelPartnerRepricingConfigs_.size(); i++) { output.writeMessage(1, channelPartnerRepricingConfigs_.get(i)); } @@ -303,9 +248,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_); @@ -318,17 +262,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,105 +296,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].
          @@ -458,42 +393,39 @@ 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()
          +    // Construct using com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.newBuilder()
               private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
                   getChannelPartnerRepricingConfigsFieldBuilder();
                 }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -509,22 +441,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);
                 }
          @@ -533,13 +462,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_;
          @@ -555,51 +482,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()) {
          @@ -618,13 +540,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_);
                     }
                   }
                 }
          @@ -651,9 +571,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)
          -                e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -662,40 +580,28 @@ public Builder mergeFrom(
                 }
                 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 { @@ -703,15 +609,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) { @@ -721,18 +623,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 { @@ -740,15 +637,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) { @@ -765,19 +658,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()); @@ -788,18 +676,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(); @@ -813,15 +696,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) { @@ -838,15 +717,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) { @@ -860,19 +735,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()); @@ -883,19 +753,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( @@ -907,15 +772,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) { @@ -928,15 +789,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) { @@ -949,53 +806,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 { @@ -1003,67 +846,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(), @@ -1075,8 +896,6 @@ 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
          @@ -1084,13 +903,13 @@ public Builder removeChannelPartnerRepricingConfigs(int index) {
                * 
          * * 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; @@ -1099,8 +918,6 @@ 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
          @@ -1108,14 +925,15 @@ public java.lang.String getNextPageToken() {
                * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1123,8 +941,6 @@ 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
          @@ -1132,22 +948,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
                * 
          * * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
          @@ -1155,18 +969,15 @@ public Builder setNextPageToken(java.lang.String value) {
                * 
          * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
          @@ -1174,23 +985,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); } @@ -1200,33 +1011,30 @@ 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 { - return new ListChannelPartnerRepricingConfigsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerRepricingConfigsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,8 +1046,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java similarity index 56% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java index 9e057194..a5b6d688 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java @@ -1,96 +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; -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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
          @@ -98,13 +59,10 @@ com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepri
              * 
          * * 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
          @@ -112,8 +70,8 @@ com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepri
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java index 62955bde..3cd06d93 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +27,16 @@ 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; } - private ListCustomerRepricingConfigsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,39 +55,36 @@ private ListCustomerRepricingConfigsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,33 +92,29 @@ private ListCustomerRepricingConfigsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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}.
          @@ -148,10 +122,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 @@ -160,15 +131,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}.
          @@ -176,18 +146,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 { @@ -198,8 +167,6 @@ 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
          @@ -207,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -218,8 +184,6 @@ 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
          @@ -228,7 +192,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +200,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 token identifying a page of results beyond the first page.
              * Obtained through
          @@ -254,15 +216,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 { @@ -273,8 +236,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
          @@ -285,7 +246,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -294,15 +254,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
          @@ -313,15 +272,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 { @@ -330,7 +290,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,7 +301,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -368,7 +328,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_); @@ -384,18 +345,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,127 +385,117 @@ 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].
              * 
          * * 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() @@ -549,15 +503,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,14 +528,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(); } @@ -595,8 +549,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_; @@ -609,50 +562,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(); @@ -687,9 +636,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -701,8 +648,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}.
          @@ -710,16 +655,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; @@ -728,8 +671,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. The resource name of the customer.
                * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
          @@ -737,17 +678,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 { @@ -755,8 +695,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. The resource name of the customer.
                * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
          @@ -764,25 +702,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}.
          @@ -790,21 +724,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}.
          @@ -812,28 +741,24 @@ 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
          @@ -841,7 +766,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -849,8 +773,6 @@ 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
          @@ -858,19 +780,16 @@ 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 rules. The
          @@ -878,11 +797,10 @@ 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; @@ -890,8 +808,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * Optional. A token identifying a page of results beyond the first page.
                * Obtained through
          @@ -900,13 +816,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; @@ -915,8 +831,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * Optional. A token identifying a page of results beyond the first page.
                * Obtained through
          @@ -925,14 +839,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 { @@ -940,8 +855,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * Optional. A token identifying a page of results beyond the first page.
                * Obtained through
          @@ -950,22 +863,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 token identifying a page of results beyond the first page.
                * Obtained through
          @@ -974,18 +885,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 token identifying a page of results beyond the first page.
                * Obtained through
          @@ -994,16 +902,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; @@ -1011,8 +919,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
          @@ -1023,13 +929,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; @@ -1038,8 +944,6 @@ public java.lang.String getFilter() { } } /** - * - * *
                * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
                * results (customer only). You can use this filter when you support
          @@ -1050,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 { @@ -1065,8 +970,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
                * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
                * results (customer only). You can use this filter when you support
          @@ -1077,22 +980,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
          @@ -1103,18 +1004,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
          @@ -1125,23 +1023,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); } @@ -1151,32 +1049,30 @@ 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 { - return new ListCustomerRepricingConfigsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomerRepricingConfigsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1188,8 +1084,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java index 4d54fe30..1e087877 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java +++ b/owl-bot-staging/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,17 +27,13 @@ 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
          @@ -68,14 +41,11 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
              * 
          * * 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
          @@ -84,13 +54,10 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
              * 
          * * 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
          @@ -99,14 +66,12 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
              * 
          * * 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 +82,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 +96,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java index 7a3be824..c710519a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +26,16 @@ 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; } - private ListCustomerRepricingConfigsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,33 +55,28 @@ private ListCustomerRepricingConfigsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customerRepricingConfigs_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - customerRepricingConfigs_.add( - input.readMessage( - com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customerRepricingConfigs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + customerRepricingConfigs_.add( + input.readMessage(com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,115 +84,92 @@ private ListCustomerRepricingConfigsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - customerRepricingConfigs_ = - java.util.Collections.unmodifiableList(customerRepricingConfigs_); + customerRepricingConfigs_ = java.util.Collections.unmodifiableList(customerRepricingConfigs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
          @@ -224,7 +177,6 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -233,15 +185,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
              * A token to retrieve the next page of results.
              * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
          @@ -249,15 +200,16 @@ public java.lang.String getNextPageToken() {
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customerRepricingConfigs_.size(); i++) { output.writeMessage(1, customerRepricingConfigs_.get(i)); } @@ -295,9 +247,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_); @@ -310,17 +261,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,127 +295,117 @@ 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].
              * 
          * * 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() @@ -472,17 +413,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCustomerRepricingConfigsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -498,14 +439,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(); } @@ -520,13 +460,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_; @@ -542,50 +480,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()) { @@ -604,10 +538,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_); } @@ -636,9 +569,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -647,40 +578,28 @@ public Builder mergeFrom( } 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 { @@ -688,15 +607,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) { @@ -706,18 +621,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 { @@ -725,15 +635,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) { @@ -750,15 +656,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) { @@ -772,18 +674,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(); @@ -797,15 +694,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) { @@ -822,15 +715,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) { @@ -844,15 +733,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) { @@ -866,21 +751,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); @@ -888,15 +770,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) { @@ -909,15 +787,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) { @@ -930,52 +804,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 { @@ -983,65 +844,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(), @@ -1053,8 +894,6 @@ 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
          @@ -1062,13 +901,13 @@ public Builder removeCustomerRepricingConfigs(int index) {
                * 
          * * 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; @@ -1077,8 +916,6 @@ 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
          @@ -1086,14 +923,15 @@ public java.lang.String getNextPageToken() {
                * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1101,8 +939,6 @@ 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
          @@ -1110,22 +946,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
                * 
          * * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
          @@ -1133,18 +967,15 @@ public Builder setNextPageToken(java.lang.String value) {
                * 
          * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
          @@ -1152,23 +983,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); } @@ -1178,32 +1009,30 @@ 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 { - return new ListCustomerRepricingConfigsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomerRepricingConfigsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1215,8 +1044,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java index 6526a225..33bb4339 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java @@ -1,90 +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; -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
          @@ -92,13 +59,10 @@ 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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
          @@ -106,8 +70,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java index e1fee639..7beeee98 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.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.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,15 +27,16 @@ 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; } - private ListCustomersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListCustomersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private ListCustomersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -154,30 +129,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 { @@ -188,8 +163,6 @@ 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
          @@ -197,7 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -208,8 +180,6 @@ 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
          @@ -218,7 +188,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -227,15 +196,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 token identifying a page of results other than the first page.
              * Obtained through
          @@ -244,15 +212,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 { @@ -263,8 +232,6 @@ 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
              * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -272,7 +239,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -281,15 +247,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. Filters applied to the [CloudChannelService.ListCustomers] results. See
              * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -297,15 +262,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 { @@ -314,7 +280,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -352,7 +318,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_); @@ -368,18 +335,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,127 +374,118 @@ 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]
              * 
          * * 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() @@ -532,15 +493,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +518,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 @@ -577,8 +539,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_; @@ -591,39 +552,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; @@ -631,8 +591,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(); @@ -679,21 +638,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; @@ -702,22 +659,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 { @@ -725,73 +681,64 @@ 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
          @@ -799,7 +746,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -807,8 +753,6 @@ 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
          @@ -816,19 +760,16 @@ 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
          @@ -836,11 +777,10 @@ 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; @@ -848,8 +788,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * Optional. A token identifying a page of results other than the first page.
                * Obtained through
          @@ -858,13 +796,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; @@ -873,8 +811,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * Optional. A token identifying a page of results other than the first page.
                * Obtained through
          @@ -883,14 +819,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 { @@ -898,8 +835,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * Optional. A token identifying a page of results other than the first page.
                * Obtained through
          @@ -908,22 +843,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 token identifying a page of results other than the first page.
                * Obtained through
          @@ -932,18 +865,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 token identifying a page of results other than the first page.
                * Obtained through
          @@ -952,16 +882,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; @@ -969,8 +899,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
                * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
                * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -978,13 +906,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; @@ -993,8 +921,6 @@ public java.lang.String getFilter() { } } /** - * - * *
                * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
                * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -1002,14 +928,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 { @@ -1017,8 +944,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
                * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
                * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -1026,22 +951,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. Filters applied to the [CloudChannelService.ListCustomers] results. See
                * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -1049,18 +972,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. Filters applied to the [CloudChannelService.ListCustomers] results. See
                * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -1068,23 +988,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); } @@ -1094,12 +1014,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(); } @@ -1108,16 +1028,16 @@ 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 { - return new ListCustomersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,4 +1052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java index 9f2a5789..10025586 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
          @@ -60,14 +37,11 @@ public interface ListCustomersRequestOrBuilder
              * 
          * * 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
          @@ -76,13 +50,10 @@ public interface ListCustomersRequestOrBuilder
              * 
          * * 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
          @@ -91,14 +62,12 @@ public interface ListCustomersRequestOrBuilder
              * 
          * * 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
              * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -106,13 +75,10 @@ public interface ListCustomersRequestOrBuilder
              * 
          * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
              * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
              * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
          @@ -120,8 +86,8 @@ public interface ListCustomersRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java index 77c4c55d..e02a211d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.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 [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,15 +26,16 @@ 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; } - private ListCustomersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListCustomersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - customers_.add( - input.readMessage( - com.google.cloud.channel.v1.Customer.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + customers_.add( + input.readMessage(com.google.cloud.channel.v1.Customer.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListCustomersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { customers_ = java.util.Collections.unmodifiableList(customers_); @@ -113,27 +94,22 @@ private ListCustomersResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -145,8 +121,6 @@ public java.util.List getCustomersList() { return customers_; } /** - * - * *
              * The customers belonging to a reseller or distributor.
              * 
          @@ -154,13 +128,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.
              * 
          @@ -172,8 +144,6 @@ public int getCustomersCount() { return customers_.size(); } /** - * - * *
              * The customers belonging to a reseller or distributor.
              * 
          @@ -185,8 +155,6 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { return customers_.get(index); } /** - * - * *
              * The customers belonging to a reseller or distributor.
              * 
          @@ -194,22 +162,20 @@ 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.
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,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 to retrieve the next page of results.
              * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customers_.size(); i++) { output.writeMessage(1, customers_.get(i)); } @@ -279,7 +245,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_); @@ -292,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,126 +293,117 @@ 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].
              * 
          * * 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() @@ -452,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCustomersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +437,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 @@ -499,8 +458,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)) { @@ -520,39 +478,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; @@ -560,8 +517,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()) { @@ -580,10 +536,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_); } @@ -612,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListCustomersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListCustomersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,28 +576,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -658,8 +605,6 @@ public java.util.List getCustomersList() { } } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -674,8 +619,6 @@ public int getCustomersCount() { } } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -690,15 +633,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(); @@ -712,8 +654,6 @@ public Builder setCustomers(int index, com.google.cloud.channel.v1.Customer valu return this; } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -732,8 +672,6 @@ public Builder setCustomers( return this; } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -754,15 +692,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(); @@ -776,15 +713,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()); @@ -795,8 +731,6 @@ public Builder addCustomers(com.google.cloud.channel.v1.Customer.Builder builder return this; } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -815,8 +749,6 @@ public Builder addCustomers( return this; } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -827,7 +759,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); @@ -835,8 +768,6 @@ public Builder addAllCustomers( return this; } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -854,8 +785,6 @@ public Builder clearCustomers() { return this; } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -873,44 +802,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 { @@ -918,8 +842,6 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int i } } /** - * - * *
                * The customers belonging to a reseller or distributor.
                * 
          @@ -927,47 +849,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_; @@ -975,21 +892,19 @@ 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.
                * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,22 +913,21 @@ 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.
                * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1021,71 +935,64 @@ 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.
                * 
          * * 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.
                * 
          * * 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.
                * 
          * * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +1002,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(); } @@ -1109,16 +1016,16 @@ 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 { - return new ListCustomersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1133,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java index fa355933..186f250b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java +++ b/owl-bot-staging/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,43 @@ 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.
              * 
          * * 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.
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java index ff40fd72..82d01a6a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.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.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,15 +26,16 @@ 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; } - private ListEntitlementsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListEntitlementsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,43 +85,36 @@ private ListEntitlementsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -149,33 +123,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 { @@ -186,8 +158,6 @@ 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.
          @@ -195,7 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -206,8 +175,6 @@ 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
          @@ -216,7 +183,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -225,15 +191,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 token for a page of results other than the first page.
              * Obtained using
          @@ -242,15 +207,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 { @@ -259,7 +225,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,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_); } @@ -294,7 +260,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -307,17 +274,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -341,126 +310,117 @@ 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]
              * 
          * * 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() @@ -468,15 +428,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,9 +451,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 @@ -511,8 +472,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_; @@ -524,39 +484,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; @@ -564,8 +523,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(); @@ -596,8 +554,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListEntitlementsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListEntitlementsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,24 +566,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; @@ -635,25 +588,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 { @@ -661,82 +611,67 @@ 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.
          @@ -744,7 +679,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -752,8 +686,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. Requested page size. Server might return fewer results than requested.
                * If unspecified, return at most 50 entitlements.
          @@ -761,19 +693,16 @@ 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.
          @@ -781,11 +710,10 @@ 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; @@ -793,8 +721,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * Optional. A token for a page of results other than the first page.
                * Obtained using
          @@ -803,13 +729,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; @@ -818,8 +744,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * Optional. A token for a page of results other than the first page.
                * Obtained using
          @@ -828,14 +752,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 { @@ -843,8 +768,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * Optional. A token for a page of results other than the first page.
                * Obtained using
          @@ -853,22 +776,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 token for a page of results other than the first page.
                * Obtained using
          @@ -877,18 +798,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 token for a page of results other than the first page.
                * Obtained using
          @@ -897,23 +815,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); } @@ -923,12 +841,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(); } @@ -937,16 +855,16 @@ 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 { - return new ListEntitlementsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListEntitlementsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,4 +879,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java index 61bcf3b9..3154b405 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
          @@ -66,14 +39,11 @@ public interface ListEntitlementsRequestOrBuilder
              * 
          * * 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
          @@ -82,13 +52,10 @@ public interface ListEntitlementsRequestOrBuilder
              * 
          * * 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
          @@ -97,8 +64,8 @@ public interface ListEntitlementsRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java index c6129775..045b7d67 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.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 [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,15 +26,16 @@ 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; } - private ListEntitlementsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListEntitlementsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - entitlements_.add( - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + entitlements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entitlements_.add( + input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListEntitlementsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entitlements_ = java.util.Collections.unmodifiableList(entitlements_); @@ -113,27 +94,22 @@ private ListEntitlementsResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -145,8 +121,6 @@ public java.util.List getEntitlementsLi return entitlements_; } /** - * - * *
              * The reseller customer's entitlements.
              * 
          @@ -154,13 +128,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.
              * 
          @@ -172,8 +144,6 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** - * - * *
              * The reseller customer's entitlements.
              * 
          @@ -185,8 +155,6 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** - * - * *
              * The reseller customer's entitlements.
              * 
          @@ -194,22 +162,20 @@ 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.
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,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 to list the next page of results.
              * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -279,7 +245,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_); @@ -292,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,126 +293,117 @@ 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].
              * 
          * * 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() @@ -452,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntitlementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +437,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 @@ -499,8 +458,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)) { @@ -520,39 +478,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; @@ -560,8 +517,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()) { @@ -580,10 +536,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_); } @@ -612,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListEntitlementsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListEntitlementsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,29 +576,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -659,8 +605,6 @@ public java.util.List getEntitlementsLi } } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -675,8 +619,6 @@ public int getEntitlementsCount() { } } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -691,15 +633,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(); @@ -713,8 +654,6 @@ public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -733,8 +672,6 @@ public Builder setEntitlements( return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -755,15 +692,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(); @@ -777,8 +713,6 @@ public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -797,8 +731,6 @@ public Builder addEntitlements( return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -817,8 +749,6 @@ public Builder addEntitlements( return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -829,7 +759,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); @@ -837,8 +768,6 @@ public Builder addAllEntitlements( return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -856,8 +785,6 @@ public Builder clearEntitlements() { return this; } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -875,44 +802,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 { @@ -920,8 +842,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** - * - * *
                * The reseller customer's entitlements.
                * 
          @@ -929,48 +849,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_; @@ -978,21 +892,19 @@ 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.
                * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,22 +913,21 @@ 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.
                * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,71 +935,64 @@ 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.
                * 
          * * 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.
                * 
          * * 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.
                * 
          * * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +1002,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(); } @@ -1112,16 +1016,16 @@ 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 { - return new ListEntitlementsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListEntitlementsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java index 94ca6a76..4300d617 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java +++ b/owl-bot-staging/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,43 @@ 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.
              * 
          * * 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.
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java index c6c70402..56ab38c9 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ListOffersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListOffersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +99,35 @@ private ListOffersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -162,30 +136,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 { @@ -196,8 +170,6 @@ 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.
          @@ -205,7 +177,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -216,14 +187,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 @@ -232,29 +200,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 { @@ -265,8 +233,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
          @@ -276,7 +242,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -285,15 +250,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
          @@ -303,15 +267,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 { @@ -322,8 +287,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.
          @@ -331,7 +294,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
              * 
          * * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -340,15 +302,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.
          @@ -356,15 +317,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 { @@ -373,7 +335,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +346,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -414,7 +376,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_); @@ -433,19 +396,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -472,127 +439,118 @@ 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() @@ -600,15 +558,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +585,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 @@ -647,8 +606,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_; @@ -662,39 +620,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; @@ -753,21 +710,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}.
                * 
          * * 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; @@ -776,22 +731,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}.
                * 
          * * 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 { @@ -799,73 +753,64 @@ 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}.
                * 
          * * 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.
          @@ -873,7 +818,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -881,8 +825,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. Requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 500 Offers.
          @@ -890,19 +832,16 @@ 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.
          @@ -910,11 +849,10 @@ 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; @@ -922,20 +860,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; @@ -944,21 +880,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 { @@ -966,61 +901,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; @@ -1028,8 +956,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
          @@ -1039,13 +965,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; @@ -1054,8 +980,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
          @@ -1065,14 +989,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 { @@ -1080,8 +1005,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
          @@ -1091,22 +1014,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
          @@ -1116,18 +1037,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
          @@ -1137,16 +1055,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; @@ -1154,8 +1072,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.
          @@ -1163,13 +1079,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; @@ -1178,8 +1094,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.
          @@ -1187,14 +1101,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 { @@ -1202,8 +1117,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.
          @@ -1211,22 +1124,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.
          @@ -1234,18 +1145,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.
          @@ -1253,23 +1161,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); } @@ -1279,12 +1187,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(); } @@ -1293,16 +1201,16 @@ 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 { - return new ListOffersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListOffersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,4 +1225,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java index 9f25af28..a3868659 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
          @@ -60,39 +37,31 @@ public interface ListOffersRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java index 095c811d..e41769aa 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListOffersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListOffersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - offers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - offers_.add( - input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + offers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + offers_.add( + input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListOffersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { offers_ = java.util.Collections.unmodifiableList(offers_); @@ -112,27 +94,22 @@ private ListOffersResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -144,8 +121,6 @@ public java.util.List getOffersList() { return offers_; } /** - * - * *
              * The list of Offers requested.
              * 
          @@ -153,13 +128,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.
              * 
          @@ -171,8 +144,6 @@ public int getOffersCount() { return offers_.size(); } /** - * - * *
              * The list of Offers requested.
              * 
          @@ -184,8 +155,6 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { return offers_.get(index); } /** - * - * *
              * The list of Offers requested.
              * 
          @@ -193,21 +162,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 @@ -216,29 +183,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 { @@ -247,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < offers_.size(); i++) { output.writeMessage(1, offers_.get(i)); } @@ -276,7 +243,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_); @@ -289,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,127 +290,118 @@ 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() @@ -449,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOffersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +435,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 @@ -496,8 +456,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)) { @@ -517,39 +476,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; @@ -576,10 +534,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_); } @@ -617,28 +574,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -653,8 +603,6 @@ public java.util.List getOffersList() { } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -669,8 +617,6 @@ public int getOffersCount() { } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -685,15 +631,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(); @@ -707,15 +652,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()); @@ -726,8 +670,6 @@ public Builder setOffers(int index, com.google.cloud.channel.v1.Offer.Builder bu return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -748,15 +690,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(); @@ -770,15 +711,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()); @@ -789,15 +729,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()); @@ -808,8 +747,6 @@ public Builder addOffers(int index, com.google.cloud.channel.v1.Offer.Builder bu return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -820,7 +757,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); @@ -828,8 +766,6 @@ public Builder addAllOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -847,8 +783,6 @@ public Builder clearOffers() { return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -866,44 +800,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 { @@ -911,8 +840,6 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -920,47 +847,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_; @@ -968,20 +890,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; @@ -990,21 +910,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 { @@ -1012,68 +931,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); } @@ -1083,12 +995,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(); } @@ -1097,16 +1009,16 @@ 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 { - return new ListOffersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListOffersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java index 47c050a4..08bf54a7 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java index f4be2109..8ba04cef 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListProductsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListProductsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private ListProductsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -154,30 +129,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 { @@ -188,8 +163,6 @@ 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.
          @@ -197,7 +170,6 @@ public com.google.protobuf.ByteString getAccountBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -208,14 +180,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 @@ -224,29 +193,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 { @@ -257,8 +226,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.
          @@ -266,7 +233,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -275,15 +241,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.
          @@ -291,15 +256,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 { @@ -308,7 +274,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +285,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -346,7 +312,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_); @@ -362,18 +329,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -398,127 +368,118 @@ 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() @@ -526,15 +487,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -550,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_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 @@ -571,8 +533,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_; @@ -585,39 +546,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; @@ -625,8 +585,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(); @@ -673,21 +632,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; @@ -696,22 +653,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 { @@ -719,73 +675,64 @@ 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.
          @@ -793,7 +740,6 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -801,8 +747,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. Requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 100 Products.
          @@ -810,19 +754,16 @@ 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.
          @@ -830,11 +771,10 @@ 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; @@ -842,20 +782,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; @@ -864,21 +802,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 { @@ -886,61 +823,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; @@ -948,8 +878,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.
          @@ -957,13 +885,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; @@ -972,8 +900,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.
          @@ -981,14 +907,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 { @@ -996,8 +923,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.
          @@ -1005,22 +930,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.
          @@ -1028,18 +951,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.
          @@ -1047,23 +967,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 +993,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(); } @@ -1087,16 +1007,16 @@ 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 { - return new ListProductsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListProductsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,4 +1031,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java index 060de000..d5b648a4 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
          @@ -60,39 +37,31 @@ public interface ListProductsRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java index 504af3b3..ee29d48b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListProductsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListProductsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - products_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - products_.add( - input.readMessage( - com.google.cloud.channel.v1.Product.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + products_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + products_.add( + input.readMessage(com.google.cloud.channel.v1.Product.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListProductsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { products_ = java.util.Collections.unmodifiableList(products_); @@ -113,27 +94,22 @@ private ListProductsResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -145,8 +121,6 @@ public java.util.List getProductsList() { return products_; } /** - * - * *
              * List of Products requested.
              * 
          @@ -154,13 +128,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.
              * 
          @@ -172,8 +144,6 @@ public int getProductsCount() { return products_.size(); } /** - * - * *
              * List of Products requested.
              * 
          @@ -185,8 +155,6 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { return products_.get(index); } /** - * - * *
              * List of Products requested.
              * 
          @@ -194,21 +162,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 @@ -217,29 +183,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 { @@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < products_.size(); i++) { output.writeMessage(1, products_.get(i)); } @@ -277,7 +243,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_); @@ -290,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -322,127 +290,118 @@ 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() @@ -450,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getProductsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +435,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 @@ -497,8 +456,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)) { @@ -518,39 +476,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; @@ -558,8 +515,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()) { @@ -578,10 +534,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_); } @@ -619,28 +574,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -655,8 +603,6 @@ public java.util.List getProductsList() { } } /** - * - * *
                * List of Products requested.
                * 
          @@ -671,8 +617,6 @@ public int getProductsCount() { } } /** - * - * *
                * List of Products requested.
                * 
          @@ -687,15 +631,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(); @@ -709,8 +652,6 @@ public Builder setProducts(int index, com.google.cloud.channel.v1.Product value) return this; } /** - * - * *
                * List of Products requested.
                * 
          @@ -729,8 +670,6 @@ public Builder setProducts( return this; } /** - * - * *
                * List of Products requested.
                * 
          @@ -751,15 +690,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(); @@ -773,15 +711,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()); @@ -792,8 +729,6 @@ public Builder addProducts(com.google.cloud.channel.v1.Product.Builder builderFo return this; } /** - * - * *
                * List of Products requested.
                * 
          @@ -812,8 +747,6 @@ public Builder addProducts( return this; } /** - * - * *
                * List of Products requested.
                * 
          @@ -824,7 +757,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); @@ -832,8 +766,6 @@ public Builder addAllProducts( return this; } /** - * - * *
                * List of Products requested.
                * 
          @@ -851,8 +783,6 @@ public Builder clearProducts() { return this; } /** - * - * *
                * List of Products requested.
                * 
          @@ -870,44 +800,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 { @@ -915,8 +840,6 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int ind } } /** - * - * *
                * List of Products requested.
                * 
          @@ -924,47 +847,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_; @@ -972,20 +890,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; @@ -994,21 +910,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 { @@ -1016,68 +931,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); } @@ -1087,12 +995,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(); } @@ -1101,16 +1009,16 @@ 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 { - return new ListProductsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListProductsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java index cf288372..b4d0a76b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java index 5fd5497b..0a937767 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListPurchasableOffersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,90 +55,64 @@ private ListPurchasableOffersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; + customer_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder subBuilder = null; + if (purchaseOptionCase_ == 2) { + subBuilder = ((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_).toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder - subBuilder = null; - if (purchaseOptionCase_ == 2) { - subBuilder = - ((com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase) - purchaseOption_) - .toBuilder(); - } - purchaseOption_ = - input.readMessage( - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase) - purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); - } - purchaseOptionCase_ = 2; - break; + purchaseOption_ = + input.readMessage(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder - subBuilder = null; - if (purchaseOptionCase_ == 3) { - subBuilder = - ((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_) - .toBuilder(); - } - purchaseOption_ = - input.readMessage( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); - } - purchaseOptionCase_ = 3; - break; + purchaseOptionCase_ = 2; + break; + } + case 26: { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder subBuilder = null; + if (purchaseOptionCase_ == 3) { + subBuilder = ((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_).toBuilder(); } - case 32: - { - pageSize_ = input.readInt32(); - break; + purchaseOption_ = + input.readMessage(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + purchaseOptionCase_ = 3; + break; + } + case 32: { - pageToken_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -163,95 +120,84 @@ private ListPurchasableOffersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; } - private CreateEntitlementPurchase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -270,20 +216,19 @@ private CreateEntitlementPurchase( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - sku_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sku_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -291,42 +236,35 @@ private CreateEntitlementPurchase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -335,30 +273,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 { @@ -367,7 +305,6 @@ public com.google.protobuf.ByteString getSkuBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,7 +316,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -403,17 +341,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,102 +368,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 @@ -537,53 +459,44 @@ 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() + // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -593,23 +506,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); } @@ -617,11 +526,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; @@ -631,57 +537,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(); @@ -701,14 +596,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parsedMessage = null; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -720,21 +612,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; @@ -743,22 +633,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 { @@ -766,69 +655,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) { @@ -841,34 +722,30 @@ 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 { - return new CreateEntitlementPurchase(input, extensionRegistry); - } - }; + 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 { + return new CreateEntitlementPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -880,20 +757,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:
          @@ -901,13 +775,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:
          @@ -915,14 +786,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:
          @@ -930,13 +799,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:
          @@ -944,30 +810,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_ = ""; @@ -975,15 +838,16 @@ 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; } - private ChangeOfferPurchase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1002,27 +866,25 @@ private ChangeOfferPurchase( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entitlement_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - newSku_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + newSku_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1030,34 +892,29 @@ private ChangeOfferPurchase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -1065,7 +922,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
                * 
          * * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ @java.lang.Override @@ -1074,15 +930,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:
          @@ -1090,15 +945,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 { @@ -1109,8 +965,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:
          @@ -1118,7 +972,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() {
                * 
          * * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The newSku. */ @java.lang.Override @@ -1127,15 +980,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:
          @@ -1143,15 +995,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 { @@ -1160,7 +1013,6 @@ public com.google.protobuf.ByteString getNewSkuBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1172,7 +1024,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1202,18 +1055,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1234,101 +1086,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 @@ -1338,51 +1177,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() + // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1394,22 +1226,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); } @@ -1417,10 +1246,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(); @@ -1431,55 +1258,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(); @@ -1503,14 +1321,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parsedMessage = - null; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1522,8 +1337,6 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
                  * Required. Resource name of the entitlement.
                  * Format:
          @@ -1531,13 +1344,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; @@ -1546,8 +1359,6 @@ public java.lang.String getEntitlement() { } } /** - * - * *
                  * Required. Resource name of the entitlement.
                  * Format:
          @@ -1555,14 +1366,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 { @@ -1570,8 +1382,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
                  * Required. Resource name of the entitlement.
                  * Format:
          @@ -1579,22 +1389,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:
          @@ -1602,18 +1410,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:
          @@ -1621,16 +1426,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; @@ -1638,8 +1443,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:
          @@ -1647,13 +1450,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; @@ -1662,8 +1465,6 @@ public java.lang.String getNewSku() { } } /** - * - * *
                  * Optional. Resource name of the new target SKU. Provide this SKU when
                  * upgrading or downgrading an entitlement. Format:
          @@ -1671,14 +1472,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 { @@ -1686,8 +1488,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:
          @@ -1695,22 +1495,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:
          @@ -1718,18 +1516,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:
          @@ -1737,21 +1532,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) { @@ -1764,34 +1558,30 @@ 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 { - return new ChangeOfferPurchase(input, extensionRegistry); - } - }; + 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 { + return new ChangeOfferPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1803,24 +1593,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; } @@ -1836,38 +1623,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 @@ -1875,62 +1654,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 @@ -1938,64 +1697,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 @@ -2004,32 +1743,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 { @@ -2040,8 +1777,6 @@ 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.
          @@ -2049,7 +1784,6 @@ public com.google.protobuf.ByteString getCustomerBytes() {
              * 
          * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -2060,14 +1794,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 @@ -2076,29 +1807,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 { @@ -2109,8 +1840,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.
          @@ -2118,7 +1847,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -2127,15 +1855,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.
          @@ -2143,15 +1870,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 { @@ -2160,7 +1888,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2172,21 +1899,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_); @@ -2210,21 +1932,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_); @@ -2240,26 +1957,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: @@ -2301,127 +2022,117 @@ 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() @@ -2429,15 +2140,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2455,9 +2167,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 @@ -2476,8 +2188,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_; @@ -2505,39 +2216,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; @@ -2545,8 +2255,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(); @@ -2563,20 +2272,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.unknownFields); onChanged(); @@ -2597,8 +2303,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableOffersRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2607,12 +2312,12 @@ public Builder mergeFrom( } 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() { @@ -2622,24 +2327,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 @@ -2647,50 +2343,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(); @@ -2704,19 +2385,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(); @@ -2727,31 +2403,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; } @@ -2767,15 +2430,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) { @@ -2794,107 +2453,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 @@ -2902,49 +2521,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(); @@ -2958,19 +2563,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(); @@ -2981,30 +2581,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; } @@ -3020,15 +2608,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) { @@ -3047,105 +2631,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; @@ -3154,24 +2707,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 { @@ -3179,79 +2729,64 @@ 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.
          @@ -3259,7 +2794,6 @@ public Builder setCustomerBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -3267,8 +2801,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. Requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 100 Offers.
          @@ -3276,19 +2808,16 @@ 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.
          @@ -3296,11 +2825,10 @@ 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; @@ -3308,20 +2836,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; @@ -3330,21 +2856,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 { @@ -3352,61 +2877,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; @@ -3414,8 +2932,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.
          @@ -3423,13 +2939,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; @@ -3438,8 +2954,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.
          @@ -3447,14 +2961,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 { @@ -3462,8 +2977,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.
          @@ -3471,22 +2984,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.
          @@ -3494,18 +3005,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.
          @@ -3513,23 +3021,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); } @@ -3539,12 +3047,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(); } @@ -3553,16 +3061,16 @@ 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 { - return new ListPurchasableOffersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableOffersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3577,4 +3085,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListPurchasableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java index 850718c7..e3053d25 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java @@ -1,148 +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 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.
          @@ -150,39 +91,31 @@ public interface ListPurchasableOffersRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java index 909e9aa5..6d70a3d4 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListPurchasableOffersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListPurchasableOffersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - purchasableOffers_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - purchasableOffers_.add( - input.readMessage( - com.google.cloud.channel.v1.PurchasableOffer.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + purchasableOffers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + purchasableOffers_.add( + input.readMessage(com.google.cloud.channel.v1.PurchasableOffer.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListPurchasableOffersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { purchasableOffers_ = java.util.Collections.unmodifiableList(purchasableOffers_); @@ -114,27 +94,22 @@ private ListPurchasableOffersResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -146,8 +121,6 @@ public java.util.List getPurchasab return purchasableOffers_; } /** - * - * *
              * The list of Offers requested.
              * 
          @@ -155,13 +128,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.
              * 
          @@ -173,8 +144,6 @@ public int getPurchasableOffersCount() { return purchasableOffers_.size(); } /** - * - * *
              * The list of Offers requested.
              * 
          @@ -186,8 +155,6 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind return purchasableOffers_.get(index); } /** - * - * *
              * The list of Offers requested.
              * 
          @@ -203,14 +170,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 @@ -219,29 +183,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 { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < purchasableOffers_.size(); i++) { output.writeMessage(1, purchasableOffers_.get(i)); } @@ -279,8 +243,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_); @@ -293,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +291,117 @@ 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() @@ -454,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPurchasableOffersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +435,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 @@ -501,8 +456,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)) { @@ -522,39 +476,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; @@ -562,8 +515,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()) { @@ -582,10 +534,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_); } @@ -614,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableOffersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,30 +574,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -662,8 +603,6 @@ public java.util.List getPurchasab } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -678,8 +617,6 @@ public int getPurchasableOffersCount() { } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -694,8 +631,6 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -717,8 +652,6 @@ public Builder setPurchasableOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -737,8 +670,6 @@ public Builder setPurchasableOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -759,8 +690,6 @@ public Builder addPurchasableOffers(com.google.cloud.channel.v1.PurchasableOffer return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -782,8 +711,6 @@ public Builder addPurchasableOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -802,8 +729,6 @@ public Builder addPurchasableOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -822,8 +747,6 @@ public Builder addPurchasableOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -834,7 +757,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); @@ -842,8 +766,6 @@ public Builder addAllPurchasableOffers( return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -861,8 +783,6 @@ public Builder clearPurchasableOffers() { return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -880,8 +800,6 @@ public Builder removePurchasableOffers(int index) { return this; } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -893,8 +811,6 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder getPurchasableOffers return getPurchasableOffersFieldBuilder().getBuilder(index); } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -904,22 +820,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 { @@ -927,8 +840,6 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer } } /** - * - * *
                * The list of Offers requested.
                * 
          @@ -936,12 +847,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.
                * 
          @@ -950,34 +859,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(), @@ -989,20 +890,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; @@ -1011,21 +910,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 { @@ -1033,68 +931,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); } @@ -1104,12 +995,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(); } @@ -1118,16 +1009,16 @@ 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 { - return new ListPurchasableOffersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableOffersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1033,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListPurchasableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java index 485e62df..f59f9a8b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java similarity index 62% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java index bf528bdd..dd36b91b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListPurchasableSkusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,90 +55,64 @@ private ListPurchasableSkusRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; + customer_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder subBuilder = null; + if (purchaseOptionCase_ == 2) { + subBuilder = ((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_).toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .Builder - subBuilder = null; - if (purchaseOptionCase_ == 2) { - subBuilder = - ((com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchase) - purchaseOption_) - .toBuilder(); - } - purchaseOption_ = - input.readMessage( - com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchase.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchase) - purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); - } - purchaseOptionCase_ = 2; - break; + purchaseOption_ = + input.readMessage(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder - subBuilder = null; - if (purchaseOptionCase_ == 3) { - subBuilder = - ((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_) - .toBuilder(); - } - purchaseOption_ = - input.readMessage( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); - } - purchaseOptionCase_ = 3; - break; + purchaseOptionCase_ = 2; + break; + } + case 26: { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder subBuilder = null; + if (purchaseOptionCase_ == 3) { + subBuilder = ((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_).toBuilder(); } - case 32: - { - pageSize_ = input.readInt32(); - break; + purchaseOption_ = + input.readMessage(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + purchaseOptionCase_ = 3; + break; + } + case 32: { - pageToken_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -163,36 +120,31 @@ private ListPurchasableSkusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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}.
          @@ -200,13 +152,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}.
          @@ -214,47 +163,44 @@ 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; } - private CreateEntitlementPurchase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -273,20 +219,19 @@ private CreateEntitlementPurchase( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - product_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + product_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -294,35 +239,29 @@ private CreateEntitlementPurchase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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}.
          @@ -330,7 +269,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
                * 
          * * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The product. */ @java.lang.Override @@ -339,15 +277,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}.
          @@ -355,15 +292,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 { @@ -372,7 +310,6 @@ public com.google.protobuf.ByteString getProductBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +321,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -408,17 +346,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -437,102 +373,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 @@ -542,53 +464,45 @@ 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() + // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -598,23 +512,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); } @@ -622,11 +532,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; @@ -636,56 +543,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(); @@ -705,14 +602,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parsedMessage = null; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -724,8 +618,6 @@ public Builder mergeFrom( private java.lang.Object product_ = ""; /** - * - * *
                  * Required. List SKUs belonging to this Product.
                  * Format: products/{product_id}.
          @@ -733,13 +625,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; @@ -748,8 +640,6 @@ public java.lang.String getProduct() { } } /** - * - * *
                  * Required. List SKUs belonging to this Product.
                  * Format: products/{product_id}.
          @@ -757,14 +647,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 { @@ -772,8 +663,6 @@ public com.google.protobuf.ByteString getProductBytes() { } } /** - * - * *
                  * Required. List SKUs belonging to this Product.
                  * Format: products/{product_id}.
          @@ -781,22 +670,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}.
          @@ -804,18 +691,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}.
          @@ -823,21 +707,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) { @@ -850,34 +733,30 @@ 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 { - return new CreateEntitlementPurchase(input, extensionRegistry); - } - }; + 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 { + return new CreateEntitlementPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -889,20 +768,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:
          @@ -910,13 +786,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:
          @@ -924,44 +797,31 @@ 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].
          @@ -969,16 +829,15 @@ public interface ChangeOfferPurchaseOrBuilder
              *
              * 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;
          @@ -986,15 +845,16 @@ 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;
               }
          -
               private ChangeOfferPurchase(
                   com.google.protobuf.CodedInputStream input,
                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -1013,27 +873,25 @@ private ChangeOfferPurchase(
                       case 0:
                         done = true;
                         break;
          -            case 10:
          -              {
          -                java.lang.String s = input.readStringRequireUtf8();
          +            case 10: {
          +              java.lang.String s = input.readStringRequireUtf8();
           
          -                entitlement_ = s;
          -                break;
          -              }
          -            case 16:
          -              {
          -                int rawValue = input.readEnum();
          +              entitlement_ = s;
          +              break;
          +            }
          +            case 16: {
          +              int rawValue = input.readEnum();
           
          -                changeType_ = rawValue;
          -                break;
          -              }
          -            default:
          -              {
          -                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                  done = true;
          -                }
          -                break;
          +              changeType_ = rawValue;
          +              break;
          +            }
          +            default: {
          +              if (!parseUnknownField(
          +                  input, unknownFields, extensionRegistry, tag)) {
          +                done = true;
                         }
          +              break;
          +            }
                     }
                   }
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -1041,43 +899,36 @@ private ChangeOfferPurchase(
                 } catch (com.google.protobuf.UninitializedMessageException e) {
                   throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                 } catch (java.io.IOException e) {
          -        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +        throw new com.google.protobuf.InvalidProtocolBufferException(
          +            e).setUnfinishedMessage(this);
                 } finally {
                   this.unknownFields = unknownFields.build();
                   makeExtensionsImmutable();
                 }
               }
          -
          -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -      return com.google.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.
                  * 
          @@ -1086,8 +937,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_TYPE_UNSPECIFIED(0), /** - * - * *
                  * SKU is an upgrade on the current entitlement.
                  * 
          @@ -1096,8 +945,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE(1), /** - * - * *
                  * SKU is a downgrade on the current entitlement.
                  * 
          @@ -1109,8 +956,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                  * Not used.
                  * 
          @@ -1119,8 +964,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.
                  * 
          @@ -1129,8 +972,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_VALUE = 1; /** - * - * *
                  * SKU is a downgrade on the current entitlement.
                  * 
          @@ -1139,6 +980,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( @@ -1163,52 +1005,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; @@ -1228,8 +1067,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:
          @@ -1237,7 +1074,6 @@ private ChangeType(int value) {
                * 
          * * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ @java.lang.Override @@ -1246,15 +1082,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:
          @@ -1262,15 +1097,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 { @@ -1281,50 +1117,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; @@ -1336,14 +1153,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_); } unknownFields.writeTo(output); @@ -1358,11 +1173,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1372,16 +1185,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1403,101 +1215,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 @@ -1507,8 +1306,6 @@ 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].
          @@ -1516,42 +1313,38 @@ 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()
          +      // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder()
                 private Builder() {
                   maybeForceBuilderInitialization();
                 }
           
          -      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +      private Builder(
          +          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                   super(parent);
                   maybeForceBuilderInitialization();
                 }
          -
                 private void maybeForceBuilderInitialization() {
          -        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +        if (com.google.protobuf.GeneratedMessageV3
          +                .alwaysUseFieldBuilders) {
          +        }
                 }
          -
                 @java.lang.Override
                 public Builder clear() {
                   super.clear();
          @@ -1563,22 +1356,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);
                   }
          @@ -1586,10 +1376,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();
          @@ -1600,54 +1388,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();
          @@ -1670,14 +1450,11 @@ public Builder mergeFrom(
                     com.google.protobuf.CodedInputStream input,
                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                     throws java.io.IOException {
          -        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parsedMessage =
          -            null;
          +        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parsedMessage = null;
                   try {
                     parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                   } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -          parsedMessage =
          -              (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)
          -                  e.getUnfinishedMessage();
          +          parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) e.getUnfinishedMessage();
                     throw e.unwrapIOException();
                   } finally {
                     if (parsedMessage != null) {
          @@ -1689,8 +1466,6 @@ public Builder mergeFrom(
           
                 private java.lang.Object entitlement_ = "";
                 /**
          -       *
          -       *
                  * 
                  * Required. Resource name of the entitlement.
                  * Format:
          @@ -1698,13 +1473,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; @@ -1713,8 +1488,6 @@ public java.lang.String getEntitlement() { } } /** - * - * *
                  * Required. Resource name of the entitlement.
                  * Format:
          @@ -1722,14 +1495,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 { @@ -1737,8 +1511,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
                  * Required. Resource name of the entitlement.
                  * Format:
          @@ -1746,22 +1518,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:
          @@ -1769,18 +1539,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:
          @@ -1788,16 +1555,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; @@ -1805,113 +1572,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) { @@ -1924,33 +1655,30 @@ 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 { - return new ChangeOfferPurchase(input, extensionRegistry); - } - }; + 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 { + return new ChangeOfferPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1962,24 +1690,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; } @@ -1995,38 +1720,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 @@ -2034,62 +1751,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 @@ -2097,64 +1794,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 @@ -2163,32 +1840,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 { @@ -2199,8 +1874,6 @@ 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.
          @@ -2208,7 +1881,6 @@ public com.google.protobuf.ByteString getCustomerBytes() {
              * 
          * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -2219,14 +1891,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 @@ -2235,29 +1904,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 { @@ -2268,8 +1937,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.
          @@ -2277,7 +1944,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -2286,15 +1952,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.
          @@ -2302,15 +1967,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 { @@ -2319,7 +1985,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2331,21 +1996,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_); @@ -2369,21 +2029,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_); @@ -2399,26 +2054,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: @@ -2460,127 +2119,117 @@ 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() @@ -2588,15 +2237,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2614,9 +2264,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 @@ -2635,8 +2285,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_; @@ -2664,39 +2313,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; @@ -2704,8 +2352,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(); @@ -2722,20 +2369,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.unknownFields); onChanged(); @@ -2756,8 +2400,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableSkusRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2766,12 +2409,12 @@ public Builder mergeFrom( } 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() { @@ -2781,24 +2424,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 @@ -2806,49 +2440,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(); @@ -2862,19 +2482,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(); @@ -2885,31 +2500,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; } @@ -2925,15 +2527,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) { @@ -2952,104 +2550,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 @@ -3057,49 +2618,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(); @@ -3113,19 +2660,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(); @@ -3136,29 +2678,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; } @@ -3174,15 +2705,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) { @@ -3201,104 +2728,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; @@ -3307,24 +2804,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 { @@ -3332,79 +2826,64 @@ 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.
          @@ -3412,7 +2891,6 @@ public Builder setCustomerBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -3420,8 +2898,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. Requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 100 SKUs.
          @@ -3429,19 +2905,16 @@ 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.
          @@ -3449,11 +2922,10 @@ 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; @@ -3461,20 +2933,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; @@ -3483,21 +2953,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 { @@ -3505,61 +2974,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; @@ -3567,8 +3029,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.
          @@ -3576,13 +3036,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; @@ -3591,8 +3051,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.
          @@ -3600,14 +3058,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 { @@ -3615,8 +3074,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.
          @@ -3624,22 +3081,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.
          @@ -3647,18 +3102,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.
          @@ -3666,23 +3118,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); } @@ -3692,12 +3144,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(); } @@ -3706,16 +3158,16 @@ 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 { - return new ListPurchasableSkusRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableSkusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3730,4 +3182,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ListPurchasableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java index e43f580c..ef8d102c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java @@ -1,148 +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 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.
          @@ -150,39 +91,31 @@ public interface ListPurchasableSkusRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java index 9f781285..b0e37255 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListPurchasableSkusResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListPurchasableSkusResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - purchasableSkus_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - purchasableSkus_.add( - input.readMessage( - com.google.cloud.channel.v1.PurchasableSku.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + purchasableSkus_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + purchasableSkus_.add( + input.readMessage(com.google.cloud.channel.v1.PurchasableSku.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListPurchasableSkusResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { purchasableSkus_ = java.util.Collections.unmodifiableList(purchasableSkus_); @@ -114,27 +94,22 @@ private ListPurchasableSkusResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -146,8 +121,6 @@ public java.util.List getPurchasable return purchasableSkus_; } /** - * - * *
              * The list of SKUs requested.
              * 
          @@ -155,13 +128,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.
              * 
          @@ -173,8 +144,6 @@ public int getPurchasableSkusCount() { return purchasableSkus_.size(); } /** - * - * *
              * The list of SKUs requested.
              * 
          @@ -186,8 +155,6 @@ public com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index) return purchasableSkus_.get(index); } /** - * - * *
              * The list of SKUs requested.
              * 
          @@ -203,14 +170,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 @@ -219,29 +183,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 { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < purchasableSkus_.size(); i++) { output.writeMessage(1, purchasableSkus_.get(i)); } @@ -279,7 +243,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_); @@ -292,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +291,117 @@ 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() @@ -453,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPurchasableSkusFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +435,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 @@ -500,8 +456,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)) { @@ -521,39 +476,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; @@ -561,8 +515,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()) { @@ -581,10 +534,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_); } @@ -613,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListPurchasableSkusResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,29 +574,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -660,8 +603,6 @@ public java.util.List getPurchasable } } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -676,8 +617,6 @@ public int getPurchasableSkusCount() { } } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -692,15 +631,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(); @@ -714,8 +652,6 @@ public Builder setPurchasableSkus(int index, com.google.cloud.channel.v1.Purchas return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -734,8 +670,6 @@ public Builder setPurchasableSkus( return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -756,15 +690,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(); @@ -778,8 +711,6 @@ public Builder addPurchasableSkus(int index, com.google.cloud.channel.v1.Purchas return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -798,8 +729,6 @@ public Builder addPurchasableSkus( return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -818,8 +747,6 @@ public Builder addPurchasableSkus( return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -830,7 +757,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); @@ -838,8 +766,6 @@ public Builder addAllPurchasableSkus( return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -857,8 +783,6 @@ public Builder clearPurchasableSkus() { return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -876,20 +800,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.
                * 
          @@ -899,22 +820,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 { @@ -922,8 +840,6 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB } } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -931,47 +847,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(), @@ -983,20 +890,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; @@ -1005,21 +910,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 { @@ -1027,68 +931,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); } @@ -1098,12 +995,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(); } @@ -1112,16 +1009,16 @@ 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 { - return new ListPurchasableSkusResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableSkusResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListPurchasableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java index be43459a..13738b4f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java index ec6264c6..d81da2b3 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ListSkusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListSkusRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,43 +99,36 @@ private ListSkusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -165,33 +137,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 { @@ -202,15 +172,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 @@ -219,30 +186,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 { @@ -253,8 +220,6 @@ 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.
          @@ -262,7 +227,6 @@ public com.google.protobuf.ByteString getAccountBytes() {
              * 
          * * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -273,15 +237,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 @@ -290,30 +251,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 { @@ -324,8 +285,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.
          @@ -333,7 +292,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -342,15 +300,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.
          @@ -358,15 +315,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 { @@ -375,7 +333,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -419,7 +377,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_); @@ -435,19 +394,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -474,127 +437,118 @@ 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() @@ -602,15 +556,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -628,9 +583,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 @@ -649,8 +604,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_; @@ -664,39 +618,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; @@ -755,24 +708,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; @@ -781,25 +730,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 { @@ -807,73 +753,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; @@ -881,21 +814,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; @@ -904,22 +835,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 { @@ -927,73 +857,64 @@ 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.
          @@ -1001,7 +922,6 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1009,8 +929,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. Requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 100 SKUs.
          @@ -1018,19 +936,16 @@ 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.
          @@ -1038,11 +953,10 @@ 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; @@ -1050,21 +964,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; @@ -1073,22 +985,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 { @@ -1096,64 +1007,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; @@ -1161,8 +1065,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.
          @@ -1170,13 +1072,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; @@ -1185,8 +1087,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.
          @@ -1194,14 +1094,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 { @@ -1209,8 +1110,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.
          @@ -1218,22 +1117,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.
          @@ -1241,18 +1138,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.
          @@ -1260,23 +1154,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); } @@ -1286,12 +1180,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(); } @@ -1300,16 +1194,16 @@ 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 { - return new ListSkusRequest(input, extensionRegistry); - } - }; + 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 { + return new ListSkusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1324,4 +1218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java index c315d541..66a1040f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java @@ -1,91 +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/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.
          @@ -93,41 +61,33 @@ public interface ListSkusRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java index 031d318d..711c8cbb 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListSkusResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListSkusResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - skus_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - skus_.add( - input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + skus_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + skus_.add( + input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListSkusResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { skus_ = java.util.Collections.unmodifiableList(skus_); @@ -112,27 +94,22 @@ private ListSkusResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -144,8 +121,6 @@ public java.util.List getSkusList() { return skus_; } /** - * - * *
              * The list of SKUs requested.
              * 
          @@ -153,12 +128,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.
              * 
          @@ -170,8 +144,6 @@ public int getSkusCount() { return skus_.size(); } /** - * - * *
              * The list of SKUs requested.
              * 
          @@ -183,8 +155,6 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { return skus_.get(index); } /** - * - * *
              * The list of SKUs requested.
              * 
          @@ -192,21 +162,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 @@ -215,29 +183,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 { @@ -246,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < skus_.size(); i++) { output.writeMessage(1, skus_.get(i)); } @@ -275,7 +243,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_); @@ -288,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -320,127 +290,118 @@ 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() @@ -448,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getSkusFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +435,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 @@ -495,8 +456,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)) { @@ -516,39 +476,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; @@ -575,10 +534,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_); } @@ -616,28 +574,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -652,8 +603,6 @@ public java.util.List getSkusList() { } } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -668,8 +617,6 @@ public int getSkusCount() { } } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -684,15 +631,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(); @@ -706,15 +652,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()); @@ -725,8 +670,6 @@ public Builder setSkus(int index, com.google.cloud.channel.v1.Sku.Builder builde return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -747,15 +690,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(); @@ -769,15 +711,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()); @@ -788,15 +729,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()); @@ -807,8 +747,6 @@ public Builder addSkus(int index, com.google.cloud.channel.v1.Sku.Builder builde return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -819,7 +757,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); @@ -827,8 +766,6 @@ public Builder addAllSkus( return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -846,8 +783,6 @@ public Builder clearSkus() { return this; } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -865,44 +800,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 { @@ -910,8 +840,6 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { } } /** - * - * *
                * The list of SKUs requested.
                * 
          @@ -919,46 +847,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_; @@ -966,20 +890,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; @@ -988,21 +910,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 { @@ -1010,68 +931,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); } @@ -1081,12 +995,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(); } @@ -1095,16 +1009,16 @@ 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 { - return new ListSkusResponse(input, extensionRegistry); - } - }; + 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 { + return new ListSkusResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java index 0af82b1b..7f465a8a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java index e9a41d9a..f6827703 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListSubscribersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListSubscribersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListSubscribersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -145,29 +121,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 { @@ -178,8 +154,6 @@ 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.
          @@ -188,7 +162,6 @@ public com.google.protobuf.ByteString getAccountBytes() {
              * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -199,8 +172,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.
          @@ -209,7 +180,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -218,15 +188,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
              * Optional. A page token, received from a previous `ListSubscribers` call.
              * Provide this to retrieve the subsequent page.
          @@ -235,15 +204,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 { @@ -252,7 +222,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -287,7 +257,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_); @@ -300,17 +271,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,126 +307,117 @@ 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() @@ -461,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,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_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 @@ -504,8 +469,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_; @@ -517,39 +481,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; @@ -557,8 +520,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(); @@ -589,8 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListSubscribersRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListSubscribersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,20 +563,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; @@ -624,21 +583,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 { @@ -646,70 +604,61 @@ 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.
          @@ -718,7 +667,6 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -726,8 +674,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Optional. The maximum number of service accounts to return. The service may return
                * fewer than this value.
          @@ -736,19 +682,16 @@ 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.
          @@ -757,11 +700,10 @@ 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; @@ -769,8 +711,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.
          @@ -779,13 +719,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; @@ -794,8 +734,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * Optional. A page token, received from a previous `ListSubscribers` call.
                * Provide this to retrieve the subsequent page.
          @@ -804,14 +742,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 { @@ -819,8 +758,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * Optional. A page token, received from a previous `ListSubscribers` call.
                * Provide this to retrieve the subsequent page.
          @@ -829,22 +766,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.
          @@ -853,18 +788,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.
          @@ -873,23 +805,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); } @@ -899,12 +831,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(); } @@ -913,16 +845,16 @@ 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 { - return new ListSubscribersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListSubscribersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java index 5426586d..d5eb7d1b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
          @@ -59,14 +36,11 @@ public interface ListSubscribersRequestOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java index bfaa8722..faba6abb 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListSubscribersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,37 +56,34 @@ private ListSubscribersResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceAccounts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - serviceAccounts_.add(s); - break; + topic_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceAccounts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccounts_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,7 +91,8 @@ private ListSubscribersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serviceAccounts_ = serviceAccounts_.getUnmodifiableView(); @@ -120,33 +101,27 @@ private ListSubscribersResponse( makeExtensionsImmutable(); } } - - 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 @@ -155,29 +130,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 { @@ -188,42 +163,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. */ @@ -231,33 +198,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 @@ -266,30 +228,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
              * A token 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 { @@ -298,7 +260,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +271,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -351,17 +313,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -387,126 +351,117 @@ 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() @@ -514,15 +469,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -536,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_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 @@ -557,8 +513,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)) { @@ -575,39 +530,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; @@ -615,8 +569,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(); @@ -654,8 +607,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListSubscribersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListSubscribersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,25 +616,22 @@ public Builder mergeFrom( } 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; @@ -691,21 +640,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 { @@ -713,112 +661,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. */ @@ -826,90 +757,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() { @@ -919,22 +840,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(); @@ -943,21 +862,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; @@ -966,22 +883,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 { @@ -989,71 +905,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); } @@ -1063,12 +972,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(); } @@ -1077,16 +986,16 @@ 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 { - return new ListSubscribersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListSubscribersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,4 +1010,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java index 9993f1af..21c49ff2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java index e5fc08b2..ae856c5d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.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.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,15 +28,16 @@ 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; } - private ListTransferableOffersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,60 +56,54 @@ private ListTransferableOffersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 5; - transferredCustomerIdentity_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - sku_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 5; + transferredCustomerIdentity_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sku_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -134,40 +111,35 @@ private ListTransferableOffersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; } @@ -183,50 +155,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() { @@ -237,7 +200,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; @@ -246,24 +210,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; } @@ -275,30 +238,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() { @@ -309,7 +266,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; @@ -318,25 +276,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; } @@ -349,14 +306,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 @@ -365,29 +319,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 { @@ -398,8 +352,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.
          @@ -407,7 +359,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -418,8 +369,6 @@ 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
          @@ -428,7 +377,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -437,15 +385,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
              * A token for a page of results other than the first page.
              * Obtained using
          @@ -454,15 +401,16 @@ public java.lang.String getPageToken() {
              * 
          * * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -473,14 +421,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 @@ -489,29 +434,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 { @@ -522,8 +467,6 @@ public com.google.protobuf.ByteString getSkuBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 7; 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.
          @@ -531,7 +474,6 @@ public com.google.protobuf.ByteString getSkuBytes() {
              * 
          * * string language_code = 7; - * * @return The languageCode. */ @java.lang.Override @@ -540,15 +482,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.
          @@ -556,15 +497,16 @@ public java.lang.String getLanguageCode() {
              * 
          * * string language_code = 7; - * * @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 { @@ -573,7 +515,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -585,7 +526,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -620,18 +562,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_); @@ -647,27 +588,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: @@ -711,127 +657,117 @@ 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]
              * 
          * * 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() @@ -839,15 +775,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -867,9 +804,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 @@ -888,8 +825,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_; } @@ -910,39 +846,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; @@ -950,8 +885,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(); @@ -972,24 +906,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.unknownFields); onChanged(); @@ -1010,8 +941,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListTransferableOffersRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListTransferableOffersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1020,12 +950,12 @@ public Builder mergeFrom( } 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() { @@ -1035,15 +965,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 @@ -1051,14 +979,11 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** - * - * *
                * Customer's Cloud Identity ID
                * 
          * * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ @java.lang.Override @@ -1068,7 +993,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; @@ -1079,25 +1005,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; } @@ -1107,35 +1032,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() { @@ -1147,22 +1067,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(); @@ -1170,15 +1088,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 @@ -1186,15 +1101,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 @@ -1204,7 +1116,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; @@ -1215,26 +1128,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; } @@ -1244,37 +1156,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() { @@ -1286,23 +1193,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(); @@ -1311,20 +1216,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; @@ -1333,21 +1236,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 { @@ -1355,70 +1257,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.
          @@ -1426,7 +1319,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1434,8 +1326,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * Requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 100 offers.
          @@ -1443,19 +1333,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.
          @@ -1463,11 +1350,10 @@ public Builder setPageSize(int value) {
                * 
          * * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1475,8 +1361,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1485,13 +1369,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; @@ -1500,8 +1384,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1510,14 +1392,15 @@ public java.lang.String getPageToken() {
                * 
          * * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1525,8 +1408,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1535,22 +1416,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
                * 
          * * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1559,18 +1438,15 @@ public Builder setPageToken(java.lang.String value) {
                * 
          * * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1579,16 +1455,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; @@ -1596,20 +1472,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; @@ -1618,21 +1492,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 { @@ -1640,61 +1513,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; @@ -1702,8 +1568,6 @@ public Builder setSkuBytes(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.
          @@ -1711,13 +1575,13 @@ public Builder setSkuBytes(com.google.protobuf.ByteString value) {
                * 
          * * string language_code = 7; - * * @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; @@ -1726,8 +1590,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.
          @@ -1735,14 +1597,15 @@ public java.lang.String getLanguageCode() {
                * 
          * * string language_code = 7; - * * @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 { @@ -1750,8 +1613,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.
          @@ -1759,22 +1620,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
                * 
          * * string language_code = 7; - * * @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.
          @@ -1782,18 +1641,15 @@ public Builder setLanguageCode(java.lang.String value) {
                * 
          * * string language_code = 7; - * * @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.
          @@ -1801,23 +1657,23 @@ public Builder clearLanguageCode() {
                * 
          * * string language_code = 7; - * * @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); } @@ -1827,12 +1683,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(); } @@ -1841,16 +1697,16 @@ 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 { - return new ListTransferableOffersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableOffersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1865,4 +1721,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListTransferableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java index 53b7240f..adb61fd0 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +96,11 @@ 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
          @@ -151,13 +109,10 @@ public interface ListTransferableOffersRequestOrBuilder
              * 
          * * 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
          @@ -166,39 +121,32 @@ public interface ListTransferableOffersRequestOrBuilder
              * 
          * * 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(); /** - * - * *
              * The BCP-47 language code. For example, "en-US". The
              * response will localize in the corresponding language code, if specified.
          @@ -206,13 +154,10 @@ public interface ListTransferableOffersRequestOrBuilder
              * 
          * * string language_code = 7; - * * @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.
          @@ -220,11 +165,10 @@ public interface ListTransferableOffersRequestOrBuilder
              * 
          * * string language_code = 7; - * * @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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java index 71ba0cce..bf764158 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +26,16 @@ 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; } - private ListTransferableOffersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,32 +55,28 @@ private ListTransferableOffersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transferableOffers_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - transferableOffers_.add( - input.readMessage( - com.google.cloud.channel.v1.TransferableOffer.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transferableOffers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + transferableOffers_.add( + input.readMessage(com.google.cloud.channel.v1.TransferableOffer.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListTransferableOffersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transferableOffers_ = java.util.Collections.unmodifiableList(transferableOffers_); @@ -115,27 +94,22 @@ private ListTransferableOffersResponse( makeExtensionsImmutable(); } } - - 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.
          @@ -148,8 +122,6 @@ public java.util.List getTransfer
               return transferableOffers_;
             }
             /**
          -   *
          -   *
              * 
              * Information about Offers for a customer that can be used for
              * transfer.
          @@ -158,13 +130,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.
          @@ -177,8 +147,6 @@ public int getTransferableOffersCount() {
               return transferableOffers_.size();
             }
             /**
          -   *
          -   *
              * 
              * Information about Offers for a customer that can be used for
              * transfer.
          @@ -191,8 +159,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.
          @@ -209,8 +175,6 @@ 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
          @@ -218,7 +182,6 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -227,15 +190,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
              * A token to retrieve the next page of results.
              * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
          @@ -243,15 +205,16 @@ public java.lang.String getNextPageToken() {
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -260,7 +223,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferableOffers_.size(); i++) { output.writeMessage(1, transferableOffers_.get(i)); } @@ -289,8 +252,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_); @@ -303,16 +266,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,127 +300,117 @@ 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].
              * 
          * * 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() @@ -464,17 +418,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransferableOffersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,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_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 @@ -511,8 +465,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)) { @@ -532,39 +485,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; @@ -572,8 +524,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()) { @@ -592,10 +543,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_); } @@ -624,8 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListTransferableOffersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListTransferableOffersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,30 +583,21 @@ public Builder mergeFrom( } 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.
          @@ -665,8 +605,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 {
          @@ -674,8 +613,6 @@ private void ensureTransferableOffersIsMutable() {
                 }
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -691,8 +628,6 @@ public int getTransferableOffersCount() {
                 }
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -708,8 +643,6 @@ public com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int i
                 }
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -732,8 +665,6 @@ public Builder setTransferableOffers(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -753,8 +684,6 @@ public Builder setTransferableOffers(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -776,8 +705,6 @@ public Builder addTransferableOffers(com.google.cloud.channel.v1.TransferableOff
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -800,8 +727,6 @@ public Builder addTransferableOffers(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -821,8 +746,6 @@ public Builder addTransferableOffers(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -842,8 +765,6 @@ public Builder addTransferableOffers(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -855,7 +776,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);
          @@ -863,8 +785,6 @@ public Builder addAllTransferableOffers(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -883,8 +803,6 @@ public Builder clearTransferableOffers() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -903,8 +821,6 @@ public Builder removeTransferableOffers(int index) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -917,8 +833,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.
          @@ -929,14 +843,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.
          @@ -944,8 +855,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 {
          @@ -953,8 +864,6 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
                 }
               }
               /**
          -     *
          -     *
                * 
                * Information about Offers for a customer that can be used for
                * transfer.
          @@ -963,12 +872,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.
          @@ -978,12 +885,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.
          @@ -991,22 +896,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(),
          @@ -1018,8 +917,6 @@ 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
          @@ -1027,13 +924,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; @@ -1042,8 +939,6 @@ 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
          @@ -1051,14 +946,15 @@ public java.lang.String getNextPageToken() {
                * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1066,8 +962,6 @@ 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
          @@ -1075,22 +969,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
                * 
          * * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
          @@ -1098,18 +990,15 @@ public Builder setNextPageToken(java.lang.String value) {
                * 
          * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
          @@ -1117,23 +1006,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); } @@ -1143,12 +1032,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(); } @@ -1157,16 +1046,16 @@ 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 { - return new ListTransferableOffersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableOffersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1181,4 +1070,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListTransferableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java index 36f0dddb..87bee9e1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java +++ b/owl-bot-staging/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,11 +53,10 @@ 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
          @@ -90,13 +64,10 @@ public interface ListTransferableOffersResponseOrBuilder
              * 
          * * 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
          @@ -104,8 +75,8 @@ public interface ListTransferableOffersResponseOrBuilder
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java index 89e61d16..fb9f3b34 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.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.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,15 +28,16 @@ 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; } - private ListTransferableSkusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,60 +56,54 @@ private ListTransferableSkusRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - authToken_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 7; - transferredCustomerIdentity_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + authToken_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 7; + transferredCustomerIdentity_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -134,40 +111,35 @@ private ListTransferableSkusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; } @@ -183,50 +155,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() { @@ -237,7 +200,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; @@ -246,24 +210,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; } @@ -275,8 +238,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.
          @@ -285,15 +246,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.
          @@ -302,7 +260,6 @@ public boolean hasCustomerName() {
              * 
          * * string customer_name = 7; - * * @return The customerName. */ public java.lang.String getCustomerName() { @@ -313,7 +270,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; @@ -322,8 +280,6 @@ public java.lang.String getCustomerName() { } } /** - * - * *
              * A reseller is required to create a customer and use the resource name of
              * the created customer here.
          @@ -332,17 +288,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; } @@ -355,15 +312,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 @@ -372,30 +326,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 { @@ -406,8 +360,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.
          @@ -416,7 +368,6 @@ public com.google.protobuf.ByteString getParentBytes() {
              * 
          * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -427,8 +378,6 @@ 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
          @@ -438,7 +387,6 @@ public int getPageSize() {
              * 
          * * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -447,15 +395,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
              * A token for a page of results other than the first page.
              * Obtained using
          @@ -465,15 +412,16 @@ public java.lang.String getPageToken() {
              * 
          * * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -484,8 +432,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int AUTH_TOKEN_FIELD_NUMBER = 5; 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
          @@ -494,7 +440,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
              * 
          * * string auth_token = 5; - * * @return The authToken. */ @java.lang.Override @@ -503,15 +448,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
          @@ -520,15 +464,16 @@ public java.lang.String getAuthToken() {
              * 
          * * string auth_token = 5; - * * @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 { @@ -539,8 +484,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.
          @@ -549,7 +492,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
              * 
          * * string language_code = 6; - * * @return The languageCode. */ @java.lang.Override @@ -558,15 +500,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.
          @@ -575,15 +516,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 { @@ -592,7 +534,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -604,7 +545,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -639,14 +581,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_); @@ -655,8 +597,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -666,27 +607,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: @@ -730,127 +676,117 @@ 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]
              * 
          * * 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() @@ -858,15 +794,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -886,9 +823,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 @@ -907,8 +844,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_; } @@ -929,39 +865,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; @@ -969,8 +904,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(); @@ -991,24 +925,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.unknownFields); onChanged(); @@ -1029,8 +960,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListTransferableSkusRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListTransferableSkusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1039,12 +969,12 @@ public Builder mergeFrom( } 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() { @@ -1054,15 +984,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 @@ -1070,14 +998,11 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** - * - * *
                * Customer's Cloud Identity ID
                * 
          * * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ @java.lang.Override @@ -1087,7 +1012,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; @@ -1098,25 +1024,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; } @@ -1126,35 +1051,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() { @@ -1166,22 +1086,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(); @@ -1189,8 +1107,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.
          @@ -1199,7 +1115,6 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) {
                * 
          * * string customer_name = 7; - * * @return Whether the customerName field is set. */ @java.lang.Override @@ -1207,8 +1122,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.
          @@ -1217,7 +1130,6 @@ public boolean hasCustomerName() {
                * 
          * * string customer_name = 7; - * * @return The customerName. */ @java.lang.Override @@ -1227,7 +1139,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; @@ -1238,8 +1151,6 @@ public java.lang.String getCustomerName() { } } /** - * - * *
                * A reseller is required to create a customer and use the resource name of
                * the created customer here.
          @@ -1248,18 +1159,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; } @@ -1269,8 +1181,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.
          @@ -1279,22 +1189,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.
          @@ -1303,7 +1211,6 @@ public Builder setCustomerName(java.lang.String value) {
                * 
          * * string customer_name = 7; - * * @return This builder for chaining. */ public Builder clearCustomerName() { @@ -1315,8 +1222,6 @@ public Builder clearCustomerName() { return this; } /** - * - * *
                * A reseller is required to create a customer and use the resource name of
                * the created customer here.
          @@ -1325,15 +1230,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(); @@ -1342,21 +1247,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; @@ -1365,22 +1268,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 { @@ -1388,73 +1290,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.
          @@ -1463,7 +1356,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
                * 
          * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1471,8 +1363,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
                * The requested page size. Server might return fewer results than requested.
                * If unspecified, returns at most 100 SKUs.
          @@ -1481,19 +1371,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.
          @@ -1502,11 +1389,10 @@ public Builder setPageSize(int value) {
                * 
          * * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1514,8 +1400,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1525,13 +1409,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; @@ -1540,8 +1424,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1551,14 +1433,15 @@ public java.lang.String getPageToken() {
                * 
          * * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1566,8 +1449,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1577,22 +1458,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
                * 
          * * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1602,18 +1481,15 @@ public Builder setPageToken(java.lang.String value) {
                * 
          * * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
                * A token for a page of results other than the first page.
                * Obtained using
          @@ -1623,16 +1499,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; @@ -1640,8 +1516,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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
          @@ -1650,13 +1524,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
                * 
          * * string auth_token = 5; - * * @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; @@ -1665,8 +1539,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
          @@ -1675,14 +1547,15 @@ public java.lang.String getAuthToken() {
                * 
          * * string auth_token = 5; - * * @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 { @@ -1690,8 +1563,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
          @@ -1700,22 +1571,20 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
                * 
          * * string auth_token = 5; - * * @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
          @@ -1724,18 +1593,15 @@ public Builder setAuthToken(java.lang.String value) {
                * 
          * * string auth_token = 5; - * * @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
          @@ -1744,16 +1610,16 @@ public Builder clearAuthToken() {
                * 
          * * string auth_token = 5; - * * @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; @@ -1761,8 +1627,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.
          @@ -1771,13 +1635,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; @@ -1786,8 +1650,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.
          @@ -1796,14 +1658,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 { @@ -1811,8 +1674,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.
          @@ -1821,22 +1682,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.
          @@ -1845,18 +1704,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.
          @@ -1865,23 +1721,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); } @@ -1891,12 +1747,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(); } @@ -1905,16 +1761,16 @@ 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 { - return new ListTransferableSkusRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableSkusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1929,4 +1785,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListTransferableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java index 7acea2a3..cf0e9c91 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +105,11 @@ 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
          @@ -161,13 +119,10 @@ public interface ListTransferableSkusRequestOrBuilder
              * 
          * * 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
          @@ -177,14 +132,12 @@ public interface ListTransferableSkusRequestOrBuilder
              * 
          * * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
              * The super admin of the resold customer generates this token to
              * authorize a reseller to access their Cloud Identity and purchase
          @@ -193,13 +146,10 @@ public interface ListTransferableSkusRequestOrBuilder
              * 
          * * string auth_token = 5; - * * @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
          @@ -208,14 +158,12 @@ public interface ListTransferableSkusRequestOrBuilder
              * 
          * * string auth_token = 5; - * * @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 +172,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 +184,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java similarity index 76% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java index 9566b46e..1a76efb7 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.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 [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,15 +26,16 @@ 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; } - private ListTransferableSkusResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListTransferableSkusResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transferableSkus_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - transferableSkus_.add( - input.readMessage( - com.google.cloud.channel.v1.TransferableSku.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transferableSkus_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + transferableSkus_.add( + input.readMessage(com.google.cloud.channel.v1.TransferableSku.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListTransferableSkusResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transferableSkus_ = java.util.Collections.unmodifiableList(transferableSkus_); @@ -114,27 +94,22 @@ private ListTransferableSkusResponse( makeExtensionsImmutable(); } } - - 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.
              * 
          @@ -146,8 +121,6 @@ public java.util.List getTransferab return transferableSkus_; } /** - * - * *
              * Information about existing SKUs for a customer that needs a transfer.
              * 
          @@ -155,13 +128,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.
              * 
          @@ -173,8 +144,6 @@ public int getTransferableSkusCount() { return transferableSkus_.size(); } /** - * - * *
              * Information about existing SKUs for a customer that needs a transfer.
              * 
          @@ -186,8 +155,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.
              * 
          @@ -203,8 +170,6 @@ 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
          @@ -212,7 +177,6 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO
              * 
          * * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +185,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
              * A token to retrieve the next page of results.
              * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
          @@ -237,15 +200,16 @@ public java.lang.String getNextPageToken() {
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -254,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferableSkus_.size(); i++) { output.writeMessage(1, transferableSkus_.get(i)); } @@ -283,7 +247,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_); @@ -296,16 +261,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,127 +295,117 @@ 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].
              * 
          * * 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() @@ -457,17 +413,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransferableSkusFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +439,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 @@ -504,8 +460,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)) { @@ -525,39 +480,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; @@ -565,8 +519,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()) { @@ -585,10 +538,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_); } @@ -617,8 +569,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ListTransferableSkusResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ListTransferableSkusResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,29 +578,21 @@ public Builder mergeFrom( } 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.
                * 
          @@ -664,8 +607,6 @@ public java.util.List getTransferab } } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -680,8 +621,6 @@ public int getTransferableSkusCount() { } } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -696,8 +635,6 @@ public com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index } } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -719,8 +656,6 @@ public Builder setTransferableSkus( return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -739,8 +674,6 @@ public Builder setTransferableSkus( return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -761,8 +694,6 @@ public Builder addTransferableSkus(com.google.cloud.channel.v1.TransferableSku v return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -784,8 +715,6 @@ public Builder addTransferableSkus( return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -804,8 +733,6 @@ public Builder addTransferableSkus( return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -824,8 +751,6 @@ public Builder addTransferableSkus( return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -836,7 +761,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); @@ -844,8 +770,6 @@ public Builder addAllTransferableSkus( return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -863,8 +787,6 @@ public Builder clearTransferableSkus() { return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -882,8 +804,6 @@ public Builder removeTransferableSkus(int index) { return this; } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -895,8 +815,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.
                * 
          @@ -906,22 +824,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 { @@ -929,8 +844,6 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO } } /** - * - * *
                * Information about existing SKUs for a customer that needs a transfer.
                * 
          @@ -938,12 +851,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.
                * 
          @@ -952,34 +863,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(), @@ -991,8 +894,6 @@ 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
          @@ -1000,13 +901,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; @@ -1015,8 +916,6 @@ 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
          @@ -1024,14 +923,15 @@ public java.lang.String getNextPageToken() {
                * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1039,8 +939,6 @@ 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
          @@ -1048,22 +946,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
                * 
          * * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
          @@ -1071,18 +967,15 @@ public Builder setNextPageToken(java.lang.String value) {
                * 
          * * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
                * A token to retrieve the next page of results.
                * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
          @@ -1090,23 +983,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); } @@ -1116,12 +1009,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(); } @@ -1130,16 +1023,16 @@ 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 { - return new ListTransferableSkusResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableSkusResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,4 +1047,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListTransferableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java index d959f016..926c9cda 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java +++ b/owl-bot-staging/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,30 +33,25 @@ 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
          @@ -85,13 +59,10 @@ public interface ListTransferableSkusResponseOrBuilder
              * 
          * * 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
          @@ -99,8 +70,8 @@ public interface ListTransferableSkusResponseOrBuilder
              * 
          * * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java index a5958852..b459c0ab 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private LookupOfferRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private LookupOfferRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + entitlement_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,36 @@ private LookupOfferRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,127 +207,118 @@ 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() @@ -362,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +345,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 @@ -401,8 +366,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; @@ -412,39 +376,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; @@ -488,24 +451,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; @@ -514,25 +473,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 { @@ -540,80 +496,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); } @@ -623,12 +566,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(); } @@ -637,16 +580,16 @@ 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 { - return new LookupOfferRequest(input, extensionRegistry); - } - }; + 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 { + return new LookupOfferRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.LookupOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java new file mode 100644 index 00000000..09154c38 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java index af797bdd..a568e3a8 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private MarketingInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,42 +54,38 @@ private MarketingInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 26: { + com.google.cloud.channel.v1.Media.Builder subBuilder = null; + if (defaultLogo_ != null) { + subBuilder = defaultLogo_.toBuilder(); } - case 26: - { - com.google.cloud.channel.v1.Media.Builder subBuilder = null; - if (defaultLogo_ != null) { - subBuilder = defaultLogo_.toBuilder(); - } - defaultLogo_ = - input.readMessage(com.google.cloud.channel.v1.Media.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(defaultLogo_); - defaultLogo_ = subBuilder.buildPartial(); - } - - break; + defaultLogo_ = input.readMessage(com.google.cloud.channel.v1.Media.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(defaultLogo_); + defaultLogo_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +93,34 @@ private MarketingInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -155,29 +129,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 { @@ -188,14 +162,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 @@ -204,29 +175,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 { @@ -237,14 +208,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 @@ -252,25 +220,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.
              * 
          @@ -283,7 +244,6 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -321,7 +282,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,19 +293,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -369,127 +333,118 @@ 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() @@ -497,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +479,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 @@ -544,8 +500,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) { @@ -561,39 +516,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; @@ -644,20 +598,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; @@ -666,21 +618,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 { @@ -688,61 +639,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; @@ -750,20 +694,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; @@ -772,21 +714,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 { @@ -794,61 +735,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; @@ -856,47 +790,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.
                * 
          @@ -917,15 +838,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(); @@ -936,8 +856,6 @@ public Builder setDefaultLogo(com.google.cloud.channel.v1.Media.Builder builderF return this; } /** - * - * *
                * Default logo.
                * 
          @@ -948,9 +866,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; } @@ -962,8 +878,6 @@ public Builder mergeDefaultLogo(com.google.cloud.channel.v1.Media value) { return this; } /** - * - * *
                * Default logo.
                * 
          @@ -982,8 +896,6 @@ public Builder clearDefaultLogo() { return this; } /** - * - * *
                * Default logo.
                * 
          @@ -991,13 +903,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.
                * 
          @@ -1008,14 +918,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.
                * 
          @@ -1023,24 +930,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); } @@ -1050,12 +954,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(); } @@ -1064,16 +968,16 @@ 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 { - return new MarketingInfo(input, extensionRegistry); - } - }; + 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 { + return new MarketingInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1088,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.MarketingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java similarity index 65% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java index 43db2fbd..100bef7a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java index b9ac8cbf..a8984aa8 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private Media( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Media( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + title_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - content_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + content_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,39 +87,34 @@ private Media( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -148,29 +123,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 { @@ -181,14 +156,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 @@ -197,29 +169,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 { @@ -230,41 +202,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; @@ -276,7 +238,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -302,7 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -312,15 +276,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -344,126 +310,118 @@ 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() @@ -471,15 +429,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -493,9 +452,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 @@ -526,39 +485,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; @@ -609,20 +567,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; @@ -631,21 +587,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 { @@ -653,61 +608,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; @@ -715,20 +663,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; @@ -737,21 +683,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 { @@ -759,61 +704,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; @@ -821,65 +759,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. */ @@ -887,31 +811,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); } @@ -921,12 +842,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(); } @@ -935,16 +856,16 @@ 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 { - return new Media(input, extensionRegistry); - } - }; + 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 { + return new Media(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,4 +880,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Media getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java index 8c8622d8..9a308ba2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java index 81c8e6fe..6feb49dd 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java index 20321be3..349841bd 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.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 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
          @@ -29,16 +12,15 @@
            *
            * 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();
          @@ -47,15 +29,16 @@ 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;
             }
          -
             private Offer(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -75,135 +58,115 @@ private Offer(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              name_ = s;
          -              break;
          +            name_ = s;
          +            break;
          +          }
          +          case 18: {
          +            com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
          +            if (marketingInfo_ != null) {
          +              subBuilder = marketingInfo_.toBuilder();
                       }
          -          case 18:
          -            {
          -              com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
          -              if (marketingInfo_ != null) {
          -                subBuilder = marketingInfo_.toBuilder();
          -              }
          -              marketingInfo_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(marketingInfo_);
          -                marketingInfo_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            marketingInfo_ = input.readMessage(com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(marketingInfo_);
          +              marketingInfo_ = subBuilder.buildPartial();
          +            }
          +
          +            break;
          +          }
          +          case 26: {
          +            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          +            if (sku_ != null) {
          +              subBuilder = sku_.toBuilder();
                       }
          -          case 26:
          -            {
          -              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          -              if (sku_ != null) {
          -                subBuilder = sku_.toBuilder();
          -              }
          -              sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(sku_);
          -                sku_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(sku_);
          +              sku_ = subBuilder.buildPartial();
                       }
          -          case 34:
          -            {
          -              com.google.cloud.channel.v1.Plan.Builder subBuilder = null;
          -              if (plan_ != null) {
          -                subBuilder = plan_.toBuilder();
          -              }
          -              plan_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Plan.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(plan_);
          -                plan_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +
          +            break;
          +          }
          +          case 34: {
          +            com.google.cloud.channel.v1.Plan.Builder subBuilder = null;
          +            if (plan_ != null) {
          +              subBuilder = plan_.toBuilder();
                       }
          -          case 42:
          -            {
          -              com.google.cloud.channel.v1.Constraints.Builder subBuilder = null;
          -              if (constraints_ != null) {
          -                subBuilder = constraints_.toBuilder();
          -              }
          -              constraints_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.Constraints.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(constraints_);
          -                constraints_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            plan_ = input.readMessage(com.google.cloud.channel.v1.Plan.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(plan_);
          +              plan_ = subBuilder.buildPartial();
                       }
          -          case 50:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          -                priceByResources_ =
          -                    new java.util.ArrayList();
          -                mutable_bitField0_ |= 0x00000001;
          -              }
          -              priceByResources_.add(
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.PriceByResource.parser(), extensionRegistry));
          -              break;
          +
          +            break;
          +          }
          +          case 42: {
          +            com.google.cloud.channel.v1.Constraints.Builder subBuilder = null;
          +            if (constraints_ != null) {
          +              subBuilder = constraints_.toBuilder();
                       }
          -          case 58:
          -            {
          -              com.google.protobuf.Timestamp.Builder subBuilder = null;
          -              if (startTime_ != null) {
          -                subBuilder = startTime_.toBuilder();
          -              }
          -              startTime_ =
          -                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(startTime_);
          -                startTime_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            constraints_ = input.readMessage(com.google.cloud.channel.v1.Constraints.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(constraints_);
          +              constraints_ = subBuilder.buildPartial();
                       }
          -          case 66:
          -            {
          -              com.google.protobuf.Timestamp.Builder subBuilder = null;
          -              if (endTime_ != null) {
          -                subBuilder = endTime_.toBuilder();
          -              }
          -              endTime_ =
          -                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(endTime_);
          -                endTime_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +
          +            break;
          +          }
          +          case 50: {
          +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          +              priceByResources_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000001;
                       }
          -          case 74:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
          -                parameterDefinitions_ =
          -                    new java.util.ArrayList();
          -                mutable_bitField0_ |= 0x00000002;
          -              }
          -              parameterDefinitions_.add(
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.ParameterDefinition.parser(), extensionRegistry));
          -              break;
          +            priceByResources_.add(
          +                input.readMessage(com.google.cloud.channel.v1.PriceByResource.parser(), extensionRegistry));
          +            break;
          +          }
          +          case 58: {
          +            com.google.protobuf.Timestamp.Builder subBuilder = null;
          +            if (startTime_ != null) {
          +              subBuilder = startTime_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(startTime_);
          +              startTime_ = subBuilder.buildPartial();
                       }
          +
          +            break;
          +          }
          +          case 66: {
          +            com.google.protobuf.Timestamp.Builder subBuilder = null;
          +            if (endTime_ != null) {
          +              subBuilder = endTime_.toBuilder();
          +            }
          +            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(endTime_);
          +              endTime_ = subBuilder.buildPartial();
          +            }
          +
          +            break;
          +          }
          +          case 74: {
          +            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
          +              parameterDefinitions_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000002;
          +            }
          +            parameterDefinitions_.add(
          +                input.readMessage(com.google.cloud.channel.v1.ParameterDefinition.parser(), extensionRegistry));
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
          +            }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -211,7 +174,8 @@ private Offer(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   priceByResources_ = java.util.Collections.unmodifiableList(priceByResources_);
          @@ -223,34 +187,28 @@ private Offer(
                 makeExtensionsImmutable();
               }
             }
          -
          -  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 @@ -259,30 +217,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 { @@ -293,14 +251,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 @@ -308,25 +263,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.
              * 
          @@ -341,14 +289,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 @@ -356,14 +301,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 @@ -371,8 +313,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.
              * 
          @@ -387,14 +327,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 @@ -402,14 +339,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 @@ -417,8 +351,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.
              * 
          @@ -433,14 +365,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 @@ -448,25 +377,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.
              * 
          @@ -481,8 +403,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.
              * 
          @@ -494,8 +414,6 @@ public java.util.List getPriceByRes return priceByResources_; } /** - * - * *
              * Price for each monetizable resource type.
              * 
          @@ -503,13 +421,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.
              * 
          @@ -521,8 +437,6 @@ public int getPriceByResourcesCount() { return priceByResources_.size(); } /** - * - * *
              * Price for each monetizable resource type.
              * 
          @@ -534,8 +448,6 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index return priceByResources_.get(index); } /** - * - * *
              * Price for each monetizable resource type.
              * 
          @@ -551,14 +463,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 @@ -566,14 +475,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 @@ -581,8 +487,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
              * Start of the Offer validity time.
              * 
          @@ -597,15 +501,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 @@ -613,15 +513,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 @@ -629,14 +525,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() { @@ -646,8 +539,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.
              * 
          @@ -655,13 +546,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.
              * 
          @@ -669,13 +557,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.
              * 
          @@ -687,8 +573,6 @@ public int getParameterDefinitionsCount() { return parameterDefinitions_.size(); } /** - * - * *
              * Parameters required to use current Offer to purchase.
              * 
          @@ -700,8 +584,6 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i return parameterDefinitions_.get(index); } /** - * - * *
              * Parameters required to use current Offer to purchase.
              * 
          @@ -715,7 +597,6 @@ public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefi } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -727,7 +608,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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,29 +650,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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -800,40 +689,49 @@ public int 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 (!getParameterDefinitionsList() + .equals(other.getParameterDefinitionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -884,103 +782,97 @@ 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
          @@ -989,23 +881,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
              *
              * 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()
          @@ -1013,18 +903,18 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
                   getPriceByResourcesFieldBuilder();
                   getParameterDefinitionsFieldBuilder();
                 }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -1082,9 +972,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
          @@ -1162,39 +1052,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;
          @@ -1237,10 +1126,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_);
                     }
          @@ -1270,10 +1158,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_);
                     }
          @@ -1307,26 +1194,23 @@ public Builder mergeFrom(
                 }
                 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; @@ -1335,22 +1219,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 { @@ -1358,64 +1241,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; @@ -1423,47 +1299,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.
                * 
          @@ -1484,8 +1347,6 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** - * - * *
                * Marketing information for the Offer.
                * 
          @@ -1504,8 +1365,6 @@ public Builder setMarketingInfo( return this; } /** - * - * *
                * Marketing information for the Offer.
                * 
          @@ -1516,9 +1375,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; } @@ -1530,8 +1387,6 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** - * - * *
                * Marketing information for the Offer.
                * 
          @@ -1550,8 +1405,6 @@ public Builder clearMarketingInfo() { return this; } /** - * - * *
                * Marketing information for the Offer.
                * 
          @@ -1559,13 +1412,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.
                * 
          @@ -1576,14 +1427,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.
                * 
          @@ -1591,17 +1439,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_; @@ -1609,33 +1454,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() { @@ -1646,8 +1482,6 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** - * - * *
                * SKU the offer is associated with.
                * 
          @@ -1668,15 +1502,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(); @@ -1687,8 +1520,6 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { return this; } /** - * - * *
                * SKU the offer is associated with.
                * 
          @@ -1698,7 +1529,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; } @@ -1710,8 +1542,6 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
                * SKU the offer is associated with.
                * 
          @@ -1730,8 +1560,6 @@ public Builder clearSku() { return this; } /** - * - * *
                * SKU the offer is associated with.
                * 
          @@ -1739,13 +1567,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.
                * 
          @@ -1756,12 +1582,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.
                * 
          @@ -1769,17 +1594,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_; @@ -1787,33 +1609,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() { @@ -1824,8 +1637,6 @@ public com.google.cloud.channel.v1.Plan getPlan() { } } /** - * - * *
                * Describes the payment plan for the Offer.
                * 
          @@ -1846,15 +1657,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(); @@ -1865,8 +1675,6 @@ public Builder setPlan(com.google.cloud.channel.v1.Plan.Builder builderForValue) return this; } /** - * - * *
                * Describes the payment plan for the Offer.
                * 
          @@ -1877,7 +1685,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; } @@ -1889,8 +1697,6 @@ public Builder mergePlan(com.google.cloud.channel.v1.Plan value) { return this; } /** - * - * *
                * Describes the payment plan for the Offer.
                * 
          @@ -1909,8 +1715,6 @@ public Builder clearPlan() { return this; } /** - * - * *
                * Describes the payment plan for the Offer.
                * 
          @@ -1918,13 +1722,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.
                * 
          @@ -1935,12 +1737,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.
                * 
          @@ -1948,17 +1749,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_; @@ -1966,47 +1764,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.
                * 
          @@ -2027,15 +1812,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(); @@ -2046,8 +1830,6 @@ public Builder setConstraints(com.google.cloud.channel.v1.Constraints.Builder bu return this; } /** - * - * *
                * Constraints on transacting the Offer.
                * 
          @@ -2058,9 +1840,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; } @@ -2072,8 +1852,6 @@ public Builder mergeConstraints(com.google.cloud.channel.v1.Constraints value) { return this; } /** - * - * *
                * Constraints on transacting the Offer.
                * 
          @@ -2092,8 +1870,6 @@ public Builder clearConstraints() { return this; } /** - * - * *
                * Constraints on transacting the Offer.
                * 
          @@ -2101,13 +1877,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.
                * 
          @@ -2118,14 +1892,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.
                * 
          @@ -2133,42 +1904,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.
                * 
          @@ -2183,8 +1944,6 @@ public java.util.List getPriceByRes } } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2199,8 +1958,6 @@ public int getPriceByResourcesCount() { } } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2215,8 +1972,6 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index } } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2238,8 +1993,6 @@ public Builder setPriceByResources( return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2258,8 +2011,6 @@ public Builder setPriceByResources( return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2280,8 +2031,6 @@ public Builder addPriceByResources(com.google.cloud.channel.v1.PriceByResource v return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2303,8 +2052,6 @@ public Builder addPriceByResources( return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2323,8 +2070,6 @@ public Builder addPriceByResources( return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2343,8 +2088,6 @@ public Builder addPriceByResources( return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2355,7 +2098,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); @@ -2363,8 +2107,6 @@ public Builder addAllPriceByResources( return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2382,8 +2124,6 @@ public Builder clearPriceByResources() { return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2401,8 +2141,6 @@ public Builder removePriceByResources(int index) { return this; } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2414,8 +2152,6 @@ public com.google.cloud.channel.v1.PriceByResource.Builder getPriceByResourcesBu return getPriceByResourcesFieldBuilder().getBuilder(index); } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2425,22 +2161,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 { @@ -2448,8 +2181,6 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO } } /** - * - * *
                * Price for each monetizable resource type.
                * 
          @@ -2457,12 +2188,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.
                * 
          @@ -2471,34 +2200,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(), @@ -2510,33 +2231,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() { @@ -2547,8 +2259,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
                * Start of the Offer validity time.
                * 
          @@ -2569,15 +2279,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(); @@ -2588,8 +2297,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
                * Start of the Offer validity time.
                * 
          @@ -2600,7 +2307,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; } @@ -2612,8 +2319,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
                * Start of the Offer validity time.
                * 
          @@ -2632,8 +2337,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
                * Start of the Offer validity time.
                * 
          @@ -2641,13 +2344,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.
                * 
          @@ -2658,12 +2359,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.
                * 
          @@ -2671,17 +2371,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_; @@ -2689,35 +2386,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() { @@ -2728,14 +2414,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) { @@ -2751,16 +2434,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(); @@ -2771,20 +2452,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; } @@ -2796,14 +2474,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) { @@ -2817,93 +2492,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 { @@ -2911,8 +2566,6 @@ private void ensureParameterDefinitionsIsMutable() { } } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -2927,8 +2580,6 @@ public int getParameterDefinitionsCount() { } } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -2943,8 +2594,6 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i } } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -2966,8 +2615,6 @@ public Builder setParameterDefinitions( return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -2986,8 +2633,6 @@ public Builder setParameterDefinitions( return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3008,8 +2653,6 @@ public Builder addParameterDefinitions(com.google.cloud.channel.v1.ParameterDefi return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3031,8 +2674,6 @@ public Builder addParameterDefinitions( return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3051,8 +2692,6 @@ public Builder addParameterDefinitions( return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3071,8 +2710,6 @@ public Builder addParameterDefinitions( return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3083,7 +2720,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); @@ -3091,8 +2729,6 @@ public Builder addAllParameterDefinitions( return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3110,8 +2746,6 @@ public Builder clearParameterDefinitions() { return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3129,8 +2763,6 @@ public Builder removeParameterDefinitions(int index) { return this; } /** - * - * *
                * Parameters required to use current Offer to purchase.
                * 
          @@ -3142,33 +2774,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 { @@ -3176,22 +2803,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.
                * 
          @@ -3200,34 +2822,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(), @@ -3236,9 +2850,9 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefin } return parameterDefinitionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3248,12 +2862,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(); } @@ -3262,16 +2876,16 @@ 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 { - return new Offer(input, extensionRegistry); - } - }; + 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 { + return new Offer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3286,4 +2900,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Offer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java similarity index 83% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java index 90f25a6d..bda722ab 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java +++ b/owl-bot-staging/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.
              * 
          diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java new file mode 100644 index 00000000..4be096f3 --- /dev/null +++ b/owl-bot-staging/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\"\251\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:I\352AF\n!cloudchannel." + + "googleapis.com/Offer\022!accounts/{account}" + + "/offers/{offer}\"\373\002\n\023ParameterDefinition\022" + + "\014\n\004name\030\001 \001(\t\022R\n\016parameter_type\030\002 \001(\0162:." + + "google.cloud.channel.v1.ParameterDefinit" + + "ion.ParameterType\0221\n\tmin_value\030\003 \001(\0132\036.g" + + "oogle.cloud.channel.v1.Value\0221\n\tmax_valu" + + "e\030\004 \001(\0132\036.google.cloud.channel.v1.Value\022" + + "6\n\016allowed_values\030\005 \003(\0132\036.google.cloud.c" + + "hannel.v1.Value\022\020\n\010optional\030\006 \001(\010\"R\n\rPar" + + "ameterType\022\036\n\032PARAMETER_TYPE_UNSPECIFIED" + + "\020\000\022\t\n\005INT64\020\001\022\n\n\006STRING\020\002\022\n\n\006DOUBLE\020\003\"Y\n" + + "\013Constraints\022J\n\024customer_constraints\030\001 \001" + + "(\0132,.google.cloud.channel.v1.CustomerCon" + + "straints\"\327\001\n\023CustomerConstraints\022\027\n\017allo" + + "wed_regions\030\001 \003(\t\022W\n\026allowed_customer_ty" + + "pes\030\002 \003(\01627.google.cloud.channel.v1.Clou" + + "dIdentityInfo.CustomerType\022N\n\027promotiona" + + "l_order_types\030\003 \003(\0162-.google.cloud.chann" + + "el.v1.PromotionalOrderType\"\206\002\n\004Plan\022:\n\014p" + + "ayment_plan\030\001 \001(\0162$.google.cloud.channel" + + ".v1.PaymentPlan\022:\n\014payment_type\030\002 \001(\0162$." + + "google.cloud.channel.v1.PaymentType\0226\n\rp" + + "ayment_cycle\030\003 \001(\0132\037.google.cloud.channe" + + "l.v1.Period\0225\n\014trial_period\030\004 \001(\0132\037.goog" + + "le.cloud.channel.v1.Period\022\027\n\017billing_ac" + + "count\030\005 \001(\t\"\271\001\n\017PriceByResource\022<\n\rresou" + + "rce_type\030\001 \001(\0162%.google.cloud.channel.v1" + + ".ResourceType\022-\n\005price\030\002 \001(\0132\036.google.cl" + + "oud.channel.v1.Price\0229\n\014price_phases\030\003 \003" + + "(\0132#.google.cloud.channel.v1.PricePhase\"" + + "\212\001\n\005Price\022&\n\nbase_price\030\001 \001(\0132\022.google.t" + + "ype.Money\022\020\n\010discount\030\002 \001(\001\022+\n\017effective" + + "_price\030\003 \001(\0132\022.google.type.Money\022\032\n\022exte" + + "rnal_price_uri\030\004 \001(\t\"\331\001\n\nPricePhase\0228\n\013p" + + "eriod_type\030\001 \001(\0162#.google.cloud.channel." + + "v1.PeriodType\022\024\n\014first_period\030\002 \001(\005\022\023\n\013l" + + "ast_period\030\003 \001(\005\022-\n\005price\030\004 \001(\0132\036.google" + + ".cloud.channel.v1.Price\0227\n\013price_tiers\030\005" + + " \003(\0132\".google.cloud.channel.v1.PriceTier" + + "\"i\n\tPriceTier\022\026\n\016first_resource\030\001 \001(\005\022\025\n" + + "\rlast_resource\030\002 \001(\005\022-\n\005price\030\003 \001(\0132\036.go" + + "ogle.cloud.channel.v1.Price\"T\n\006Period\022\020\n" + + "\010duration\030\001 \001(\005\0228\n\013period_type\030\002 \001(\0162#.g" + + "oogle.cloud.channel.v1.PeriodType*m\n\024Pro" + + "motionalOrderType\022 \n\034PROMOTIONAL_TYPE_UN" + + "SPECIFIED\020\000\022\017\n\013NEW_UPGRADE\020\001\022\014\n\010TRANSFER" + + "\020\002\022\024\n\020PROMOTION_SWITCH\020\003*k\n\013PaymentPlan\022" + + "\034\n\030PAYMENT_PLAN_UNSPECIFIED\020\000\022\016\n\nCOMMITM" + + "ENT\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\013PaymentType\022\034\n\030PAYMENT_" + + "TYPE_UNSPECIFIED\020\000\022\n\n\006PREPAY\020\001\022\013\n\007POSTPA" + + "Y\020\002*\212\001\n\014ResourceType\022\035\n\031RESOURCE_TYPE_UN" + + "SPECIFIED\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\007MINUTES\020\005\022\016\n\nIAAS_U" + + "SAGE\020\006\022\020\n\014SUBSCRIPTION\020\007*G\n\nPeriodType\022\033" + + "\n\027PERIOD_TYPE_UNSPECIFIED\020\000\022\007\n\003DAY\020\001\022\t\n\005" + + "MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033com.google.cloud.ch" + + "annel.v1B\013OffersProtoP\001Z>google.golang.o" + + "rg/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.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", }); + 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java index adff3ebd..252594b2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/operations.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private OperationMetadata( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - operationType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + operationType_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,36 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
                * 
          @@ -134,8 +111,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_TYPE_UNSPECIFIED(0), /** - * - * *
                * Long Running Operation was triggered by CreateEntitlement.
                * 
          @@ -144,8 +119,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_ENTITLEMENT(1), /** - * - * *
                * Long Running Operation was triggered by ChangeRenewalSettings.
                * 
          @@ -154,8 +127,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_RENEWAL_SETTINGS(3), /** - * - * *
                * Long Running Operation was triggered by StartPaidService.
                * 
          @@ -164,8 +135,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ START_PAID_SERVICE(5), /** - * - * *
                * Long Running Operation was triggered by ActivateEntitlement.
                * 
          @@ -174,8 +143,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVATE_ENTITLEMENT(7), /** - * - * *
                * Long Running Operation was triggered by SuspendEntitlement.
                * 
          @@ -184,8 +151,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ SUSPEND_ENTITLEMENT(8), /** - * - * *
                * Long Running Operation was triggered by CancelEntitlement.
                * 
          @@ -194,8 +159,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CANCEL_ENTITLEMENT(9), /** - * - * *
                * Long Running Operation was triggered by TransferEntitlements.
                * 
          @@ -204,8 +167,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_ENTITLEMENTS(10), /** - * - * *
                * Long Running Operation was triggered by TransferEntitlementsToGoogle.
                * 
          @@ -214,8 +175,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_ENTITLEMENTS_TO_GOOGLE(11), /** - * - * *
                * Long Running Operation was triggered by ChangeOffer.
                * 
          @@ -224,8 +183,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_OFFER(14), /** - * - * *
                * Long Running Operation was triggered by ChangeParameters.
                * 
          @@ -234,8 +191,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_PARAMETERS(15), /** - * - * *
                * Long Running Operation was triggered by ProvisionCloudIdentity.
                * 
          @@ -247,8 +202,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -257,8 +210,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.
                * 
          @@ -267,8 +218,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_ENTITLEMENT_VALUE = 1; /** - * - * *
                * Long Running Operation was triggered by ChangeRenewalSettings.
                * 
          @@ -277,8 +226,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.
                * 
          @@ -287,8 +234,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.
                * 
          @@ -297,8 +242,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVATE_ENTITLEMENT_VALUE = 7; /** - * - * *
                * Long Running Operation was triggered by SuspendEntitlement.
                * 
          @@ -307,8 +250,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUSPEND_ENTITLEMENT_VALUE = 8; /** - * - * *
                * Long Running Operation was triggered by CancelEntitlement.
                * 
          @@ -317,8 +258,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCEL_ENTITLEMENT_VALUE = 9; /** - * - * *
                * Long Running Operation was triggered by TransferEntitlements.
                * 
          @@ -327,8 +266,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_ENTITLEMENTS_VALUE = 10; /** - * - * *
                * Long Running Operation was triggered by TransferEntitlementsToGoogle.
                * 
          @@ -337,8 +274,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.
                * 
          @@ -347,8 +282,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_OFFER_VALUE = 14; /** - * - * *
                * Long Running Operation was triggered by ChangeParameters.
                * 
          @@ -357,8 +290,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_PARAMETERS_VALUE = 15; /** - * - * *
                * Long Running Operation was triggered by ProvisionCloudIdentity.
                * 
          @@ -367,6 +298,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( @@ -391,67 +323,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; @@ -471,43 +394,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; @@ -519,10 +430,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_); } unknownFields.writeTo(output); @@ -534,10 +444,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -547,13 +456,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -574,127 +482,118 @@ 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].
              * 
          * * 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() @@ -702,15 +601,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -720,9 +620,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 @@ -741,8 +641,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; @@ -752,39 +651,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; @@ -827,100 +725,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); } @@ -930,12 +808,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(); } @@ -944,16 +822,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,4 +846,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java similarity index 56% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java index 02e241df..dacf2ba1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java new file mode 100644 index 00000000..728e1686 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java index f4601292..cd0a97e0 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private Parameter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,40 +53,37 @@ private Parameter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - com.google.cloud.channel.v1.Value.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.Value.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); } - case 24: - { - editable_ = input.readBool(); - break; + value_ = input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + editable_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,39 +91,34 @@ private Parameter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -152,29 +127,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
              * 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 { @@ -185,14 +160,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 @@ -200,14 +172,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
              * Value of the parameter.
              * 
          * * .google.cloud.channel.v1.Value value = 2; - * * @return The value. */ @java.lang.Override @@ -215,8 +184,6 @@ public com.google.cloud.channel.v1.Value getValue() { return value_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; } /** - * - * *
              * Value of the parameter.
              * 
          @@ -231,8 +198,6 @@ 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,
          @@ -240,7 +205,6 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() {
              * 
          * * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The editable. */ @java.lang.Override @@ -249,7 +213,6 @@ public boolean getEditable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -284,10 +248,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,19 +263,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,132 +297,125 @@ 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) + unknownFields.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() @@ -461,15 +423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +450,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 @@ -508,8 +471,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_; @@ -525,39 +487,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; @@ -607,20 +568,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; @@ -629,21 +588,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 { @@ -651,61 +609,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; @@ -713,33 +664,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() { @@ -750,8 +692,6 @@ public com.google.cloud.channel.v1.Value getValue() { } } /** - * - * *
                * Value of the parameter.
                * 
          @@ -772,15 +712,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(); @@ -791,8 +730,6 @@ public Builder setValue(com.google.cloud.channel.v1.Value.Builder builderForValu return this; } /** - * - * *
                * Value of the parameter.
                * 
          @@ -803,7 +740,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; } @@ -815,8 +752,6 @@ public Builder mergeValue(com.google.cloud.channel.v1.Value value) { return this; } /** - * - * *
                * Value of the parameter.
                * 
          @@ -835,8 +770,6 @@ public Builder clearValue() { return this; } /** - * - * *
                * Value of the parameter.
                * 
          @@ -844,13 +777,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.
                * 
          @@ -861,12 +792,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.
                * 
          @@ -874,26 +804,21 @@ 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,
          @@ -901,7 +826,6 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() {
                * 
          * * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The editable. */ @java.lang.Override @@ -909,8 +833,6 @@ 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,
          @@ -918,19 +840,16 @@ 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 plan,
          @@ -938,18 +857,17 @@ 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); } @@ -959,12 +877,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(); } @@ -973,16 +891,16 @@ 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 { - return new Parameter(input, extensionRegistry); - } - }; + 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 { + return new Parameter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,4 +915,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java similarity index 76% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java index 5d1c422a..aabbccf3 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
             }
          -
             private ParameterDefinition(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -74,72 +57,65 @@ private ParameterDefinition(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              name_ = s;
          -              break;
          -            }
          -          case 16:
          -            {
          -              int rawValue = input.readEnum();
          +            name_ = s;
          +            break;
          +          }
          +          case 16: {
          +            int rawValue = input.readEnum();
           
          -              parameterType_ = rawValue;
          -              break;
          +            parameterType_ = rawValue;
          +            break;
          +          }
          +          case 26: {
          +            com.google.cloud.channel.v1.Value.Builder subBuilder = null;
          +            if (minValue_ != null) {
          +              subBuilder = minValue_.toBuilder();
                       }
          -          case 26:
          -            {
          -              com.google.cloud.channel.v1.Value.Builder subBuilder = null;
          -              if (minValue_ != null) {
          -                subBuilder = minValue_.toBuilder();
          -              }
          -              minValue_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(minValue_);
          -                minValue_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            minValue_ = input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(minValue_);
          +              minValue_ = subBuilder.buildPartial();
                       }
          -          case 34:
          -            {
          -              com.google.cloud.channel.v1.Value.Builder subBuilder = null;
          -              if (maxValue_ != null) {
          -                subBuilder = maxValue_.toBuilder();
          -              }
          -              maxValue_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(maxValue_);
          -                maxValue_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +
          +            break;
          +          }
          +          case 34: {
          +            com.google.cloud.channel.v1.Value.Builder subBuilder = null;
          +            if (maxValue_ != null) {
          +              subBuilder = maxValue_.toBuilder();
                       }
          -          case 42:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          -                allowedValues_ = new java.util.ArrayList();
          -                mutable_bitField0_ |= 0x00000001;
          -              }
          -              allowedValues_.add(
          -                  input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry));
          -              break;
          +            maxValue_ = input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(maxValue_);
          +              maxValue_ = subBuilder.buildPartial();
                       }
          -          case 48:
          -            {
          -              optional_ = input.readBool();
          -              break;
          +
          +            break;
          +          }
          +          case 42: {
          +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          +              allowedValues_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000001;
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            allowedValues_.add(
          +                input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry));
          +            break;
          +          }
          +          case 48: {
          +
          +            optional_ = input.readBool();
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -147,7 +123,8 @@ private ParameterDefinition(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   allowedValues_ = java.util.Collections.unmodifiableList(allowedValues_);
          @@ -156,35 +133,29 @@ private ParameterDefinition(
                 makeExtensionsImmutable();
               }
             }
          -
          -  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.
                * 
          @@ -193,8 +164,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ PARAMETER_TYPE_UNSPECIFIED(0), /** - * - * *
                * Int64 type.
                * 
          @@ -203,8 +172,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ INT64(1), /** - * - * *
                * String type.
                * 
          @@ -213,8 +180,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(2), /** - * - * *
                * Double type.
                * 
          @@ -226,8 +191,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -236,8 +199,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARAMETER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
                * Int64 type.
                * 
          @@ -246,8 +207,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 1; /** - * - * *
                * String type.
                * 
          @@ -256,8 +215,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 2; /** - * - * *
                * Double type.
                * 
          @@ -266,6 +223,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( @@ -290,51 +248,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; @@ -354,14 +311,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 @@ -370,29 +324,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 { @@ -403,48 +357,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.
          @@ -452,7 +393,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 @@ -460,8 +400,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.
          @@ -469,7 +407,6 @@ public boolean hasMinValue() {
              * 
          * * .google.cloud.channel.v1.Value min_value = 3; - * * @return The minValue. */ @java.lang.Override @@ -477,8 +414,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.
          @@ -495,8 +430,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.
          @@ -504,7 +437,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 @@ -512,8 +444,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.
          @@ -521,7 +451,6 @@ public boolean hasMaxValue() {
              * 
          * * .google.cloud.channel.v1.Value max_value = 4; - * * @return The maxValue. */ @java.lang.Override @@ -529,8 +458,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.
          @@ -547,8 +474,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, ...]
          @@ -562,8 +487,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, ...]
          @@ -573,13 +496,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, ...]
          @@ -593,8 +514,6 @@ public int getAllowedValuesCount() {
               return allowedValues_.size();
             }
             /**
          -   *
          -   *
              * 
              * If not empty, parameter values must be drawn from this list.
              * For example, [us-west1, us-west2, ...]
          @@ -608,8 +527,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, ...]
          @@ -619,21 +536,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 @@ -642,7 +557,6 @@ public boolean getOptional() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -654,13 +568,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) { @@ -687,22 +600,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -712,26 +628,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -760,110 +680,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) + unknownFields.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.
          @@ -871,23 +785,21 @@ 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()
          @@ -895,17 +807,17 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
                   getAllowedValuesFieldBuilder();
                 }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -937,9 +849,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
          @@ -958,8 +870,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_;
          @@ -991,39 +902,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;
          @@ -1031,8 +941,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();
          @@ -1064,10 +973,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_);
                     }
          @@ -1104,25 +1012,22 @@ public Builder mergeFrom(
                 }
                 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; @@ -1131,21 +1036,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 { @@ -1153,61 +1057,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; @@ -1215,98 +1112,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; @@ -1314,13 +1191,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.
          @@ -1328,15 +1200,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.
          @@ -1344,21 +1213,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.
          @@ -1381,8 +1245,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.
          @@ -1391,7 +1253,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();
          @@ -1402,8 +1265,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.
          @@ -1416,9 +1277,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;
                   }
          @@ -1430,8 +1289,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.
          @@ -1452,8 +1309,6 @@ public Builder clearMinValue() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Minimal value of the parameter, if applicable. Inclusive. For example,
                * minimal commitment when purchasing Anthos is 0.01.
          @@ -1463,13 +1318,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.
          @@ -1482,14 +1335,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.
          @@ -1499,17 +1349,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_;
          @@ -1517,13 +1364,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.
          @@ -1531,15 +1373,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.
          @@ -1547,21 +1386,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.
          @@ -1584,8 +1418,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.
          @@ -1594,7 +1426,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();
          @@ -1605,8 +1438,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.
          @@ -1619,9 +1450,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;
                   }
          @@ -1633,8 +1462,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.
          @@ -1655,8 +1482,6 @@ public Builder clearMaxValue() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Maximum value of the parameter, if applicable. Inclusive. For example,
                * maximum seats when purchasing Google Workspace Business Standard.
          @@ -1666,13 +1491,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.
          @@ -1685,14 +1508,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.
          @@ -1702,41 +1522,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, ...]
          @@ -1753,8 +1564,6 @@ public java.util.List getAllowedValuesList()
                 }
               }
               /**
          -     *
          -     *
                * 
                * If not empty, parameter values must be drawn from this list.
                * For example, [us-west1, us-west2, ...]
          @@ -1771,8 +1580,6 @@ public int getAllowedValuesCount() {
                 }
               }
               /**
          -     *
          -     *
                * 
                * If not empty, parameter values must be drawn from this list.
                * For example, [us-west1, us-west2, ...]
          @@ -1789,8 +1596,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, ...]
          @@ -1799,7 +1604,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();
          @@ -1813,8 +1619,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, ...]
          @@ -1835,8 +1639,6 @@ public Builder setAllowedValues(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * If not empty, parameter values must be drawn from this list.
                * For example, [us-west1, us-west2, ...]
          @@ -1859,8 +1661,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, ...]
          @@ -1869,7 +1669,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();
          @@ -1883,8 +1684,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, ...]
          @@ -1893,7 +1692,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());
          @@ -1904,8 +1704,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, ...]
          @@ -1926,8 +1724,6 @@ public Builder addAllowedValues(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * If not empty, parameter values must be drawn from this list.
                * For example, [us-west1, us-west2, ...]
          @@ -1940,7 +1736,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);
          @@ -1948,8 +1745,6 @@ public Builder addAllAllowedValues(
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * If not empty, parameter values must be drawn from this list.
                * For example, [us-west1, us-west2, ...]
          @@ -1969,8 +1764,6 @@ public Builder clearAllowedValues() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * If not empty, parameter values must be drawn from this list.
                * For example, [us-west1, us-west2, ...]
          @@ -1990,8 +1783,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, ...]
          @@ -2000,12 +1791,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, ...]
          @@ -2014,16 +1804,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, ...]
          @@ -2032,8 +1820,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 {
          @@ -2041,8 +1829,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, ...]
          @@ -2052,12 +1838,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, ...]
          @@ -2066,13 +1850,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, ...]
          @@ -2081,21 +1864,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(),
          @@ -2105,16 +1883,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 @@ -2122,43 +1897,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); } @@ -2168,12 +1937,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(); } @@ -2182,16 +1951,16 @@ 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 { - return new ParameterDefinition(input, extensionRegistry); - } - }; + 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 { + return new ParameterDefinition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2206,4 +1975,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ParameterDefinition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java similarity index 84% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java index fdfe1658..6d8ab439 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java index db127f56..4e8a21d2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java +++ b/owl-bot-staging/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,8 +55,6 @@ 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,
          @@ -93,7 +62,6 @@ public interface ParameterOrBuilder
              * 
          * * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The editable. */ boolean getEditable(); diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java index 494e3387..456fbda2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java index 818f78b6..32ef3aea 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java index 52d23b99..673ee06d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private PercentageAdjustment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,27 +52,26 @@ private PercentageAdjustment( case 0: done = true; break; - case 18: - { - com.google.type.Decimal.Builder subBuilder = null; - if (percentage_ != null) { - subBuilder = percentage_.toBuilder(); - } - percentage_ = input.readMessage(com.google.type.Decimal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(percentage_); - percentage_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.type.Decimal.Builder subBuilder = null; + if (percentage_ != null) { + subBuilder = percentage_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + percentage_ = input.readMessage(com.google.type.Decimal.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(percentage_); + percentage_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,33 +79,29 @@ private PercentageAdjustment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -132,7 +111,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 @@ -140,8 +118,6 @@ public boolean hasPercentage() { return percentage_ != null; } /** - * - * *
              * The percentage of the bill to adjust.
              * For example:
          @@ -151,7 +127,6 @@ public boolean hasPercentage() {
              * 
          * * .google.type.Decimal percentage = 2; - * * @return The percentage. */ @java.lang.Override @@ -159,8 +134,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:
          @@ -177,7 +150,6 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          -
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -189,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 (percentage_ != null) {
                 output.writeMessage(2, getPercentage());
               }
          @@ -203,7 +176,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 += unknownFields.getSerializedSize();
               memoizedSize = size;
          @@ -213,17 +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.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 (!unknownFields.equals(other.unknownFields)) return false;
               return true;
          @@ -245,127 +219,118 @@ 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() @@ -373,15 +338,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +361,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 @@ -416,8 +382,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 { @@ -431,39 +396,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; @@ -471,8 +435,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()); } @@ -507,13 +470,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:
          @@ -523,15 +481,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:
          @@ -541,7 +496,6 @@ public boolean hasPercentage() {
                * 
          * * .google.type.Decimal percentage = 2; - * * @return The percentage. */ public com.google.type.Decimal getPercentage() { @@ -552,8 +506,6 @@ public com.google.type.Decimal getPercentage() { } } /** - * - * *
                * The percentage of the bill to adjust.
                * For example:
          @@ -578,8 +530,6 @@ public Builder setPercentage(com.google.type.Decimal value) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The percentage of the bill to adjust.
                * For example:
          @@ -590,7 +540,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();
          @@ -601,8 +552,6 @@ public Builder setPercentage(com.google.type.Decimal.Builder builderForValue) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The percentage of the bill to adjust.
                * For example:
          @@ -617,7 +566,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;
                   }
          @@ -629,8 +578,6 @@ public Builder mergePercentage(com.google.type.Decimal value) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The percentage of the bill to adjust.
                * For example:
          @@ -653,8 +600,6 @@ public Builder clearPercentage() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The percentage of the bill to adjust.
                * For example:
          @@ -666,13 +611,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:
          @@ -687,12 +630,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:
          @@ -704,24 +646,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);
               }
           
          @@ -731,12 +670,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();
             }
          @@ -745,16 +684,16 @@ 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 {
          -          return new PercentageAdjustment(input, extensionRegistry);
          -        }
          -      };
          +  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 {
          +      return new PercentageAdjustment(input, extensionRegistry);
          +    }
          +  };
           
             public static com.google.protobuf.Parser parser() {
               return PARSER;
          @@ -769,4 +708,6 @@ public com.google.protobuf.Parser getParserForType() {
             public com.google.cloud.channel.v1.PercentageAdjustment getDefaultInstanceForType() {
               return DEFAULT_INSTANCE;
             }
          +
           }
          +
          diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
          similarity index 64%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
          index b2988960..7252b227 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
          +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
          similarity index 70%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
          index 4bb92b65..bff79823 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
          +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
          @@ -1,57 +1,40 @@
          -/*
          - * Copyright 2020 Google LLC
          - *
          - * Licensed under the Apache License, Version 2.0 (the "License");
          - * you may not use this file except in compliance with the License.
          - * You may obtain a copy of the License at
          - *
          - *     https://www.apache.org/licenses/LICENSE-2.0
          - *
          - * Unless required by applicable law or agreed to in writing, software
          - * distributed under the License is distributed on an "AS IS" BASIS,
          - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
          - * See the License for the specific language governing permissions and
          - * limitations under the License.
          - */
           // Generated by the protocol buffer compiler.  DO NOT EDIT!
           // source: google/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; } - private Period( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private Period( case 0: done = true; break; - case 8: - { - duration_ = input.readInt32(); - break; - } - case 16: - { - int rawValue = input.readEnum(); + case 8: { - periodType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + duration_ = input.readInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); + + periodType_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private Period( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -139,41 +116,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; @@ -185,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -202,10 +170,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -215,14 +185,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -244,126 +215,118 @@ 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() @@ -371,15 +334,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +355,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 @@ -423,39 +387,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; @@ -499,16 +462,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 @@ -516,36 +476,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; @@ -553,65 +507,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. */ @@ -619,31 +559,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); } @@ -653,12 +590,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(); } @@ -667,16 +604,16 @@ 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 { - return new Period(input, extensionRegistry); - } - }; + 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 { + return new Period(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -691,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Period getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java similarity index 56% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java index 4a687c5f..807a4b33 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java index 3ce62155..3a403c68 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java index e9d2cccf..1089382c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private Plan( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,64 +55,57 @@ private Plan( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - paymentPlan_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + paymentPlan_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - paymentType_ = rawValue; - break; - } - case 26: - { - com.google.cloud.channel.v1.Period.Builder subBuilder = null; - if (paymentCycle_ != null) { - subBuilder = paymentCycle_.toBuilder(); - } - paymentCycle_ = - input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(paymentCycle_); - paymentCycle_ = subBuilder.buildPartial(); - } - - break; + paymentType_ = rawValue; + break; + } + case 26: { + com.google.cloud.channel.v1.Period.Builder subBuilder = null; + if (paymentCycle_ != null) { + subBuilder = paymentCycle_.toBuilder(); } - case 34: - { - com.google.cloud.channel.v1.Period.Builder subBuilder = null; - if (trialPeriod_ != null) { - subBuilder = trialPeriod_.toBuilder(); - } - trialPeriod_ = - input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trialPeriod_); - trialPeriod_ = subBuilder.buildPartial(); - } - - break; + paymentCycle_ = input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(paymentCycle_); + paymentCycle_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - billingAccount_ = s; - break; + break; + } + case 34: { + com.google.cloud.channel.v1.Period.Builder subBuilder = null; + if (trialPeriod_ != null) { + subBuilder = trialPeriod_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + trialPeriod_ = input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trialPeriod_); + trialPeriod_ = subBuilder.buildPartial(); } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + billingAccount_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,23 +113,22 @@ private Plan( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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); } @@ -161,87 +136,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 @@ -249,26 +203,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.
          @@ -284,8 +231,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
          @@ -296,7 +241,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 @@ -304,8 +248,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
          @@ -316,18 +258,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
          @@ -347,15 +284,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 @@ -364,30 +298,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 { @@ -396,7 +330,6 @@ public com.google.protobuf.ByteString getBillingAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,13 +341,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) { @@ -435,19 +367,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_); @@ -460,7 +394,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); @@ -471,13 +405,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -508,126 +445,118 @@ 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() @@ -635,15 +564,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -669,9 +599,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 @@ -712,39 +642,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; @@ -800,65 +729,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. */ @@ -866,24 +781,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; @@ -891,65 +803,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. */ @@ -957,24 +855,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; @@ -982,49 +877,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.
          @@ -1046,8 +928,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.
          @@ -1055,7 +935,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();
          @@ -1066,8 +947,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.
          @@ -1079,9 +958,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;
                   }
          @@ -1093,8 +970,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.
          @@ -1114,8 +989,6 @@ public Builder clearPaymentCycle() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Describes how frequently the reseller will be billed, such as
                * once per month.
          @@ -1124,13 +997,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.
          @@ -1142,14 +1013,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.
          @@ -1158,17 +1026,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_;
          @@ -1176,13 +1041,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
          @@ -1193,15 +1053,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
          @@ -1212,21 +1069,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
          @@ -1252,8 +1104,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
          @@ -1265,7 +1115,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();
          @@ -1276,8 +1127,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
          @@ -1293,9 +1142,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;
                   }
          @@ -1307,8 +1154,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
          @@ -1332,8 +1177,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
          @@ -1346,13 +1189,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
          @@ -1368,14 +1209,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
          @@ -1388,17 +1226,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_;
          @@ -1406,21 +1241,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; @@ -1429,22 +1262,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 { @@ -1452,71 +1284,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); } @@ -1526,12 +1351,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(); } @@ -1540,16 +1365,16 @@ 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 { - return new Plan(input, extensionRegistry); - } - }; + 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 { + return new Plan(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1564,4 +1389,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Plan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java similarity index 83% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java index c353af68..2604af09 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java index 2570b809..c1c1d00f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private Price( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,54 +53,50 @@ private Price( case 0: done = true; break; - case 10: - { - com.google.type.Money.Builder subBuilder = null; - if (basePrice_ != null) { - subBuilder = basePrice_.toBuilder(); - } - basePrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(basePrice_); - basePrice_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.Money.Builder subBuilder = null; + if (basePrice_ != null) { + subBuilder = basePrice_.toBuilder(); } - case 17: - { - discount_ = input.readDouble(); - break; + basePrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(basePrice_); + basePrice_ = subBuilder.buildPartial(); } - case 26: - { - com.google.type.Money.Builder subBuilder = null; - if (effectivePrice_ != null) { - subBuilder = effectivePrice_.toBuilder(); - } - effectivePrice_ = - input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(effectivePrice_); - effectivePrice_ = subBuilder.buildPartial(); - } - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 17: { - externalPriceUri_ = s; - break; + discount_ = input.readDouble(); + break; + } + case 26: { + com.google.type.Money.Builder subBuilder = null; + if (effectivePrice_ != null) { + subBuilder = effectivePrice_.toBuilder(); + } + effectivePrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(effectivePrice_); + effectivePrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + externalPriceUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,39 +104,34 @@ private Price( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -165,14 +139,11 @@ public boolean hasBasePrice() { return basePrice_ != null; } /** - * - * *
              * Base price.
              * 
          * * .google.type.Money base_price = 1; - * * @return The basePrice. */ @java.lang.Override @@ -180,8 +151,6 @@ public com.google.type.Money getBasePrice() { return basePrice_ == null ? com.google.type.Money.getDefaultInstance() : basePrice_; } /** - * - * *
              * Base price.
              * 
          @@ -196,15 +165,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 @@ -215,14 +181,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 @@ -230,14 +193,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 @@ -245,8 +205,6 @@ public com.google.type.Money getEffectivePrice() { return effectivePrice_ == null ? com.google.type.Money.getDefaultInstance() : effectivePrice_; } /** - * - * *
              * Effective Price after applying the discounts.
              * 
          @@ -261,14 +219,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 @@ -277,29 +232,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 { @@ -308,7 +263,6 @@ public com.google.protobuf.ByteString getExternalPriceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (basePrice_ != null) { output.writeMessage(1, getBasePrice()); } @@ -343,13 +298,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_); @@ -362,7 +320,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); @@ -371,15 +329,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -396,10 +358,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(); @@ -411,126 +371,118 @@ 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() @@ -538,15 +490,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +523,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 @@ -612,39 +565,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; @@ -697,31 +649,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() { @@ -732,8 +677,6 @@ public com.google.type.Money getBasePrice() { } } /** - * - * *
                * Base price.
                * 
          @@ -754,15 +697,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(); @@ -773,8 +715,6 @@ public Builder setBasePrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
                * Base price.
                * 
          @@ -784,7 +724,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; } @@ -796,8 +737,6 @@ public Builder mergeBasePrice(com.google.type.Money value) { return this; } /** - * - * *
                * Base price.
                * 
          @@ -816,8 +755,6 @@ public Builder clearBasePrice() { return this; } /** - * - * *
                * Base price.
                * 
          @@ -825,13 +762,11 @@ public Builder clearBasePrice() { * .google.type.Money base_price = 1; */ public com.google.type.Money.Builder getBasePriceBuilder() { - + onChanged(); return getBasePriceFieldBuilder().getBuilder(); } /** - * - * *
                * Base price.
                * 
          @@ -842,12 +777,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.
                * 
          @@ -855,30 +789,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 @@ -886,38 +817,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; @@ -925,45 +850,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.
                * 
          @@ -984,15 +898,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(); @@ -1003,8 +916,6 @@ public Builder setEffectivePrice(com.google.type.Money.Builder builderForValue) return this; } /** - * - * *
                * Effective Price after applying the discounts.
                * 
          @@ -1015,7 +926,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; } @@ -1027,8 +938,6 @@ public Builder mergeEffectivePrice(com.google.type.Money value) { return this; } /** - * - * *
                * Effective Price after applying the discounts.
                * 
          @@ -1047,8 +956,6 @@ public Builder clearEffectivePrice() { return this; } /** - * - * *
                * Effective Price after applying the discounts.
                * 
          @@ -1056,13 +963,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.
                * 
          @@ -1073,14 +978,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.
                * 
          @@ -1088,15 +990,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_; @@ -1104,20 +1005,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; @@ -1126,21 +1025,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 { @@ -1148,68 +1046,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); } @@ -1219,12 +1110,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(); } @@ -1233,16 +1124,16 @@ 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 { - return new Price(input, extensionRegistry); - } - }; + 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 { + return new Price(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,4 +1148,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Price getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java index a351fa4a..2a7449f6 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private PriceByResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,46 +55,41 @@ private PriceByResource( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - resourceType_ = rawValue; - break; + resourceType_ = rawValue; + break; + } + case 18: { + com.google.cloud.channel.v1.Price.Builder subBuilder = null; + if (price_ != null) { + subBuilder = price_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.Price.Builder subBuilder = null; - if (price_ != null) { - subBuilder = price_.toBuilder(); - } - price_ = - input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(price_); - price_ = subBuilder.buildPartial(); - } - - break; + price_ = input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(price_); + price_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pricePhases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - pricePhases_.add( - input.readMessage( - com.google.cloud.channel.v1.PricePhase.parser(), extensionRegistry)); - break; + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pricePhases_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pricePhases_.add( + input.readMessage(com.google.cloud.channel.v1.PricePhase.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +97,8 @@ private PriceByResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { pricePhases_ = java.util.Collections.unmodifiableList(pricePhases_); @@ -128,69 +107,54 @@ private PriceByResource( makeExtensionsImmutable(); } } - - 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 @@ -198,14 +162,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 @@ -213,8 +174,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.
              * 
          @@ -229,8 +188,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.
              * 
          @@ -242,8 +199,6 @@ public java.util.List getPricePhasesList return pricePhases_; } /** - * - * *
              * Specifies the price by time range.
              * 
          @@ -251,13 +206,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.
              * 
          @@ -269,8 +222,6 @@ public int getPricePhasesCount() { return pricePhases_.size(); } /** - * - * *
              * Specifies the price by time range.
              * 
          @@ -282,8 +233,6 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { return pricePhases_.get(index); } /** - * - * *
              * Specifies the price by time range.
              * 
          @@ -291,12 +240,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; @@ -308,9 +257,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) { @@ -328,15 +277,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -346,20 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -386,127 +338,118 @@ 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() @@ -514,17 +457,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPricePhasesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +489,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 @@ -567,8 +510,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) { @@ -593,39 +535,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; @@ -658,10 +599,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_); } @@ -695,70 +635,55 @@ public Builder mergeFrom( } 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. */ @@ -766,24 +691,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; @@ -791,33 +713,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() { @@ -828,8 +741,6 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** - * - * *
                * Price of the Offer. Present if there are no price phases.
                * 
          @@ -850,15 +761,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(); @@ -869,8 +779,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.
                * 
          @@ -881,7 +789,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; } @@ -893,8 +801,6 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
                * Price of the Offer. Present if there are no price phases.
                * 
          @@ -913,8 +819,6 @@ public Builder clearPrice() { return this; } /** - * - * *
                * Price of the Offer. Present if there are no price phases.
                * 
          @@ -922,13 +826,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.
                * 
          @@ -939,12 +841,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.
                * 
          @@ -952,42 +853,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.
                * 
          @@ -1002,8 +893,6 @@ public java.util.List getPricePhasesList } } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1018,8 +907,6 @@ public int getPricePhasesCount() { } } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1034,15 +921,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(); @@ -1056,8 +942,6 @@ public Builder setPricePhases(int index, com.google.cloud.channel.v1.PricePhase return this; } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1076,8 +960,6 @@ public Builder setPricePhases( return this; } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1098,15 +980,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(); @@ -1120,15 +1001,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()); @@ -1139,8 +1019,6 @@ public Builder addPricePhases(com.google.cloud.channel.v1.PricePhase.Builder bui return this; } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1159,8 +1037,6 @@ public Builder addPricePhases( return this; } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1171,7 +1047,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); @@ -1179,8 +1056,6 @@ public Builder addAllPricePhases( return this; } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1198,8 +1073,6 @@ public Builder clearPricePhases() { return this; } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1217,44 +1090,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 { @@ -1262,8 +1130,6 @@ public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(i } } /** - * - * *
                * Specifies the price by time range.
                * 
          @@ -1271,55 +1137,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); } @@ -1329,12 +1189,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(); } @@ -1343,16 +1203,16 @@ 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 { - return new PriceByResource(input, extensionRegistry); - } - }; + 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 { + return new PriceByResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1367,4 +1227,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceByResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java index cf2f0b92..172c5381 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java index 6c5fd36e..d9671660 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java index 9898acd1..0af9ecd2 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
             }
          -
             private PricePhase(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -74,56 +57,51 @@ private PricePhase(
                     case 0:
                       done = true;
                       break;
          -          case 8:
          -            {
          -              int rawValue = input.readEnum();
          +          case 8: {
          +            int rawValue = input.readEnum();
           
          -              periodType_ = rawValue;
          -              break;
          -            }
          -          case 16:
          -            {
          -              firstPeriod_ = input.readInt32();
          -              break;
          +            periodType_ = rawValue;
          +            break;
          +          }
          +          case 16: {
          +
          +            firstPeriod_ = input.readInt32();
          +            break;
          +          }
          +          case 24: {
          +
          +            lastPeriod_ = input.readInt32();
          +            break;
          +          }
          +          case 34: {
          +            com.google.cloud.channel.v1.Price.Builder subBuilder = null;
          +            if (price_ != null) {
          +              subBuilder = price_.toBuilder();
                       }
          -          case 24:
          -            {
          -              lastPeriod_ = input.readInt32();
          -              break;
          +            price_ = input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(price_);
          +              price_ = subBuilder.buildPartial();
                       }
          -          case 34:
          -            {
          -              com.google.cloud.channel.v1.Price.Builder subBuilder = null;
          -              if (price_ != null) {
          -                subBuilder = price_.toBuilder();
          -              }
          -              price_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(price_);
          -                price_ = subBuilder.buildPartial();
          -              }
           
          -              break;
          -            }
          -          case 42:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          -                priceTiers_ = new java.util.ArrayList();
          -                mutable_bitField0_ |= 0x00000001;
          -              }
          -              priceTiers_.add(
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.PriceTier.parser(), extensionRegistry));
          -              break;
          +            break;
          +          }
          +          case 42: {
          +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          +              priceTiers_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000001;
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            priceTiers_.add(
          +                input.readMessage(com.google.cloud.channel.v1.PriceTier.parser(), extensionRegistry));
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -131,7 +109,8 @@ private PricePhase(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   priceTiers_ = java.util.Collections.unmodifiableList(priceTiers_);
          @@ -140,69 +119,54 @@ private PricePhase(
                 makeExtensionsImmutable();
               }
             }
          -
          -  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 @@ -213,14 +177,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 @@ -231,14 +192,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 @@ -246,14 +204,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 @@ -261,8 +216,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.
              * 
          @@ -277,8 +230,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.
              * 
          @@ -290,8 +241,6 @@ public java.util.List getPriceTiersList() return priceTiers_; } /** - * - * *
              * Price by the resource tiers.
              * 
          @@ -299,13 +248,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.
              * 
          @@ -317,8 +264,6 @@ public int getPriceTiersCount() { return priceTiers_.size(); } /** - * - * *
              * Price by the resource tiers.
              * 
          @@ -330,8 +275,6 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { return priceTiers_.get(index); } /** - * - * *
              * Price by the resource tiers.
              * 
          @@ -339,12 +282,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; @@ -356,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, periodType_); } @@ -382,19 +326,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -404,7 +353,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); @@ -412,13 +361,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -449,104 +402,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
          @@ -555,23 +501,21 @@ 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()
          @@ -579,17 +523,17 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
                   getPriceTiersFieldBuilder();
                 }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -615,9 +559,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
          @@ -636,8 +580,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_;
          @@ -664,39 +607,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;
          @@ -735,10 +677,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_);
                     }
          @@ -772,70 +713,55 @@ public Builder mergeFrom(
                 }
                 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. */ @@ -843,39 +769,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 @@ -883,51 +803,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 @@ -935,36 +846,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; @@ -972,33 +877,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() { @@ -1009,8 +905,6 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** - * - * *
                * Price of the phase. Present if there are no price tiers.
                * 
          @@ -1031,15 +925,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(); @@ -1050,8 +943,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.
                * 
          @@ -1062,7 +953,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; } @@ -1074,8 +965,6 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
                * Price of the phase. Present if there are no price tiers.
                * 
          @@ -1094,8 +983,6 @@ public Builder clearPrice() { return this; } /** - * - * *
                * Price of the phase. Present if there are no price tiers.
                * 
          @@ -1103,13 +990,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.
                * 
          @@ -1120,12 +1005,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.
                * 
          @@ -1133,41 +1017,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.
                * 
          @@ -1182,8 +1057,6 @@ public java.util.List getPriceTiersList() } } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1198,8 +1071,6 @@ public int getPriceTiersCount() { } } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1214,15 +1085,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(); @@ -1236,8 +1106,6 @@ public Builder setPriceTiers(int index, com.google.cloud.channel.v1.PriceTier va return this; } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1256,8 +1124,6 @@ public Builder setPriceTiers( return this; } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1278,15 +1144,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(); @@ -1300,15 +1165,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()); @@ -1319,8 +1183,6 @@ public Builder addPriceTiers(com.google.cloud.channel.v1.PriceTier.Builder build return this; } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1339,8 +1201,6 @@ public Builder addPriceTiers( return this; } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1351,7 +1211,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); @@ -1359,8 +1220,6 @@ public Builder addAllPriceTiers( return this; } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1378,8 +1237,6 @@ public Builder clearPriceTiers() { return this; } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1397,44 +1254,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 { @@ -1442,8 +1294,6 @@ public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int } } /** - * - * *
                * Price by the resource tiers.
                * 
          @@ -1451,55 +1301,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); } @@ -1509,12 +1353,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(); } @@ -1523,16 +1367,16 @@ 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 { - return new PricePhase(input, extensionRegistry); - } - }; + 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 { + return new PricePhase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,4 +1391,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PricePhase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java index 62aa966d..759d9205 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java index d77c4c7b..469cdee7 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java +++ b/owl-bot-staging/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,29 +15,30 @@
            *
            * 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;
             }
          -
             private PriceTier(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -73,38 +57,36 @@ private PriceTier(
                     case 0:
                       done = true;
                       break;
          -          case 8:
          -            {
          -              firstResource_ = input.readInt32();
          -              break;
          -            }
          -          case 16:
          -            {
          -              lastResource_ = input.readInt32();
          -              break;
          +          case 8: {
          +
          +            firstResource_ = input.readInt32();
          +            break;
          +          }
          +          case 16: {
          +
          +            lastResource_ = input.readInt32();
          +            break;
          +          }
          +          case 26: {
          +            com.google.cloud.channel.v1.Price.Builder subBuilder = null;
          +            if (price_ != null) {
          +              subBuilder = price_.toBuilder();
                       }
          -          case 26:
          -            {
          -              com.google.cloud.channel.v1.Price.Builder subBuilder = null;
          -              if (price_ != null) {
          -                subBuilder = price_.toBuilder();
          -              }
          -              price_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(price_);
          -                price_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            price_ = input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(price_);
          +              price_ = subBuilder.buildPartial();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -112,39 +94,34 @@ private PriceTier(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -155,14 +132,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 @@ -173,14 +147,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 @@ -188,14 +159,11 @@ public boolean hasPrice() { return price_ != null; } /** - * - * *
              * Price of the tier.
              * 
          * * .google.cloud.channel.v1.Price price = 3; - * * @return The price. */ @java.lang.Override @@ -203,8 +171,6 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** - * - * *
              * Price of the tier.
              * 
          @@ -217,7 +183,6 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -249,13 +215,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -265,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,103 +274,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 :
          @@ -410,23 +376,21 @@ 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()
          @@ -434,15 +398,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -460,9 +425,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
          @@ -481,8 +446,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) {
          @@ -498,39 +462,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;
          @@ -577,16 +540,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 @@ -594,51 +554,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 @@ -646,36 +597,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; @@ -683,33 +628,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() { @@ -720,8 +656,6 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** - * - * *
                * Price of the tier.
                * 
          @@ -742,15 +676,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(); @@ -761,8 +694,6 @@ public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValu return this; } /** - * - * *
                * Price of the tier.
                * 
          @@ -773,7 +704,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; } @@ -785,8 +716,6 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
                * Price of the tier.
                * 
          @@ -805,8 +734,6 @@ public Builder clearPrice() { return this; } /** - * - * *
                * Price of the tier.
                * 
          @@ -814,13 +741,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.
                * 
          @@ -831,12 +756,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.
                * 
          @@ -844,24 +768,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); } @@ -871,12 +792,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(); } @@ -885,16 +806,16 @@ 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 { - return new PriceTier(input, extensionRegistry); - } - }; + 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 { + return new PriceTier(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,4 +830,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceTier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java index 4539e7f9..d9c44078 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java index 65a736e0..f6c8085a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java +++ b/owl-bot-staging/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,31 +11,31 @@
            *
            * 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;
             }
          -
             private Product(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -71,36 +54,32 @@ private Product(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              name_ = s;
          -              break;
          +            name_ = s;
          +            break;
          +          }
          +          case 18: {
          +            com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
          +            if (marketingInfo_ != null) {
          +              subBuilder = marketingInfo_.toBuilder();
                       }
          -          case 18:
          -            {
          -              com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
          -              if (marketingInfo_ != null) {
          -                subBuilder = marketingInfo_.toBuilder();
          -              }
          -              marketingInfo_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(marketingInfo_);
          -                marketingInfo_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            marketingInfo_ = input.readMessage(com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(marketingInfo_);
          +              marketingInfo_ = subBuilder.buildPartial();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -108,40 +87,35 @@ private Product(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -150,30 +124,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 { @@ -184,14 +158,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 @@ -199,25 +170,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.
              * 
          @@ -230,7 +194,6 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,7 +226,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -272,17 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -306,103 +273,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.
          @@ -410,23 +371,21 @@ 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()
          @@ -434,15 +393,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -458,9 +418,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
          @@ -494,39 +454,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;
          @@ -573,21 +532,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; @@ -596,22 +553,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 { @@ -619,64 +575,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; @@ -684,47 +633,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.
                * 
          @@ -745,8 +681,6 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** - * - * *
                * Marketing information for the product.
                * 
          @@ -765,8 +699,6 @@ public Builder setMarketingInfo( return this; } /** - * - * *
                * Marketing information for the product.
                * 
          @@ -777,9 +709,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; } @@ -791,8 +721,6 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** - * - * *
                * Marketing information for the product.
                * 
          @@ -811,8 +739,6 @@ public Builder clearMarketingInfo() { return this; } /** - * - * *
                * Marketing information for the product.
                * 
          @@ -820,13 +746,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.
                * 
          @@ -837,14 +761,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.
                * 
          @@ -852,24 +773,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); } @@ -879,12 +797,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(); } @@ -893,16 +811,16 @@ 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 { - return new Product(input, extensionRegistry); - } - }; + 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 { + return new Product(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,4 +835,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Product getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java similarity index 100% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java index 9d65e89c..92bfc57b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java new file mode 100644 index 00000000..5bc6db7a --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java index fc6528cf..b9ef5d74 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java index 10363d46..05969917 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private ProvisionCloudIdentityRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,57 +53,50 @@ private ProvisionCloudIdentityRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; + customer_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; + if (cloudIdentityInfo_ != null) { + subBuilder = cloudIdentityInfo_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; - if (cloudIdentityInfo_ != null) { - subBuilder = cloudIdentityInfo_.toBuilder(); - } - cloudIdentityInfo_ = - input.readMessage( - com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cloudIdentityInfo_); - cloudIdentityInfo_ = subBuilder.buildPartial(); - } - - break; + cloudIdentityInfo_ = input.readMessage(com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cloudIdentityInfo_); + cloudIdentityInfo_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.channel.v1.AdminUser.Builder subBuilder = null; - if (user_ != null) { - subBuilder = user_.toBuilder(); - } - user_ = - input.readMessage( - com.google.cloud.channel.v1.AdminUser.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(user_); - user_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.channel.v1.AdminUser.Builder subBuilder = null; + if (user_ != null) { + subBuilder = user_.toBuilder(); } - case 32: - { - validateOnly_ = input.readBool(); - break; + user_ = input.readMessage(com.google.cloud.channel.v1.AdminUser.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(user_); + user_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,42 +104,35 @@ private ProvisionCloudIdentityRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -172,32 +141,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 { @@ -208,14 +175,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 @@ -223,25 +187,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.
              * 
          @@ -256,14 +213,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 @@ -271,14 +225,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
              * Admin user information.
              * 
          * * .google.cloud.channel.v1.AdminUser user = 3; - * * @return The user. */ @java.lang.Override @@ -286,8 +237,6 @@ public com.google.cloud.channel.v1.AdminUser getUser() { return user_ == null ? com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; } /** - * - * *
              * Admin user information.
              * 
          @@ -302,14 +251,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 @@ -318,7 +264,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } @@ -356,13 +302,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -372,24 +321,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,134 +364,125 @@ 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) + unknownFields.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]
              * 
          * * 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() @@ -547,15 +490,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -579,9 +523,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 @@ -600,8 +544,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_; @@ -622,39 +565,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; @@ -662,8 +604,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(); @@ -696,8 +637,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,23 +649,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; @@ -734,24 +670,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 { @@ -759,70 +692,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; @@ -830,47 +750,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.
                * 
          @@ -891,8 +798,6 @@ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInf return this; } /** - * - * *
                * CloudIdentity-specific customer information.
                * 
          @@ -911,8 +816,6 @@ public Builder setCloudIdentityInfo( return this; } /** - * - * *
                * CloudIdentity-specific customer information.
                * 
          @@ -923,9 +826,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; } @@ -937,8 +838,6 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI return this; } /** - * - * *
                * CloudIdentity-specific customer information.
                * 
          @@ -957,8 +856,6 @@ public Builder clearCloudIdentityInfo() { return this; } /** - * - * *
                * CloudIdentity-specific customer information.
                * 
          @@ -966,13 +863,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.
                * 
          @@ -983,14 +878,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.
                * 
          @@ -998,17 +890,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_; @@ -1016,33 +905,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() { @@ -1053,8 +933,6 @@ public com.google.cloud.channel.v1.AdminUser getUser() { } } /** - * - * *
                * Admin user information.
                * 
          @@ -1075,15 +953,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(); @@ -1094,8 +971,6 @@ public Builder setUser(com.google.cloud.channel.v1.AdminUser.Builder builderForV return this; } /** - * - * *
                * Admin user information.
                * 
          @@ -1106,9 +981,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; } @@ -1120,8 +993,6 @@ public Builder mergeUser(com.google.cloud.channel.v1.AdminUser value) { return this; } /** - * - * *
                * Admin user information.
                * 
          @@ -1140,8 +1011,6 @@ public Builder clearUser() { return this; } /** - * - * *
                * Admin user information.
                * 
          @@ -1149,13 +1018,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.
                * 
          @@ -1166,12 +1033,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.
                * 
          @@ -1179,32 +1045,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 @@ -1212,43 +1072,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); } @@ -1258,12 +1112,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(); } @@ -1272,16 +1126,16 @@ 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 { - return new ProvisionCloudIdentityRequest(input, extensionRegistry); - } - }; + 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 { + return new ProvisionCloudIdentityRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,4 +1150,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java index 86b242bb..52d13172 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java index fc8d4582..5599f193 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ProvisionedService( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private ProvisionedService( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - provisioningId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + provisioningId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - productId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + productId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - skuId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + skuId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private ProvisionedService( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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
          @@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The provisioningId. */ @java.lang.Override @@ -150,15 +125,14 @@ 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
          @@ -166,15 +140,16 @@ 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 { @@ -185,15 +160,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.
              * 
          * * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The productId. */ @java.lang.Override @@ -202,30 +174,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 { @@ -236,14 +208,11 @@ 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.
              * 
          * * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The skuId. */ @java.lang.Override @@ -252,29 +221,29 @@ 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 { @@ -283,7 +252,6 @@ public com.google.protobuf.ByteString getSkuIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,7 +263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(provisioningId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, provisioningId_); } @@ -331,17 +300,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -364,127 +335,118 @@ 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() @@ -492,15 +454,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +477,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 @@ -535,8 +498,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_; @@ -548,39 +510,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; @@ -632,8 +593,6 @@ 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
          @@ -641,13 +600,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; @@ -656,8 +615,6 @@ 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
          @@ -665,14 +622,15 @@ 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 { @@ -680,8 +638,6 @@ 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
          @@ -689,22 +645,20 @@ public com.google.protobuf.ByteString getProvisioningIdBytes() {
                * 
          * * 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
          @@ -712,18 +666,15 @@ public Builder setProvisioningId(java.lang.String value) {
                * 
          * * 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
          @@ -731,16 +682,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; @@ -748,21 +699,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.
                * 
          * * 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; @@ -771,22 +720,21 @@ 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 { @@ -794,64 +742,57 @@ public com.google.protobuf.ByteString getProductIdBytes() { } } /** - * - * *
                * 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; @@ -859,20 +800,18 @@ 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.
                * 
          * * 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; @@ -881,21 +820,20 @@ 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 { @@ -903,68 +841,61 @@ public com.google.protobuf.ByteString getSkuIdBytes() { } } /** - * - * *
                * 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); } @@ -974,12 +905,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(); } @@ -988,16 +919,16 @@ 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 { - return new ProvisionedService(input, extensionRegistry); - } - }; + 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 { + return new ProvisionedService(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,4 +943,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ProvisionedService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java index 7c613a2c..a22aca2c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.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 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
          @@ -33,13 +15,10 @@ public interface ProvisionedServiceOrBuilder
              * 
          * * 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
          @@ -47,60 +26,50 @@ public interface ProvisionedServiceOrBuilder
              * 
          * * 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java index e4f50112..3cee280c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java +++ b/owl-bot-staging/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,29 +11,30 @@
            *
            * 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;
             }
          -
             private PurchasableOffer(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -69,28 +53,26 @@ private PurchasableOffer(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
          -              if (offer_ != null) {
          -                subBuilder = offer_.toBuilder();
          -              }
          -              offer_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(offer_);
          -                offer_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +          case 10: {
          +            com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
          +            if (offer_ != null) {
          +              subBuilder = offer_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            offer_ = input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(offer_);
          +              offer_ = subBuilder.buildPartial();
          +            }
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -98,39 +80,34 @@ private PurchasableOffer(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -138,14 +115,11 @@ public boolean hasOffer() { return offer_ != null; } /** - * - * *
              * Offer.
              * 
          * * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ @java.lang.Override @@ -153,8 +127,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } /** - * - * *
              * Offer.
              * 
          @@ -167,7 +139,6 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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 (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -193,7 +165,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,17 +176,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -235,104 +208,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.
          @@ -340,23 +306,21 @@ 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()
          @@ -364,15 +328,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -386,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_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
          @@ -407,8 +372,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 {
          @@ -422,39 +386,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;
          @@ -497,33 +460,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() { @@ -534,8 +488,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** - * - * *
                * Offer.
                * 
          @@ -556,15 +508,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(); @@ -575,8 +526,6 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValu return this; } /** - * - * *
                * Offer.
                * 
          @@ -587,7 +536,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; } @@ -599,8 +548,6 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
                * Offer.
                * 
          @@ -619,8 +566,6 @@ public Builder clearOffer() { return this; } /** - * - * *
                * Offer.
                * 
          @@ -628,13 +573,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.
                * 
          @@ -645,12 +588,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.
                * 
          @@ -658,24 +600,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); } @@ -685,12 +624,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(); } @@ -699,16 +638,16 @@ 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 { - return new PurchasableOffer(input, extensionRegistry); - } - }; + 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 { + return new PurchasableOffer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -723,4 +662,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java similarity index 54% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java index 975a709f..45333d89 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java index 6aaf4210..db1bd5e7 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java +++ b/owl-bot-staging/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,29 +11,30 @@
            *
            * 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;
             }
          -
             private PurchasableSku(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -69,27 +53,26 @@ private PurchasableSku(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          -              if (sku_ != null) {
          -                subBuilder = sku_.toBuilder();
          -              }
          -              sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(sku_);
          -                sku_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +          case 10: {
          +            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          +            if (sku_ != null) {
          +              subBuilder = sku_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(sku_);
          +              sku_ = subBuilder.buildPartial();
          +            }
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -97,39 +80,34 @@ private PurchasableSku(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -137,14 +115,11 @@ public boolean hasSku() { return sku_ != null; } /** - * - * *
              * SKU
              * 
          * * .google.cloud.channel.v1.Sku sku = 1; - * * @return The sku. */ @java.lang.Override @@ -152,8 +127,6 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** - * - * *
              * SKU
              * 
          @@ -166,7 +139,6 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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 (sku_ != null) { output.writeMessage(1, getSku()); } @@ -192,7 +165,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,17 +176,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -234,104 +208,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.
          @@ -339,23 +306,21 @@ 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()
          @@ -363,15 +328,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -385,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_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
          @@ -406,8 +372,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 {
          @@ -421,39 +386,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;
          @@ -496,33 +460,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() { @@ -533,8 +488,6 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** - * - * *
                * SKU
                * 
          @@ -555,15 +508,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(); @@ -574,8 +526,6 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { return this; } /** - * - * *
                * SKU
                * 
          @@ -585,7 +535,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; } @@ -597,8 +548,6 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
                * SKU
                * 
          @@ -617,8 +566,6 @@ public Builder clearSku() { return this; } /** - * - * *
                * SKU
                * 
          @@ -626,13 +573,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
                * 
          @@ -643,12 +588,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
                * 
          @@ -656,24 +600,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); } @@ -683,12 +624,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(); } @@ -697,16 +638,16 @@ 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 { - return new PurchasableSku(input, extensionRegistry); - } - }; + 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 { + return new PurchasableSku(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -721,4 +662,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java similarity index 53% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java index 02e177e7..cfafdc24 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java index c2fca099..86c7170b 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
          similarity index 70%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
          index 8ea79056..40b1a96b 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
          +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private RegisterSubscriberRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RegisterSubscriberRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + serviceAccount_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private RegisterSubscriberRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -140,29 +116,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 { @@ -173,14 +149,11 @@ 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.
              * 
          * * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ @java.lang.Override @@ -189,29 +162,29 @@ 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 { @@ -220,7 +193,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -262,16 +235,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,127 +267,117 @@ 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() @@ -421,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,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_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 @@ -462,8 +427,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(); @@ -474,39 +438,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; @@ -514,8 +477,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(); @@ -543,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.RegisterSubscriberRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.RegisterSubscriberRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,20 +517,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; @@ -578,21 +537,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 { @@ -600,61 +558,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; @@ -662,20 +613,18 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { 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; @@ -684,21 +633,20 @@ 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 { @@ -706,68 +654,61 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
                * 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); } @@ -777,12 +718,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(); } @@ -791,16 +732,16 @@ 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 { - return new RegisterSubscriberRequest(input, extensionRegistry); - } - }; + 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 { + return new RegisterSubscriberRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java index 576543cb..0793744e 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java @@ -1,75 +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/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java similarity index 67% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java index 7c5d46d5..e1b72a5d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private RegisterSubscriberResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private RegisterSubscriberResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + topic_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private RegisterSubscriberResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ 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() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,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 @@ -394,8 +362,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; @@ -405,39 +372,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; @@ -445,8 +411,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(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.RegisterSubscriberResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.RegisterSubscriberResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,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; @@ -505,21 +467,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 { @@ -527,68 +488,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); } @@ -598,12 +552,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(); } @@ -612,16 +566,16 @@ 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 { - return new RegisterSubscriberResponse(input, extensionRegistry); - } - }; + 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 { + return new RegisterSubscriberResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java new file mode 100644 index 00000000..8180179d --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java index 4dbea035..4264a327 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private RenewalSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,45 +53,42 @@ private RenewalSettings( case 0: done = true; break; - case 8: - { - enableRenewal_ = input.readBool(); - break; - } - case 16: - { - resizeUnitCount_ = input.readBool(); - break; - } - case 40: - { - int rawValue = input.readEnum(); + case 8: { - paymentPlan_ = rawValue; - break; - } - case 50: - { - com.google.cloud.channel.v1.Period.Builder subBuilder = null; - if (paymentCycle_ != null) { - subBuilder = paymentCycle_.toBuilder(); - } - paymentCycle_ = - input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(paymentCycle_); - paymentCycle_ = subBuilder.buildPartial(); - } + enableRenewal_ = input.readBool(); + break; + } + case 16: { - break; + resizeUnitCount_ = input.readBool(); + break; + } + case 40: { + int rawValue = input.readEnum(); + + paymentPlan_ = rawValue; + break; + } + case 50: { + com.google.cloud.channel.v1.Period.Builder subBuilder = null; + if (paymentCycle_ != null) { + subBuilder = paymentCycle_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + paymentCycle_ = input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(paymentCycle_); + paymentCycle_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,39 +96,34 @@ private RenewalSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -159,15 +134,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 @@ -178,51 +150,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 @@ -230,26 +190,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.
          @@ -263,7 +216,6 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          -
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -275,15 +227,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) {
          @@ -299,17 +251,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 += unknownFields.getSerializedSize();
               memoizedSize = size;
          @@ -319,20 +274,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 (!unknownFields.equals(other.unknownFields)) return false;
               return true;
          @@ -346,9 +303,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()) {
          @@ -360,127 +319,118 @@ 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() @@ -488,15 +438,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -516,9 +467,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 @@ -537,8 +488,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_; @@ -555,39 +505,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; @@ -637,16 +586,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 @@ -654,52 +600,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 @@ -707,38 +644,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; @@ -746,65 +677,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. */ @@ -812,24 +729,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; @@ -837,49 +751,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.
          @@ -901,8 +802,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.
          @@ -910,7 +809,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();
          @@ -921,8 +821,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.
          @@ -934,9 +832,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;
                   }
          @@ -948,8 +844,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.
          @@ -969,8 +863,6 @@ public Builder clearPaymentCycle() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * Describes how frequently the reseller will be billed, such as
                * once per month.
          @@ -979,13 +871,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.
          @@ -997,14 +887,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.
          @@ -1013,24 +900,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);
               }
           
          @@ -1040,12 +924,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();
             }
          @@ -1054,16 +938,16 @@ 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 {
          -          return new RenewalSettings(input, extensionRegistry);
          -        }
          -      };
          +  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 {
          +      return new RenewalSettings(input, extensionRegistry);
          +    }
          +  };
           
             public static com.google.protobuf.Parser parser() {
               return PARSER;
          @@ -1078,4 +962,6 @@ public com.google.protobuf.Parser getParserForType() {
             public com.google.cloud.channel.v1.RenewalSettings getDefaultInstanceForType() {
               return DEFAULT_INSTANCE;
             }
          +
           }
          +
          diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
          similarity index 73%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
          index c4e16914..de394439 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
          +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
          similarity index 69%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
          index 12e906fa..5732c824 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
          +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
          @@ -1,55 +1,39 @@
          -/*
          - * Copyright 2020 Google LLC
          - *
          - * Licensed under the Apache License, Version 2.0 (the "License");
          - * you may not use this file except in compliance with the License.
          - * You may obtain a copy of the License at
          - *
          - *     https://www.apache.org/licenses/LICENSE-2.0
          - *
          - * Unless required by applicable law or agreed to in writing, software
          - * distributed under the License is distributed on an "AS IS" BASIS,
          - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
          - * See the License for the specific language governing permissions and
          - * limitations under the License.
          - */
           // Generated by the protocol buffer compiler.  DO NOT EDIT!
           // source: google/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; } - private RepricingAdjustment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,31 +52,27 @@ private RepricingAdjustment( case 0: done = true; break; - case 18: - { - com.google.cloud.channel.v1.PercentageAdjustment.Builder subBuilder = null; - if (adjustmentCase_ == 2) { - subBuilder = - ((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_).toBuilder(); - } - adjustment_ = - input.readMessage( - com.google.cloud.channel.v1.PercentageAdjustment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); - adjustment_ = subBuilder.buildPartial(); - } - adjustmentCase_ = 2; - break; + case 18: { + com.google.cloud.channel.v1.PercentageAdjustment.Builder subBuilder = null; + if (adjustmentCase_ == 2) { + subBuilder = ((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + adjustment_ = + input.readMessage(com.google.cloud.channel.v1.PercentageAdjustment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); + adjustment_ = subBuilder.buildPartial(); } + adjustmentCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RepricingAdjustment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; } @@ -148,34 +123,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 @@ -183,26 +153,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.
              * 
          @@ -210,16 +175,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; @@ -231,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -245,9 +209,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -257,18 +220,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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: @@ -297,127 +260,118 @@ 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() @@ -425,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +398,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 @@ -464,8 +419,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_; @@ -482,39 +436,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; @@ -522,18 +475,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.unknownFields); onChanged(); @@ -563,12 +513,12 @@ public Builder mergeFrom( } 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() { @@ -578,20 +528,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 @@ -599,14 +544,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 @@ -624,8 +566,6 @@ public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment( } } /** - * - * *
                * Flat markup or markdown on an entire bill.
                * 
          @@ -646,8 +586,6 @@ public Builder setPercentageAdjustment(com.google.cloud.channel.v1.PercentageAdj return this; } /** - * - * *
                * Flat markup or markdown on an entire bill.
                * 
          @@ -666,25 +604,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; } @@ -700,8 +631,6 @@ public Builder mergePercentageAdjustment( return this; } /** - * - * *
                * Flat markup or markdown on an entire bill.
                * 
          @@ -725,21 +654,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.
                * 
          @@ -747,8 +671,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 { @@ -759,8 +682,6 @@ public Builder clearPercentageAdjustment() { } } /** - * - * *
                * Flat markup or markdown on an entire bill.
                * 
          @@ -768,32 +689,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); } @@ -803,12 +718,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(); } @@ -817,16 +732,16 @@ 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 { - return new RepricingAdjustment(input, extensionRegistry); - } - }; + 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 { + return new RepricingAdjustment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingAdjustment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java similarity index 64% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java index 7612d68c..cfae561e 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java similarity index 63% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java index fe6cc96f..957a89e8 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } @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; } - private RepricingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,98 +53,73 @@ private RepricingConfig( case 0: done = true; break; - case 10: - { - com.google.type.Date.Builder subBuilder = null; - if (effectiveInvoiceMonth_ != null) { - subBuilder = effectiveInvoiceMonth_.toBuilder(); - } - effectiveInvoiceMonth_ = - input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(effectiveInvoiceMonth_); - effectiveInvoiceMonth_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.Date.Builder subBuilder = null; + if (effectiveInvoiceMonth_ != null) { + subBuilder = effectiveInvoiceMonth_.toBuilder(); + } + effectiveInvoiceMonth_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(effectiveInvoiceMonth_); + effectiveInvoiceMonth_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.channel.v1.RepricingAdjustment.Builder subBuilder = null; - if (adjustment_ != null) { - subBuilder = adjustment_.toBuilder(); - } - adjustment_ = - input.readMessage( - com.google.cloud.channel.v1.RepricingAdjustment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adjustment_); - adjustment_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.channel.v1.RepricingAdjustment.Builder subBuilder = null; + if (adjustment_ != null) { + subBuilder = adjustment_.toBuilder(); + } + adjustment_ = input.readMessage(com.google.cloud.channel.v1.RepricingAdjustment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adjustment_); + adjustment_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - rebillingBasis_ = rawValue; - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + rebillingBasis_ = rawValue; + break; + } + case 34: { + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder subBuilder = null; + if (granularityCase_ == 4) { + subBuilder = ((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_).toBuilder(); } - case 34: - { - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder - subBuilder = null; - if (granularityCase_ == 4) { - subBuilder = - ((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) - granularity_) - .toBuilder(); - } - granularity_ = - input.readMessage( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) - granularity_); - granularity_ = subBuilder.buildPartial(); - } - granularityCase_ = 4; - break; + granularity_ = + input.readMessage(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_); + granularity_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder - subBuilder = null; - if (granularityCase_ == 5) { - subBuilder = - ((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - granularity_) - .toBuilder(); - } - granularity_ = - input.readMessage( - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - granularity_); - granularity_ = subBuilder.buildPartial(); - } - granularityCase_ = 5; - break; + granularityCase_ = 4; + break; + } + case 42: { + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder subBuilder = null; + if (granularityCase_ == 5) { + subBuilder = ((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + granularity_ = + input.readMessage(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_); + granularity_ = subBuilder.buildPartial(); + } + granularityCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -169,36 +127,31 @@ private RepricingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -206,13 +159,10 @@ public interface EntitlementGranularityOrBuilder
                * 
          * * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ java.lang.String getEntitlement(); /** - * - * *
                * Resource name of the entitlement.
                * Format:
          @@ -220,45 +170,43 @@ 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; } - private EntitlementGranularity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -277,20 +225,19 @@ private EntitlementGranularity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + entitlement_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -298,33 +245,29 @@ private EntitlementGranularity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -332,7 +275,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
                * 
          * * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ @java.lang.Override @@ -341,15 +283,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:
          @@ -357,15 +298,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 { @@ -374,7 +316,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +327,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -410,15 +352,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -438,95 +380,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 @@ -536,49 +470,44 @@ 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() + // Construct using com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -588,16 +517,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 @@ -611,8 +538,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; @@ -622,53 +548,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(); @@ -692,9 +611,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -706,8 +623,6 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
                  * Resource name of the entitlement.
                  * Format:
          @@ -715,13 +630,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; @@ -730,8 +645,6 @@ public java.lang.String getEntitlement() { } } /** - * - * *
                  * Resource name of the entitlement.
                  * Format:
          @@ -739,14 +652,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 { @@ -754,8 +668,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
                  * Resource name of the entitlement.
                  * Format:
          @@ -763,22 +675,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:
          @@ -786,18 +696,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:
          @@ -805,21 +712,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) { @@ -832,32 +738,30 @@ 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 { - return new EntitlementGranularity(input, extensionRegistry); - } - }; + 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 { + return new EntitlementGranularity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,19 +773,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
          @@ -890,29 +792,30 @@ 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;
               }
          -
               private ChannelPartnerGranularity(
                   com.google.protobuf.CodedInputStream input,
                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -931,13 +834,13 @@ private ChannelPartnerGranularity(
                       case 0:
                         done = true;
                         break;
          -            default:
          -              {
          -                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                  done = true;
          -                }
          -                break;
          +            default: {
          +              if (!parseUnknownField(
          +                  input, unknownFields, extensionRegistry, tag)) {
          +                done = true;
                         }
          +              break;
          +            }
                     }
                   }
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -945,30 +848,27 @@ private ChannelPartnerGranularity(
                 } catch (com.google.protobuf.UninitializedMessageException e) {
                   throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                 } catch (java.io.IOException e) {
          -        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +        throw new com.google.protobuf.InvalidProtocolBufferException(
          +            e).setUnfinishedMessage(this);
                 } finally {
                   this.unknownFields = unknownFields.build();
                   makeExtensionsImmutable();
                 }
               }
          -
          -    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -      return com.google.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;
          @@ -980,7 +880,8 @@ public final boolean isInitialized() {
               }
           
               @java.lang.Override
          -    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
          +    public void writeTo(com.google.protobuf.CodedOutputStream output)
          +                        throws java.io.IOException {
                 unknownFields.writeTo(output);
               }
           
          @@ -998,13 +899,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 (!unknownFields.equals(other.unknownFields)) return false;
                 return true;
          @@ -1023,95 +923,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
          @@ -1121,8 +1013,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
          @@ -1131,42 +1021,38 @@ 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()
          +      // Construct using com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder()
                 private Builder() {
                   maybeForceBuilderInitialization();
                 }
           
          -      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +      private Builder(
          +          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                   super(parent);
                   maybeForceBuilderInitialization();
                 }
          -
                 private void maybeForceBuilderInitialization() {
          -        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +        if (com.google.protobuf.GeneratedMessageV3
          +                .alwaysUseFieldBuilders) {
          +        }
                 }
          -
                 @java.lang.Override
                 public Builder clear() {
                   super.clear();
          @@ -1174,22 +1060,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);
                   }
          @@ -1198,8 +1081,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;
                 }
          @@ -1208,54 +1090,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.unknownFields);
                   onChanged();
                   return this;
          @@ -1275,9 +1149,7 @@ public Builder mergeFrom(
                   try {
                     parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                   } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -          parsedMessage =
          -              (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
          -                  e.getUnfinishedMessage();
          +          parsedMessage = (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) e.getUnfinishedMessage();
                     throw e.unwrapIOException();
                   } finally {
                     if (parsedMessage != null) {
          @@ -1286,7 +1158,6 @@ public Builder mergeFrom(
                   }
                   return this;
                 }
          -
                 @java.lang.Override
                 public final Builder setUnknownFields(
                     final com.google.protobuf.UnknownFieldSet unknownFields) {
          @@ -1299,33 +1170,30 @@ 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 {
          -            return new ChannelPartnerGranularity(input, extensionRegistry);
          -          }
          -        };
          +    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 {
          +        return new ChannelPartnerGranularity(input, extensionRegistry);
          +      }
          +    };
           
               public static com.google.protobuf.Parser parser() {
                 return PARSER;
          @@ -1337,24 +1205,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;
               }
          @@ -1370,39 +1235,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 @@ -1410,61 +1267,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 @@ -1472,63 +1313,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.
              * 
          * - * .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 @@ -1536,34 +1360,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.
              * 
          * - * .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() { @@ -1573,16 +1388,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 @@ -1590,34 +1400,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() { @@ -1627,47 +1426,33 @@ 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; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1679,24 +1464,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (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_); } unknownFields.writeTo(output); } @@ -1708,26 +1491,24 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1737,31 +1518,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!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: @@ -1804,127 +1587,118 @@ 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() @@ -1932,15 +1706,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1964,9 +1739,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 @@ -1985,8 +1760,7 @@ 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); if (granularityCase_ == 4) { if (entitlementGranularityBuilder_ == null) { result.granularity_ = granularity_; @@ -2021,39 +1795,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; @@ -2072,20 +1845,17 @@ public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig other) { setRebillingBasisValue(other.getRebillingBasisValue()); } 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.unknownFields); onChanged(); @@ -2115,12 +1885,12 @@ public Builder mergeFrom( } 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() { @@ -2130,23 +1900,16 @@ public Builder clearGranularity() { return this; } + 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 @@ -2154,50 +1917,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(); @@ -2211,20 +1961,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(); @@ -2235,30 +1980,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; } @@ -2274,16 +2008,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) { @@ -2302,102 +2032,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 @@ -2405,51 +2104,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(); @@ -2463,20 +2148,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(); @@ -2487,30 +2167,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; } @@ -2526,16 +2195,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) { @@ -2554,142 +2219,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.
                * 
          * - * - * .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) { @@ -2705,18 +2328,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.
                * 
          * - * - * .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(); @@ -2727,24 +2347,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.
                * 
          * - * - * .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; } @@ -2756,16 +2370,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.
                * 
          * - * - * .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) { @@ -2779,63 +2389,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.
                * 
          * - * - * .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_; @@ -2843,58 +2441,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) { @@ -2910,15 +2489,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) { @@ -2932,23 +2507,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; } @@ -2960,15 +2529,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) { @@ -2982,64 +2547,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_; @@ -3047,77 +2596,55 @@ 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. */ @@ -3125,34 +2652,29 @@ 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3162,12 +2684,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(); } @@ -3176,16 +2698,16 @@ 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 { - return new RepricingConfig(input, extensionRegistry); - } - }; + 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 { + return new RepricingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3200,4 +2722,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java similarity index 62% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java index 2ce95fd3..a44bcda3 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java @@ -1,228 +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/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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java new file mode 100644 index 00000000..69f9a7f3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java @@ -0,0 +1,175 @@ +// 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java index fae2a68b..8874e986 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java +++ b/owl-bot-staging/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/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java new file mode 100644 index 00000000..a6788161 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java @@ -0,0 +1,1341 @@ +// 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\"\333\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\022\n\nauth_token\030\005 \001(\t" + + "\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transferred_c" + + "ustomer_identity\"|\n\034ListTransferableSkus" + + "Response\022C\n\021transferable_skus\030\001 \003(\0132(.go" + + "ogle.cloud.channel.v1.TransferableSku\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\333\001\n\035ListTransfera" + + "bleOffersRequest\022\033\n\021cloud_identity_id\030\004 " + + "\001(\tH\000\022\027\n\rcustomer_name\030\005 \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_t" + + "oken\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\025\n\rlanguage" + + "_code\030\007 \001(\tB\037\n\035transferred_customer_iden" + + "tity\"\202\001\n\036ListTransferableOffersResponse\022" + + "G\n\023transferable_offers\030\001 \003(\0132*.google.cl" + + "oud.channel.v1.TransferableOffer\022\027\n\017next" + + "_page_token\030\002 \001(\t\"B\n\021TransferableOffer\022-" + + "\n\005offer\030\001 \001(\0132\036.google.cloud.channel.v1." + + "Offer\"V\n\025GetEntitlementRequest\022=\n\004name\030\001" + + " \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis.co" + + "m/Entitlement\"\252\001\n\036ListChannelPartnerLink" + + "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\022B" + + "\n\004view\030\004 \001(\0162/.google.cloud.channel.v1.C" + + "hannelPartnerLinkViewB\003\340A\001\"\206\001\n\037ListChann" + + "elPartnerLinksResponse\022J\n\025channel_partne" + + "r_links\030\001 \003(\0132+.google.cloud.channel.v1." + + "ChannelPartnerLink\022\027\n\017next_page_token\030\002 " + + "\001(\t\"u\n\034GetChannelPartnerLinkRequest\022\021\n\004n" + + "ame\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/.google.cl" + + "oud.channel.v1.ChannelPartnerLinkViewB\003\340" + + "A\001\"\206\001\n\037CreateChannelPartnerLinkRequest\022\023" + + "\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel_partner_l" + + "ink\030\002 \001(\0132+.google.cloud.channel.v1.Chan" + + "nelPartnerLinkB\003\340A\002\"\272\001\n\037UpdateChannelPar" + + "tnerLinkRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022N\n\024ch" + + "annel_partner_link\030\002 \001(\0132+.google.cloud." + + "channel.v1.ChannelPartnerLinkB\003\340A\002\0224\n\013up" + + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"n\n!GetCustomerRepricingConfigRe" + + "quest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudchanne" + + "l.googleapis.com/CustomerRepricingConfig" + + "\"\251\001\n#ListCustomerRepricingConfigsRequest" + + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.g" + + "oogleapis.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\006filte" + + "r\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerRepricingCo" + + "nfigsResponse\022T\n\032customer_repricing_conf" + + "igs\030\001 \003(\01320.google.cloud.channel.v1.Cust" + + "omerRepricingConfig\022\027\n\017next_page_token\030\002" + + " \001(\t\"\276\001\n$CreateCustomerRepricingConfigRe" + + "quest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchan" + + "nel.googleapis.com/Customer\022X\n\031customer_" + + "repricing_config\030\002 \001(\01320.google.cloud.ch" + + "annel.v1.CustomerRepricingConfigB\003\340A\002\"\200\001" + + "\n$UpdateCustomerRepricingConfigRequest\022X" + + "\n\031customer_repricing_config\030\001 \001(\01320.goog" + + "le.cloud.channel.v1.CustomerRepricingCon" + + "figB\003\340A\002\"q\n$DeleteCustomerRepricingConfi" + + "gRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudcha" + + "nnel.googleapis.com/CustomerRepricingCon" + + "fig\"z\n\'GetChannelPartnerRepricingConfigR" + + "equest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9cloudchann" + + "el.googleapis.com/ChannelPartnerRepricin" + + "gConfig\"\271\001\n)ListChannelPartnerRepricingC" + + "onfigsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" + + "loudchannel.googleapis.com/ChannelPartne" + + "rLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to" + + "ken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\250\001\n*" + + "ListChannelPartnerRepricingConfigsRespon" + + "se\022a\n!channel_partner_repricing_configs\030" + + "\001 \003(\01326.google.cloud.channel.v1.ChannelP" + + "artnerRepricingConfig\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\333\001\n*CreateChannelPartnerRepricing" + + "ConfigRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" + + "loudchannel.googleapis.com/ChannelPartne" + + "rLink\022e\n channel_partner_repricing_confi" + + "g\030\002 \001(\01326.google.cloud.channel.v1.Channe" + + "lPartnerRepricingConfigB\003\340A\002\"\223\001\n*UpdateC" + + "hannelPartnerRepricingConfigRequest\022e\n c" + + "hannel_partner_repricing_config\030\001 \001(\01326." + + "google.cloud.channel.v1.ChannelPartnerRe" + + "pricingConfigB\003\340A\002\"}\n*DeleteChannelPartn" + + "erRepricingConfigRequest\022O\n\004name\030\001 \001(\tBA" + + "\340A\002\372A;\n9cloudchannel.googleapis.com/Chan" + + "nelPartnerRepricingConfig\"\261\001\n\030CreateEnti" + + "tlementRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$" + + "cloudchannel.googleapis.com/Customer\022>\n\013" + + "entitlement\030\002 \001(\0132$.google.cloud.channel" + + ".v1.EntitlementB\003\340A\002\022\027\n\nrequest_id\030\005 \001(\t" + + "B\003\340A\001\"\240\001\n\033TransferEntitlementsRequest\022\023\n" + + "\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\013" + + "2$.google.cloud.channel.v1.EntitlementB\003" + + "\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nrequest_id\030\006 " + + "\001(\tB\003\340A\001\"Z\n\034TransferEntitlementsResponse" + + "\022:\n\014entitlements\030\001 \003(\0132$.google.cloud.ch" + + "annel.v1.Entitlement\"\224\001\n#TransferEntitle" + + "mentsToGoogleRequest\022\023\n\006parent\030\001 \001(\tB\003\340A" + + "\002\022?\n\014entitlements\030\002 \003(\0132$.google.cloud.c" + + "hannel.v1.EntitlementB\003\340A\002\022\027\n\nrequest_id" + + "\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParametersRequest\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparameters\030\002 \003(\0132\"" + + ".google.cloud.channel.v1.ParameterB\003\340A\002\022" + + "\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021purchase_ord" + + "er_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRenewalSettin" + + "gsRequest\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\nrequest_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!cloudch" + + "annel.googleapis.com/Offer\022;\n\nparameters" + + "\030\003 \003(\0132\".google.cloud.channel.v1.Paramet" + + "erB\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\027StartPaidSer" + + "viceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nreques" + + "t_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntitlementRequ" + + "est\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001" + + "(\tB\003\340A\001\"G\n\031SuspendEntitlementRequest\022\021\n\004" + + "name\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\022Lo" + + "okupOfferRequest\022D\n\013entitlement\030\001 \001(\tB/\340" + + "A\002\372A)\n\'cloudchannel.googleapis.com/Entit" + + "lement\"x\n\023ListProductsRequest\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\np" + + "age_token\030\003 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\004 " + + "\001(\tB\003\340A\001\"c\n\024ListProductsResponse\0222\n\010prod" + + "ucts\030\001 \003(\0132 .google.cloud.channel.v1.Pro" + + "duct\022\027\n\017next_page_token\030\002 \001(\t\"\261\001\n\017ListSk" + + "usRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\n#cloud" + + "channel.googleapis.com/Product\022\024\n\007accoun" + + "t\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_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\017nex" + + "t_page_token\030\002 \001(\t\"\212\001\n\021ListOffersRequest" + + "\022\023\n\006parent\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\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\006offers\030\001 \003(\0132\036." + + "google.cloud.channel.v1.Offer\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\266\005\n\032ListPurchasableSkusRe" + + "quest\022t\n\033create_entitlement_purchase\030\002 \001" + + "(\0132M.google.cloud.channel.v1.ListPurchas" + + "ableSkusRequest.CreateEntitlementPurchas" + + "eH\000\022h\n\025change_offer_purchase\030\003 \001(\0132G.goo" + + "gle.cloud.channel.v1.ListPurchasableSkus" + + "Request.ChangeOfferPurchaseH\000\022>\n\010custome" + + "r\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\rlanguage_code\030" + + "\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlementPurchase\022" + + "\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023ChangeOfferPur" + + "chase\022\030\n\013entitlement\030\001 \001(\tB\003\340A\002\022l\n\013chang" + + "e_type\030\002 \001(\0162R.google.cloud.channel.v1.L" + + "istPurchasableSkusRequest.ChangeOfferPur" + + "chase.ChangeTypeB\003\340A\002\"E\n\nChangeType\022\033\n\027C" + + "HANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UPGRADE\020\001\022\r\n" + + "\tDOWNGRADE\020\002B\021\n\017purchase_option\"y\n\033ListP" + + "urchasableSkusResponse\022A\n\020purchasable_sk" + + "us\030\001 \003(\0132\'.google.cloud.channel.v1.Purch" + + "asableSku\022\027\n\017next_page_token\030\002 \001(\t\";\n\016Pu" + + "rchasableSku\022)\n\003sku\030\001 \001(\0132\034.google.cloud" + + ".channel.v1.Sku\"\230\004\n\034ListPurchasableOffer" + + "sRequest\022v\n\033create_entitlement_purchase\030" + + "\002 \001(\0132O.google.cloud.channel.v1.ListPurc" + + "hasableOffersRequest.CreateEntitlementPu" + + "rchaseH\000\022j\n\025change_offer_purchase\030\003 \001(\0132" + + "I.google.cloud.channel.v1.ListPurchasabl" + + "eOffersRequest.ChangeOfferPurchaseH\000\022>\n\010" + + "customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.goo" + + "gleapis.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\rlanguag" + + "e_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEntitlementPu" + + "rchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023ChangeOfferP" + + "urchase\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_option\"\177\n\035Li" + + "stPurchasableOffersResponse\022E\n\022purchasab" + + "le_offers\030\001 \003(\0132).google.cloud.channel.v" + + "1.PurchasableOffer\022\027\n\017next_page_token\030\002 " + + "\001(\t\"A\n\020PurchasableOffer\022-\n\005offer\030\001 \001(\0132\036" + + ".google.cloud.channel.v1.Offer\"O\n\031Regist" + + "erSubscriberRequest\022\024\n\007account\030\001 \001(\tB\003\340A" + + "\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"+\n\032Regis" + + "terSubscriberResponse\022\r\n\005topic\030\001 \001(\t\"Q\n\033" + + "UnregisterSubscriberRequest\022\024\n\007account\030\001" + + " \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"" + + "-\n\034UnregisterSubscriberResponse\022\r\n\005topic" + + "\030\001 \001(\t\"_\n\026ListSubscribersRequest\022\024\n\007acco" + + "unt\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\027ListSubscribe" + + "rsResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020service_acc" + + "ounts\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t2\371K\n" + + "\023CloudChannelService\022\324\001\n\rListCustomers\022-" + + ".google.cloud.channel.v1.ListCustomersRe" + + "quest\032..google.cloud.channel.v1.ListCust" + + "omersResponse\"d\202\323\344\223\002^\022!/v1/{parent=accou" + + "nts/*}/customersZ9\0227/v1/{parent=accounts" + + "/*/channelPartnerLinks/*}/customers\022\312\001\n\013" + + "GetCustomer\022+.google.cloud.channel.v1.Ge" + + "tCustomerRequest\032!.google.cloud.channel." + + "v1.Customer\"k\202\323\344\223\002^\022!/v1/{name=accounts/" + + "*/customers/*}Z9\0227/v1/{name=accounts/*/c" + + "hannelPartnerLinks/*/customers/*}\332A\004name" + + "\022\350\001\n\037CheckCloudIdentityAccountsExist\022?.g" + + "oogle.cloud.channel.v1.CheckCloudIdentit" + + "yAccountsExistRequest\032@.google.cloud.cha" + + "nnel.v1.CheckCloudIdentityAccountsExistR" + + "esponse\"B\202\323\344\223\002<\"7/v1/{parent=accounts/*}" + + ":checkCloudIdentityAccountsExist:\001*\022\335\001\n\016" + + "CreateCustomer\022..google.cloud.channel.v1" + + ".CreateCustomerRequest\032!.google.cloud.ch" + + "annel.v1.Customer\"x\202\323\344\223\002r\"!/v1/{parent=a" + + "ccounts/*}/customers:\010customerZC\"7/v1/{p" + + "arent=accounts/*/channelPartnerLinks/*}/" + + "customers:\010customer\022\361\001\n\016UpdateCustomer\022." + + ".google.cloud.channel.v1.UpdateCustomerR" + + "equest\032!.google.cloud.channel.v1.Custome" + + "r\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.name=accounts" + + "/*/customers/*}:\010customerZL2@/v1/{custom" + + "er.name=accounts/*/channelPartnerLinks/*" + + "/customers/*}:\010customer\022\305\001\n\016DeleteCustom" + + "er\022..google.cloud.channel.v1.DeleteCusto" + + "merRequest\032\026.google.protobuf.Empty\"k\202\323\344\223" + + "\002^*!/v1/{name=accounts/*/customers/*}Z9*" + + "7/v1/{name=accounts/*/channelPartnerLink" + + "s/*/customers/*}\332A\004name\022\335\001\n\016ImportCustom" + + "er\022..google.cloud.channel.v1.ImportCusto" + + "merRequest\032!.google.cloud.channel.v1.Cus" + + "tomer\"x\202\323\344\223\002r\"(/v1/{parent=accounts/*}/c" + + "ustomers:import:\001*ZC\">/v1/{parent=accoun" + + "ts/*/channelPartnerLinks/*}/customers:im" + + "port:\001*\022\330\001\n\026ProvisionCloudIdentity\0226.goo" + + "gle.cloud.channel.v1.ProvisionCloudIdent" + + "ityRequest\032\035.google.longrunning.Operatio" + + "n\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/customers/*/ent" + + "itlements/*}:activate:\001*\312A \n\013Entitlement" + + "\022\021OperationMetadata\022\344\001\n\024TransferEntitlem" + + "ents\0224.google.cloud.channel.v1.TransferE" + + "ntitlementsRequest\032\035.google.longrunning." + + "Operation\"w\202\323\344\223\002=\"8/v1/{parent=accounts/" + + "*/customers/*}:transferEntitlements:\001*\312A" + + "1\n\034TransferEntitlementsResponse\022\021Operati" + + "onMetadata\022\365\001\n\034TransferEntitlementsToGoo" + + "gle\022<.google.cloud.channel.v1.TransferEn" + + "titlementsToGoogleRequest\032\035.google.longr" + + "unning.Operation\"x\202\323\344\223\002E\"@/v1/{parent=ac" + + "counts/*/customers/*}:transferEntitlemen" + + "tsToGoogle:\001*\312A*\n\025google.protobuf.Empty\022" + + "\021OperationMetadata\022\301\001\n\027ListChannelPartne" + + "rLinks\0227.google.cloud.channel.v1.ListCha" + + "nnelPartnerLinksRequest\0328.google.cloud.c" + + "hannel.v1.ListChannelPartnerLinksRespons" + + "e\"3\202\323\344\223\002-\022+/v1/{parent=accounts/*}/chann" + + "elPartnerLinks\022\260\001\n\025GetChannelPartnerLink" + + "\0225.google.cloud.channel.v1.GetChannelPar" + + "tnerLinkRequest\032+.google.cloud.channel.v" + + "1.ChannelPartnerLink\"3\202\323\344\223\002-\022+/v1/{name=" + + "accounts/*/channelPartnerLinks/*}\022\314\001\n\030Cr" + + "eateChannelPartnerLink\0228.google.cloud.ch" + + "annel.v1.CreateChannelPartnerLinkRequest" + + "\032+.google.cloud.channel.v1.ChannelPartne" + + "rLink\"I\202\323\344\223\002C\"+/v1/{parent=accounts/*}/c" + + "hannelPartnerLinks:\024channel_partner_link" + + "\022\271\001\n\030UpdateChannelPartnerLink\0228.google.c" + + "loud.channel.v1.UpdateChannelPartnerLink" + + "Request\032+.google.cloud.channel.v1.Channe" + + "lPartnerLink\"6\202\323\344\223\00202+/v1/{name=accounts" + + "/*/channelPartnerLinks/*}:\001*\022\327\001\n\032GetCust" + + "omerRepricingConfig\022:.google.cloud.chann" + + "el.v1.GetCustomerRepricingConfigRequest\032" + + "0.google.cloud.channel.v1.CustomerRepric" + + "ingConfig\"K\202\323\344\223\002>\022\022*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.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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java index 9e7129ed..f48bd898 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java +++ b/owl-bot-staging/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,31 +13,31 @@
            *
            * 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;
             }
          -
             private Sku(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -73,52 +56,45 @@ private Sku(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              java.lang.String s = input.readStringRequireUtf8();
          +          case 10: {
          +            java.lang.String s = input.readStringRequireUtf8();
           
          -              name_ = s;
          -              break;
          +            name_ = s;
          +            break;
          +          }
          +          case 18: {
          +            com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
          +            if (marketingInfo_ != null) {
          +              subBuilder = marketingInfo_.toBuilder();
                       }
          -          case 18:
          -            {
          -              com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
          -              if (marketingInfo_ != null) {
          -                subBuilder = marketingInfo_.toBuilder();
          -              }
          -              marketingInfo_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(marketingInfo_);
          -                marketingInfo_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +            marketingInfo_ = input.readMessage(com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(marketingInfo_);
          +              marketingInfo_ = subBuilder.buildPartial();
                       }
          -          case 26:
          -            {
          -              com.google.cloud.channel.v1.Product.Builder subBuilder = null;
          -              if (product_ != null) {
          -                subBuilder = product_.toBuilder();
          -              }
          -              product_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.Product.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(product_);
          -                product_ = subBuilder.buildPartial();
          -              }
           
          -              break;
          +            break;
          +          }
          +          case 26: {
          +            com.google.cloud.channel.v1.Product.Builder subBuilder = null;
          +            if (product_ != null) {
          +              subBuilder = product_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            product_ = input.readMessage(com.google.cloud.channel.v1.Product.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(product_);
          +              product_ = subBuilder.buildPartial();
                       }
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
          +            }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -126,23 +102,22 @@ private Sku(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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);
             }
          @@ -150,15 +125,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 @@ -167,30 +139,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 { @@ -201,14 +173,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 @@ -216,25 +185,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.
              * 
          @@ -249,14 +211,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 @@ -264,14 +223,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 @@ -279,8 +235,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.
              * 
          @@ -293,7 +247,6 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -328,10 +282,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,21 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -383,103 +342,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
          @@ -489,20 +442,19 @@ 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);
               }
          @@ -512,15 +464,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -542,9 +495,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
          @@ -583,39 +536,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;
          @@ -665,21 +617,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; @@ -688,22 +638,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 { @@ -711,64 +660,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; @@ -776,47 +718,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.
                * 
          @@ -837,8 +766,6 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** - * - * *
                * Marketing information for the SKU.
                * 
          @@ -857,8 +784,6 @@ public Builder setMarketingInfo( return this; } /** - * - * *
                * Marketing information for the SKU.
                * 
          @@ -869,9 +794,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; } @@ -883,8 +806,6 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** - * - * *
                * Marketing information for the SKU.
                * 
          @@ -903,8 +824,6 @@ public Builder clearMarketingInfo() { return this; } /** - * - * *
                * Marketing information for the SKU.
                * 
          @@ -912,13 +831,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.
                * 
          @@ -929,14 +846,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.
                * 
          @@ -944,17 +858,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_; @@ -962,47 +873,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.
                * 
          @@ -1023,15 +921,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(); @@ -1042,8 +939,6 @@ public Builder setProduct(com.google.cloud.channel.v1.Product.Builder builderFor return this; } /** - * - * *
                * Product the SKU is associated with.
                * 
          @@ -1054,9 +949,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; } @@ -1068,8 +961,6 @@ public Builder mergeProduct(com.google.cloud.channel.v1.Product value) { return this; } /** - * - * *
                * Product the SKU is associated with.
                * 
          @@ -1088,8 +979,6 @@ public Builder clearProduct() { return this; } /** - * - * *
                * Product the SKU is associated with.
                * 
          @@ -1097,13 +986,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.
                * 
          @@ -1114,14 +1001,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.
                * 
          @@ -1129,24 +1013,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); } @@ -1156,12 +1037,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(); } @@ -1170,16 +1051,16 @@ 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 { - return new Sku(input, extensionRegistry); - } - }; + 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 { + return new Sku(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1194,4 +1075,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Sku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java index 51aecf74..cbe66922 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java index e46a4f58..ddcad0a5 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.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.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,15 +26,16 @@ 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; } - private StartPaidServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private StartPaidServiceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private StartPaidServiceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -142,15 +118,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:
          @@ -158,15 +133,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 { @@ -177,8 +153,6 @@ 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.
          @@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
              * 
          * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -201,15 +174,14 @@ 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.
          @@ -223,15 +195,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 { @@ -240,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -282,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,126 +287,117 @@ 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].
              * 
          * * 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() @@ -440,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -460,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_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 @@ -481,8 +447,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(); @@ -493,39 +458,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; @@ -533,8 +497,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(); @@ -562,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.StartPaidServiceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.StartPaidServiceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -575,8 +537,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:
          @@ -584,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; @@ -599,8 +559,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The name of the entitlement to start a paid service for.
                * Name uses the format:
          @@ -608,14 +566,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 { @@ -623,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The name of the entitlement to start a paid service for.
                * Name uses the format:
          @@ -632,22 +589,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:
          @@ -655,18 +610,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:
          @@ -674,16 +626,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; @@ -691,8 +643,6 @@ 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.
          @@ -706,13 +656,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; @@ -721,8 +671,6 @@ 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.
          @@ -736,14 +684,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 { @@ -751,8 +700,6 @@ 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.
          @@ -766,22 +713,20 @@ 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.
          @@ -795,18 +740,15 @@ 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.
          @@ -820,23 +762,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); } @@ -846,12 +788,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(); } @@ -860,16 +802,16 @@ 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 { - return new StartPaidServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new StartPaidServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -884,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.StartPaidServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java index 59e7ecba..4262b2f1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +26,12 @@ 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.
          @@ -68,13 +45,10 @@ 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.
          @@ -88,8 +62,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java index 3758ea60..9db3d917 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java +++ b/owl-bot-staging/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,29 +11,30 @@
            *
            * 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;
             }
          -
             private SubscriberEvent(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -69,45 +53,41 @@ private SubscriberEvent(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              com.google.cloud.channel.v1.CustomerEvent.Builder subBuilder = null;
          -              if (eventCase_ == 1) {
          -                subBuilder = ((com.google.cloud.channel.v1.CustomerEvent) event_).toBuilder();
          -              }
          -              event_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.CustomerEvent.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom((com.google.cloud.channel.v1.CustomerEvent) event_);
          -                event_ = subBuilder.buildPartial();
          -              }
          -              eventCase_ = 1;
          -              break;
          +          case 10: {
          +            com.google.cloud.channel.v1.CustomerEvent.Builder subBuilder = null;
          +            if (eventCase_ == 1) {
          +              subBuilder = ((com.google.cloud.channel.v1.CustomerEvent) event_).toBuilder();
                       }
          -          case 18:
          -            {
          -              com.google.cloud.channel.v1.EntitlementEvent.Builder subBuilder = null;
          -              if (eventCase_ == 2) {
          -                subBuilder = ((com.google.cloud.channel.v1.EntitlementEvent) event_).toBuilder();
          -              }
          -              event_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.EntitlementEvent.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom((com.google.cloud.channel.v1.EntitlementEvent) event_);
          -                event_ = subBuilder.buildPartial();
          -              }
          -              eventCase_ = 2;
          -              break;
          +            event_ =
          +                input.readMessage(com.google.cloud.channel.v1.CustomerEvent.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom((com.google.cloud.channel.v1.CustomerEvent) event_);
          +              event_ = subBuilder.buildPartial();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            eventCase_ = 1;
          +            break;
          +          }
          +          case 18: {
          +            com.google.cloud.channel.v1.EntitlementEvent.Builder subBuilder = null;
          +            if (eventCase_ == 2) {
          +              subBuilder = ((com.google.cloud.channel.v1.EntitlementEvent) event_).toBuilder();
          +            }
          +            event_ =
          +                input.readMessage(com.google.cloud.channel.v1.EntitlementEvent.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom((com.google.cloud.channel.v1.EntitlementEvent) event_);
          +              event_ = subBuilder.buildPartial();
                       }
          +            eventCase_ = 2;
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
          +            }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -115,40 +95,35 @@ private SubscriberEvent(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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;
               }
          @@ -164,36 +139,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 @@ -201,26 +170,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.
              * 
          @@ -230,21 +194,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 @@ -252,26 +213,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.
              * 
          @@ -281,13 +237,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; @@ -299,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -316,14 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -333,21 +287,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: @@ -380,104 +335,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.
          @@ -485,23 +433,21 @@ 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()
          @@ -509,15 +455,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -527,9 +474,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
          @@ -548,8 +495,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_;
          @@ -573,39 +519,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;
          @@ -615,20 +560,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.unknownFields);
                 onChanged();
          @@ -658,12 +600,12 @@ public Builder mergeFrom(
                 }
                 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() {
          @@ -673,20 +615,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 @@ -694,14 +631,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 @@ -719,8 +653,6 @@ public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { } } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -741,8 +673,6 @@ public Builder setCustomerEvent(com.google.cloud.channel.v1.CustomerEvent value) return this; } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -761,8 +691,6 @@ public Builder setCustomerEvent( return this; } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -771,13 +699,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; } @@ -793,8 +718,6 @@ public Builder mergeCustomerEvent(com.google.cloud.channel.v1.CustomerEvent valu return this; } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -818,8 +741,6 @@ public Builder clearCustomerEvent() { return this; } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -830,8 +751,6 @@ public com.google.cloud.channel.v1.CustomerEvent.Builder getCustomerEventBuilder return getCustomerEventFieldBuilder().getBuilder(); } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -850,8 +769,6 @@ public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuil } } /** - * - * *
                * Customer event sent as part of Pub/Sub event to partners.
                * 
          @@ -859,44 +776,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 @@ -904,14 +809,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 @@ -929,8 +831,6 @@ public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { } } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -951,8 +851,6 @@ public Builder setEntitlementEvent(com.google.cloud.channel.v1.EntitlementEvent return this; } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -971,8 +869,6 @@ public Builder setEntitlementEvent( return this; } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -981,13 +877,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; } @@ -1003,8 +896,6 @@ public Builder mergeEntitlementEvent(com.google.cloud.channel.v1.EntitlementEven return this; } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -1028,8 +919,6 @@ public Builder clearEntitlementEvent() { return this; } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -1040,8 +929,6 @@ public com.google.cloud.channel.v1.EntitlementEvent.Builder getEntitlementEventB return getEntitlementEventFieldBuilder().getBuilder(); } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -1060,8 +947,6 @@ public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEvent } } /** - * - * *
                * Entitlement event sent as part of Pub/Sub event to partners.
                * 
          @@ -1069,32 +954,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); } @@ -1104,12 +983,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(); } @@ -1118,16 +997,16 @@ 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 { - return new SubscriberEvent(input, extensionRegistry); - } - }; + 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 { + return new SubscriberEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1021,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.SubscriberEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java index ead1029a..6d776b34 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java new file mode 100644 index 00000000..90d64d29 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java index 66e0a818..4a3457c7 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.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.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,15 +26,16 @@ 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; } - private SuspendEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private SuspendEntitlementRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private SuspendEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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:
          @@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -142,15 +118,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:
          @@ -158,15 +133,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 { @@ -177,8 +153,6 @@ 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.
          @@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
              * 
          * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -201,15 +174,14 @@ 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.
          @@ -223,15 +195,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 { @@ -240,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -282,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,127 +287,117 @@ 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].
              * 
          * * 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() @@ -441,15 +405,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -461,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_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 @@ -482,8 +447,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(); @@ -494,39 +458,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; @@ -534,8 +497,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(); @@ -563,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.SuspendEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.SuspendEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,8 +537,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
                * Required. The resource name of the entitlement to suspend.
                * Name uses the format:
          @@ -585,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; @@ -600,8 +559,6 @@ public java.lang.String getName() { } } /** - * - * *
                * Required. The resource name of the entitlement to suspend.
                * Name uses the format:
          @@ -609,14 +566,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 { @@ -624,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
                * Required. The resource name of the entitlement to suspend.
                * Name uses the format:
          @@ -633,22 +589,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:
          @@ -656,18 +610,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:
          @@ -675,16 +626,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; @@ -692,8 +643,6 @@ 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.
          @@ -707,13 +656,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; @@ -722,8 +671,6 @@ 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.
          @@ -737,14 +684,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 { @@ -752,8 +700,6 @@ 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.
          @@ -767,22 +713,20 @@ 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.
          @@ -796,18 +740,15 @@ 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.
          @@ -821,23 +762,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); } @@ -847,12 +788,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(); } @@ -861,16 +802,16 @@ 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 { - return new SuspendEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new SuspendEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.SuspendEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java index f8d00333..58d34d39 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/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,14 +26,12 @@ 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.
          @@ -68,13 +45,10 @@ 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.
          @@ -88,8 +62,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java similarity index 71% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java index 9e1ec935..d8286560 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private TransferEligibility( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private TransferEligibility( case 0: done = true; break; - case 8: - { - isEligible_ = input.readBool(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 8: { - description_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + isEligible_ = input.readBool(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - ineligibilityReason_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); + + ineligibilityReason_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,36 @@ private TransferEligibility( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
                * 
          @@ -147,8 +123,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ REASON_UNSPECIFIED(0), /** - * - * *
                * Reseller needs to accept TOS before transferring the SKU.
                * 
          @@ -157,8 +131,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ PENDING_TOS_ACCEPTANCE(1), /** - * - * *
                * Reseller not eligible to sell the SKU.
                * 
          @@ -167,8 +139,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ SKU_NOT_ELIGIBLE(2), /** - * - * *
                * SKU subscription is suspended
                * 
          @@ -180,8 +150,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
                * Not used.
                * 
          @@ -190,8 +158,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.
                * 
          @@ -200,8 +166,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.
                * 
          @@ -210,8 +174,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SKU_NOT_ELIGIBLE_VALUE = 2; /** - * - * *
                * SKU subscription is suspended
                * 
          @@ -220,6 +182,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( @@ -244,51 +207,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; @@ -308,14 +270,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 @@ -326,14 +285,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 @@ -342,29 +298,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 { @@ -375,43 +331,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; @@ -423,15 +367,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_); } unknownFields.writeTo(output); @@ -444,14 +388,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -461,16 +406,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -484,7 +430,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; @@ -494,127 +441,118 @@ 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() @@ -622,15 +560,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -644,9 +583,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 @@ -665,8 +604,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_; @@ -678,39 +616,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; @@ -718,8 +655,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()); } @@ -759,16 +695,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 @@ -776,36 +709,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; @@ -813,20 +740,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; @@ -835,21 +760,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 { @@ -857,61 +781,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; @@ -919,100 +836,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); } @@ -1022,12 +919,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(); } @@ -1036,16 +933,16 @@ 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 { - return new TransferEligibility(input, extensionRegistry); - } - }; + 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 { + return new TransferEligibility(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,4 +957,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferEligibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java similarity index 65% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java index f1967b64..006aa8ce 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java index 735814b0..2739a7b3 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.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.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,15 +28,16 @@ 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; } - private TransferEntitlementsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,45 +57,40 @@ private TransferEntitlementsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - entitlements_.add( - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); - break; + parent_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + entitlements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + entitlements_.add( + input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - authToken_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + authToken_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,7 +98,8 @@ private TransferEntitlementsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entitlements_ = java.util.Collections.unmodifiableList(entitlements_); @@ -129,27 +108,22 @@ private TransferEntitlementsRequest( makeExtensionsImmutable(); } } - - 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.
          @@ -157,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -166,15 +139,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 customer account that will receive
              * transferred entitlements.
          @@ -182,15 +154,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 { @@ -201,87 +174,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
          @@ -290,7 +242,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
              * 
          * * string auth_token = 4; - * * @return The authToken. */ @java.lang.Override @@ -299,15 +250,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
          @@ -316,15 +266,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 { @@ -335,8 +286,6 @@ 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.
          @@ -350,7 +299,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
              * 
          * * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -359,15 +307,14 @@ 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.
          @@ -381,15 +328,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 { @@ -398,7 +346,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -410,7 +357,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -436,7 +384,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_); @@ -452,18 +401,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,127 +443,117 @@ 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].
              * 
          * * 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() @@ -619,17 +561,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntitlementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +591,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 @@ -670,8 +612,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) { @@ -693,39 +634,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; @@ -733,8 +673,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(); @@ -757,10 +696,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_); } @@ -793,8 +731,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.TransferEntitlementsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.TransferEntitlementsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -803,13 +740,10 @@ public Builder mergeFrom( } 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.
          @@ -817,13 +751,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; @@ -832,8 +766,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. The resource name of the reseller's customer account that will receive
                * transferred entitlements.
          @@ -841,14 +773,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 { @@ -856,8 +789,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. The resource name of the reseller's customer account that will receive
                * transferred entitlements.
          @@ -865,22 +796,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 customer account that will receive
                * transferred entitlements.
          @@ -888,18 +817,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 customer account that will receive
                * transferred entitlements.
          @@ -907,48 +833,39 @@ 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) { @@ -958,15 +875,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) { @@ -976,15 +889,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) { @@ -994,17 +903,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(); @@ -1018,15 +924,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) { @@ -1040,15 +942,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) { @@ -1064,17 +962,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(); @@ -1088,15 +983,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) { @@ -1110,15 +1001,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) { @@ -1132,21 +1019,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); @@ -1154,15 +1038,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) { @@ -1175,15 +1055,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) { @@ -1196,50 +1072,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 { @@ -1247,63 +1112,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_; @@ -1311,8 +1162,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
          @@ -1321,13 +1170,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; @@ -1336,8 +1185,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
          @@ -1346,14 +1193,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 { @@ -1361,8 +1209,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
          @@ -1371,22 +1217,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
          @@ -1395,18 +1239,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
          @@ -1415,16 +1256,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; @@ -1432,8 +1273,6 @@ 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.
          @@ -1447,13 +1286,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; @@ -1462,8 +1301,6 @@ 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.
          @@ -1477,14 +1314,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 { @@ -1492,8 +1330,6 @@ 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.
          @@ -1507,22 +1343,20 @@ 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.
          @@ -1536,18 +1370,15 @@ 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.
          @@ -1561,23 +1392,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); } @@ -1587,12 +1418,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(); } @@ -1601,16 +1432,16 @@ 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 { - return new TransferEntitlementsRequest(input, extensionRegistry); - } - }; + 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 { + return new TransferEntitlementsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1625,4 +1456,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.TransferEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java index 0ff0ef1a..5c080e3d 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.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 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.
          @@ -33,13 +15,10 @@ public interface TransferEntitlementsRequestOrBuilder
              * 
          * * 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.
          @@ -47,76 +26,56 @@ public interface TransferEntitlementsRequestOrBuilder
              * 
          * * 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,14 +96,12 @@ 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.
          @@ -161,13 +115,10 @@ 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.
          @@ -181,8 +132,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java similarity index 73% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java index 56f5e586..53259001 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.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.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
            * This is put in the response field of google.longrunning.Operation.
          @@ -28,31 +11,31 @@
            *
            * 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;
             }
          -
             private TransferEntitlementsResponse(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -72,24 +55,22 @@ private TransferEntitlementsResponse(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          -                entitlements_ = new java.util.ArrayList();
          -                mutable_bitField0_ |= 0x00000001;
          -              }
          -              entitlements_.add(
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry));
          -              break;
          +          case 10: {
          +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
          +              entitlements_ = new java.util.ArrayList();
          +              mutable_bitField0_ |= 0x00000001;
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            entitlements_.add(
          +                input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry));
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -97,7 +78,8 @@ private TransferEntitlementsResponse(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   entitlements_ = java.util.Collections.unmodifiableList(entitlements_);
          @@ -106,27 +88,22 @@ private TransferEntitlementsResponse(
                 makeExtensionsImmutable();
               }
             }
          -
          -  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.
              * 
          @@ -138,8 +115,6 @@ public java.util.List getEntitlementsLi return entitlements_; } /** - * - * *
              * The transferred entitlements.
              * 
          @@ -147,13 +122,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.
              * 
          @@ -165,8 +138,6 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** - * - * *
              * The transferred entitlements.
              * 
          @@ -178,8 +149,6 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** - * - * *
              * The transferred entitlements.
              * 
          @@ -187,12 +156,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; @@ -204,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 { for (int i = 0; i < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -218,7 +188,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,15 +199,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,104 +229,96 @@ 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].
              * This is put in the response field of google.longrunning.Operation.
          @@ -363,23 +326,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
              *
              * 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()
          @@ -387,17 +348,17 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
                   getEntitlementsFieldBuilder();
                 }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -411,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_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
          @@ -432,8 +393,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)) {
          @@ -452,39 +412,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;
          @@ -492,8 +451,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()) {
          @@ -512,10 +470,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_);
                     }
          @@ -540,8 +497,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.TransferEntitlementsResponse) e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.TransferEntitlementsResponse) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -550,29 +506,21 @@ public Builder mergeFrom(
                 }
                 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.
                * 
          @@ -587,8 +535,6 @@ public java.util.List getEntitlementsLi } } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -603,8 +549,6 @@ public int getEntitlementsCount() { } } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -619,15 +563,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(); @@ -641,8 +584,6 @@ public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -661,8 +602,6 @@ public Builder setEntitlements( return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -683,15 +622,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(); @@ -705,8 +643,6 @@ public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -725,8 +661,6 @@ public Builder addEntitlements( return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -745,8 +679,6 @@ public Builder addEntitlements( return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -757,7 +689,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); @@ -765,8 +698,6 @@ public Builder addAllEntitlements( return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -784,8 +715,6 @@ public Builder clearEntitlements() { return this; } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -803,44 +732,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 { @@ -848,8 +772,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** - * - * *
                * The transferred entitlements.
                * 
          @@ -857,55 +779,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); } @@ -915,12 +831,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(); } @@ -929,16 +845,16 @@ 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 { - return new TransferEntitlementsResponse(input, extensionRegistry); - } - }; + 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 { + return new TransferEntitlementsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -953,4 +869,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.TransferEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java index b7969265..4f5843c7 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java similarity index 69% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java index 23bd2dc7..5fd68efb 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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,15 +27,16 @@ 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; } - private TransferEntitlementsToGoogleRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,38 +56,34 @@ private TransferEntitlementsToGoogleRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - entitlements_.add( - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); - break; + parent_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + entitlements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + entitlements_.add( + input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,7 +91,8 @@ private TransferEntitlementsToGoogleRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entitlements_ = java.util.Collections.unmodifiableList(entitlements_); @@ -123,27 +101,22 @@ private TransferEntitlementsToGoogleRequest( makeExtensionsImmutable(); } } - - 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.
          @@ -151,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -160,15 +132,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 customer account where the entitlements
              * transfer from.
          @@ -176,15 +147,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 { @@ -195,87 +167,66 @@ 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.
          @@ -289,7 +240,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
              * 
          * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -298,15 +248,14 @@ 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.
          @@ -320,15 +269,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 { @@ -337,7 +287,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -372,7 +322,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_); @@ -385,17 +336,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,127 +374,117 @@ 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].
              * 
          * * 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() @@ -549,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntitlementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -577,14 +520,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(); } @@ -599,8 +541,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) { @@ -621,50 +562,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(); @@ -687,10 +624,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_); } @@ -719,9 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -730,13 +664,10 @@ public Builder mergeFrom( } 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.
          @@ -744,13 +675,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; @@ -759,8 +690,6 @@ public java.lang.String getParent() { } } /** - * - * *
                * Required. The resource name of the reseller's customer account where the entitlements
                * transfer from.
          @@ -768,14 +697,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 { @@ -783,8 +713,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
                * Required. The resource name of the reseller's customer account where the entitlements
                * transfer from.
          @@ -792,22 +720,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 customer account where the entitlements
                * transfer from.
          @@ -815,18 +741,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 customer account where the entitlements
                * transfer from.
          @@ -834,48 +757,39 @@ 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) { @@ -885,15 +799,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) { @@ -903,15 +813,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) { @@ -921,17 +827,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(); @@ -945,15 +848,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) { @@ -967,15 +866,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) { @@ -991,17 +886,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(); @@ -1015,15 +907,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) { @@ -1037,15 +925,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) { @@ -1059,21 +943,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); @@ -1081,15 +962,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) { @@ -1102,15 +979,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) { @@ -1123,50 +996,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 { @@ -1174,63 +1036,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_; @@ -1238,8 +1086,6 @@ 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.
          @@ -1253,13 +1099,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; @@ -1268,8 +1114,6 @@ 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.
          @@ -1283,14 +1127,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 { @@ -1298,8 +1143,6 @@ 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.
          @@ -1313,22 +1156,20 @@ 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.
          @@ -1342,18 +1183,15 @@ 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.
          @@ -1367,23 +1205,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); } @@ -1393,32 +1231,30 @@ 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 { - return new TransferEntitlementsToGoogleRequest(input, extensionRegistry); - } - }; + 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 { + return new TransferEntitlementsToGoogleRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1430,8 +1266,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java index 0584297c..df902e04 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.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 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.
          @@ -33,13 +15,10 @@ public interface TransferEntitlementsToGoogleRequestOrBuilder
              * 
          * * 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.
          @@ -47,76 +26,56 @@ public interface TransferEntitlementsToGoogleRequestOrBuilder
              * 
          * * 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.
          @@ -130,13 +89,10 @@ 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.
          @@ -150,8 +106,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java index f8ca1099..816f9daa 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java +++ b/owl-bot-staging/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,29 +11,30 @@
            *
            * 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;
             }
          -
             private TransferableOffer(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -69,28 +53,26 @@ private TransferableOffer(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
          -              if (offer_ != null) {
          -                subBuilder = offer_.toBuilder();
          -              }
          -              offer_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(offer_);
          -                offer_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +          case 10: {
          +            com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
          +            if (offer_ != null) {
          +              subBuilder = offer_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            offer_ = input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(offer_);
          +              offer_ = subBuilder.buildPartial();
          +            }
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -98,39 +80,34 @@ private TransferableOffer(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -138,14 +115,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 @@ -153,8 +127,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.
              * 
          @@ -167,7 +139,6 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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 (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -193,7 +165,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,17 +176,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -235,104 +208,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.
          @@ -340,23 +306,21 @@ 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()
          @@ -364,15 +328,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -386,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_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
          @@ -407,8 +372,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 {
          @@ -422,39 +386,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;
          @@ -497,33 +460,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() { @@ -534,8 +488,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** - * - * *
                * Offer with parameter constraints updated to allow the Transfer.
                * 
          @@ -556,15 +508,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(); @@ -575,8 +526,6 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValu return this; } /** - * - * *
                * Offer with parameter constraints updated to allow the Transfer.
                * 
          @@ -587,7 +536,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; } @@ -599,8 +548,6 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
                * Offer with parameter constraints updated to allow the Transfer.
                * 
          @@ -619,8 +566,6 @@ public Builder clearOffer() { return this; } /** - * - * *
                * Offer with parameter constraints updated to allow the Transfer.
                * 
          @@ -628,13 +573,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.
                * 
          @@ -645,12 +588,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.
                * 
          @@ -658,24 +600,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); } @@ -685,12 +624,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(); } @@ -699,16 +638,16 @@ 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 { - return new TransferableOffer(input, extensionRegistry); - } - }; + 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 { + return new TransferableOffer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -723,4 +662,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java similarity index 59% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java index 93668c54..5124fb1f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java similarity index 70% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java index 9fd082ed..d5697da0 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java +++ b/owl-bot-staging/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,29 +12,30 @@
            *
            * 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;
             }
          -
             private TransferableSku(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -70,58 +54,52 @@ private TransferableSku(
                     case 0:
                       done = true;
                       break;
          -          case 74:
          -            {
          -              com.google.cloud.channel.v1.TransferEligibility.Builder subBuilder = null;
          -              if (transferEligibility_ != null) {
          -                subBuilder = transferEligibility_.toBuilder();
          -              }
          -              transferEligibility_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.TransferEligibility.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(transferEligibility_);
          -                transferEligibility_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +          case 74: {
          +            com.google.cloud.channel.v1.TransferEligibility.Builder subBuilder = null;
          +            if (transferEligibility_ != null) {
          +              subBuilder = transferEligibility_.toBuilder();
          +            }
          +            transferEligibility_ = input.readMessage(com.google.cloud.channel.v1.TransferEligibility.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(transferEligibility_);
          +              transferEligibility_ = subBuilder.buildPartial();
                       }
          -          case 90:
          -            {
          -              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          -              if (sku_ != null) {
          -                subBuilder = sku_.toBuilder();
          -              }
          -              sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(sku_);
          -                sku_ = subBuilder.buildPartial();
          -              }
           
          -              break;
          +            break;
          +          }
          +          case 90: {
          +            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          +            if (sku_ != null) {
          +              subBuilder = sku_.toBuilder();
          +            }
          +            sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(sku_);
          +              sku_ = subBuilder.buildPartial();
                       }
          -          case 98:
          -            {
          -              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          -              if (legacySku_ != null) {
          -                subBuilder = legacySku_.toBuilder();
          -              }
          -              legacySku_ =
          -                  input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(legacySku_);
          -                legacySku_ = subBuilder.buildPartial();
          -              }
           
          -              break;
          +            break;
          +          }
          +          case 98: {
          +            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
          +            if (legacySku_ != null) {
          +              subBuilder = legacySku_.toBuilder();
          +            }
          +            legacySku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(legacySku_);
          +              legacySku_ = subBuilder.buildPartial();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -129,39 +107,34 @@ private TransferableSku(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -169,25 +142,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.
              * 
          @@ -195,22 +161,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 @@ -218,14 +180,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 @@ -233,8 +192,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.
              * 
          @@ -249,15 +206,11 @@ 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 @@ -265,15 +218,11 @@ 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 @@ -281,14 +230,11 @@ 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() { @@ -296,7 +242,6 @@ public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,7 +253,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transferEligibility_ != null) { output.writeMessage(9, getTransferEligibility()); } @@ -328,13 +274,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -344,25 +293,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -392,104 +343,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.
          @@ -498,23 +442,21 @@ 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()
          @@ -522,15 +464,16 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -556,9 +499,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
          @@ -577,8 +520,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 {
          @@ -602,39 +544,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;
          @@ -683,47 +624,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.
                * 
          @@ -744,8 +672,6 @@ public Builder setTransferEligibility(com.google.cloud.channel.v1.TransferEligib return this; } /** - * - * *
                * Describes the transfer eligibility of a SKU.
                * 
          @@ -764,8 +690,6 @@ public Builder setTransferEligibility( return this; } /** - * - * *
                * Describes the transfer eligibility of a SKU.
                * 
          @@ -776,9 +700,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; } @@ -790,8 +712,6 @@ public Builder mergeTransferEligibility(com.google.cloud.channel.v1.TransferElig return this; } /** - * - * *
                * Describes the transfer eligibility of a SKU.
                * 
          @@ -810,8 +730,6 @@ public Builder clearTransferEligibility() { return this; } /** - * - * *
                * Describes the transfer eligibility of a SKU.
                * 
          @@ -819,32 +737,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.
                * 
          @@ -852,17 +764,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_; @@ -870,33 +779,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() { @@ -907,8 +807,6 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** - * - * *
                * The SKU pertaining to the provisioning resource as specified in the Offer.
                * 
          @@ -929,15 +827,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(); @@ -948,8 +845,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.
                * 
          @@ -959,7 +854,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; } @@ -971,8 +867,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.
                * 
          @@ -991,8 +885,6 @@ public Builder clearSku() { return this; } /** - * - * *
                * The SKU pertaining to the provisioning resource as specified in the Offer.
                * 
          @@ -1000,13 +892,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.
                * 
          @@ -1017,12 +907,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.
                * 
          @@ -1030,17 +919,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_; @@ -1048,55 +934,39 @@ 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) { @@ -1112,16 +982,14 @@ 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(); @@ -1132,22 +1000,17 @@ 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.
                * 
          * - * .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; } @@ -1159,14 +1022,11 @@ 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) { @@ -1180,68 +1040,55 @@ 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); } @@ -1251,12 +1098,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(); } @@ -1265,16 +1112,16 @@ 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 { - return new TransferableSku(input, extensionRegistry); - } - }; + 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 { + return new TransferableSku(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1289,4 +1136,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java index 0a409444..6d9f257f 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java +++ b/owl-bot-staging/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,29 @@ public interface TransferableSkuOrBuilder 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java similarity index 72% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java index d6510b13..98275cab 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private TrialSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private TrialSettings( case 0: done = true; break; - case 8: - { - trial_ = input.readBool(); - break; + case 8: { + + trial_ = input.readBool(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,33 +84,29 @@ private TrialSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
          @@ -136,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * bool trial = 1; - * * @return The trial. */ @java.lang.Override @@ -147,8 +124,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
          @@ -156,7 +131,6 @@ public boolean getTrial() {
              * 
          * * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -164,8 +138,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
          @@ -173,7 +145,6 @@ public boolean hasEndTime() {
              * 
          * * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -181,8 +152,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
          @@ -197,7 +166,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          -
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -209,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 (trial_ != false) {
                 output.writeBool(1, trial_);
               }
          @@ -226,10 +195,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 += unknownFields.getSerializedSize();
               memoizedSize = size;
          @@ -239,18 +210,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 (!unknownFields.equals(other.unknownFields)) return false;
               return true;
          @@ -264,7 +236,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();
          @@ -274,127 +247,118 @@ 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() @@ -402,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +391,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 @@ -447,8 +412,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_; @@ -463,39 +427,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; @@ -539,10 +502,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.
          @@ -550,7 +511,6 @@ public Builder mergeFrom(
                * 
          * * bool trial = 1; - * * @return The trial. */ @java.lang.Override @@ -558,8 +518,6 @@ public boolean getTrial() { return trial_; } /** - * - * *
                * Determines if the entitlement is in a trial or not:
                * * `true` - The entitlement is in trial.
          @@ -567,19 +525,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.
          @@ -587,11 +542,10 @@ public Builder setTrial(boolean value) {
                * 
          * * bool trial = 1; - * * @return This builder for chaining. */ public Builder clearTrial() { - + trial_ = false; onChanged(); return this; @@ -599,13 +553,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
          @@ -613,15 +562,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
          @@ -629,7 +575,6 @@ public boolean hasEndTime() {
                * 
          * * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -640,8 +585,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
          @@ -664,8 +607,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
          @@ -674,7 +615,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();
          @@ -685,8 +627,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
          @@ -699,7 +639,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;
                   }
          @@ -711,8 +651,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
          @@ -733,8 +671,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
          @@ -744,13 +680,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
          @@ -763,12 +697,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
          @@ -778,24 +711,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);
               }
           
          @@ -805,12 +735,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();
             }
          @@ -819,16 +749,16 @@ 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 {
          -          return new TrialSettings(input, extensionRegistry);
          -        }
          -      };
          +  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 {
          +      return new TrialSettings(input, extensionRegistry);
          +    }
          +  };
           
             public static com.google.protobuf.Parser parser() {
               return PARSER;
          @@ -843,4 +773,6 @@ public com.google.protobuf.Parser getParserForType() {
             public com.google.cloud.channel.v1.TrialSettings getDefaultInstanceForType() {
               return DEFAULT_INSTANCE;
             }
          +
           }
          +
          diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
          similarity index 68%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
          index a8754d02..87b533db 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
          +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
          similarity index 70%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
          index 4d538414..59bfc177 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
          +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private UnregisterSubscriberRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private UnregisterSubscriberRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + serviceAccount_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private UnregisterSubscriberRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -140,29 +116,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 { @@ -173,14 +149,11 @@ 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.
              * 
          * * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ @java.lang.Override @@ -189,29 +162,29 @@ 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 { @@ -220,7 +193,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -262,16 +235,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,127 +267,117 @@ 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() @@ -421,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,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_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 @@ -462,8 +427,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(); @@ -474,39 +438,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; @@ -514,8 +477,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(); @@ -543,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.UnregisterSubscriberRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.UnregisterSubscriberRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,20 +517,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; @@ -578,21 +537,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 { @@ -600,61 +558,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; @@ -662,20 +613,18 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { 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; @@ -684,21 +633,20 @@ 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 { @@ -706,68 +654,61 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
                * 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); } @@ -777,12 +718,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(); } @@ -791,16 +732,16 @@ 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 { - return new UnregisterSubscriberRequest(input, extensionRegistry); - } - }; + 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 { + return new UnregisterSubscriberRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,4 +756,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.UnregisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java index f19241ef..8195f32c 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java @@ -1,75 +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/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java index 012c32f4..61356b63 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } - private UnregisterSubscriberResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private UnregisterSubscriberResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + topic_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private UnregisterSubscriberResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ 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() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,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 @@ -394,8 +362,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; @@ -405,39 +372,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; @@ -445,8 +411,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(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.UnregisterSubscriberResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.UnregisterSubscriberResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,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; @@ -505,21 +467,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 { @@ -527,68 +488,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); } @@ -598,12 +552,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(); } @@ -612,16 +566,16 @@ 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 { - return new UnregisterSubscriberResponse(input, extensionRegistry); - } - }; + 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 { + return new UnregisterSubscriberResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.UnregisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java new file mode 100644 index 00000000..6c5cf4f8 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java similarity index 68% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java index 08bff0ad..7c5c1b97 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private UpdateChannelPartnerLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,51 +53,45 @@ private UpdateChannelPartnerLinkRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; + if (channelPartnerLink_ != null) { + subBuilder = channelPartnerLink_.toBuilder(); } - case 18: - { - com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; - if (channelPartnerLink_ != null) { - subBuilder = channelPartnerLink_.toBuilder(); - } - channelPartnerLink_ = - input.readMessage( - com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channelPartnerLink_); - channelPartnerLink_ = subBuilder.buildPartial(); - } - - break; + channelPartnerLink_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channelPartnerLink_); + channelPartnerLink_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,33 +99,29 @@ private UpdateChannelPartnerLinkRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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}
          @@ -157,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
              * 
          * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -166,15 +137,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}
          @@ -182,15 +152,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 { @@ -201,17 +172,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.
              * 
          * - * - * .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 @@ -219,36 +185,25 @@ 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() { @@ -258,17 +213,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 @@ -276,17 +227,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 @@ -294,16 +241,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() { @@ -311,7 +255,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -346,10 +290,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -359,22 +305,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -403,127 +351,117 @@ 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]
              * 
          * * 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() @@ -531,15 +469,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +500,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 @@ -582,8 +521,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_; @@ -603,39 +541,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; @@ -643,8 +580,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(); @@ -674,8 +610,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -687,8 +622,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}
          @@ -696,13 +629,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; @@ -711,8 +644,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}
          @@ -720,14 +651,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 { @@ -735,8 +667,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}
          @@ -744,22 +674,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}
          @@ -767,18 +695,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}
          @@ -786,16 +711,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; @@ -803,61 +728,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.
                * 
          * - * - * .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) { @@ -873,16 +779,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.
                * 
          * - * - * .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) { @@ -896,24 +798,18 @@ 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; } @@ -925,16 +821,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.
                * 
          * - * - * .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) { @@ -948,68 +840,51 @@ 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_; @@ -1017,61 +892,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) { @@ -1087,18 +946,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(); @@ -1109,22 +966,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; } @@ -1136,16 +990,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) { @@ -1159,74 +1010,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); } @@ -1236,12 +1074,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(); } @@ -1250,16 +1088,16 @@ 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 { - return new UpdateChannelPartnerLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateChannelPartnerLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1274,4 +1112,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java index 614f2f0f..811f5939 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java +++ b/owl-bot-staging/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.
              * 
          * - * - * .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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java similarity index 57% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java index ad1bcc37..d1157fe1 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/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,31 +11,30 @@
            *
            * 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;
             }
          -
             private UpdateChannelPartnerRepricingConfigRequest(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          @@ -71,30 +53,26 @@ private UpdateChannelPartnerRepricingConfigRequest(
                     case 0:
                       done = true;
                       break;
          -          case 10:
          -            {
          -              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
          -              if (channelPartnerRepricingConfig_ != null) {
          -                subBuilder = channelPartnerRepricingConfig_.toBuilder();
          -              }
          -              channelPartnerRepricingConfig_ =
          -                  input.readMessage(
          -                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
          -                      extensionRegistry);
          -              if (subBuilder != null) {
          -                subBuilder.mergeFrom(channelPartnerRepricingConfig_);
          -                channelPartnerRepricingConfig_ = subBuilder.buildPartial();
          -              }
          -
          -              break;
          +          case 10: {
          +            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
          +            if (channelPartnerRepricingConfig_ != null) {
          +              subBuilder = channelPartnerRepricingConfig_.toBuilder();
                       }
          -          default:
          -            {
          -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
          -                done = true;
          -              }
          -              break;
          +            channelPartnerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(), extensionRegistry);
          +            if (subBuilder != null) {
          +              subBuilder.mergeFrom(channelPartnerRepricingConfig_);
          +              channelPartnerRepricingConfig_ = subBuilder.buildPartial();
          +            }
          +
          +            break;
          +          }
          +          default: {
          +            if (!parseUnknownField(
          +                input, unknownFields, extensionRegistry, tag)) {
          +              done = true;
                       }
          +            break;
          +          }
                   }
                 }
               } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          @@ -102,41 +80,34 @@ private UpdateChannelPartnerRepricingConfigRequest(
               } catch (com.google.protobuf.UninitializedMessageException e) {
                 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(
          +          e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -
          -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          -    return com.google.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 @@ -144,44 +115,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; @@ -193,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 (channelPartnerRepricingConfig_ != null) { output.writeMessage(1, getChannelPartnerRepricingConfig()); } @@ -207,9 +165,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,19 +176,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -254,105 +209,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].
          @@ -360,40 +306,38 @@ 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()
          +    // Construct using com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.newBuilder()
               private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(
          +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          -
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
          +      if (com.google.protobuf.GeneratedMessageV3
          +              .alwaysUseFieldBuilders) {
          +      }
               }
          -
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -407,22 +351,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);
                 }
          @@ -431,8 +372,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 {
          @@ -446,51 +386,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());
                 }
          @@ -513,9 +448,7 @@ public Builder mergeFrom(
                 try {
                   parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          -        parsedMessage =
          -            (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)
          -                e.getUnfinishedMessage();
          +        parsedMessage = (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -525,66 +458,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(); @@ -598,15 +508,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) { @@ -620,25 +526,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; } @@ -650,15 +548,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) { @@ -672,73 +566,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); } @@ -748,33 +624,30 @@ 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 { - return new UpdateChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,8 +659,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..7c766a8a --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java similarity index 59% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java index e25f0852..3f721651 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java @@ -1,57 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private UpdateCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,30 +52,26 @@ private UpdateCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; - if (customerRepricingConfig_ != null) { - subBuilder = customerRepricingConfig_.toBuilder(); - } - customerRepricingConfig_ = - input.readMessage( - com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customerRepricingConfig_); - customerRepricingConfig_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; + if (customerRepricingConfig_ != null) { + subBuilder = customerRepricingConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + customerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customerRepricingConfig_); + customerRepricingConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,41 +79,34 @@ private UpdateCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -143,43 +114,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; @@ -191,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 (customerRepricingConfig_ != null) { output.writeMessage(1, getCustomerRepricingConfig()); } @@ -205,8 +164,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -216,17 +175,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -249,127 +208,117 @@ 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].
              * 
          * * 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() @@ -377,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -399,14 +349,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(); } @@ -421,8 +370,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 { @@ -436,50 +384,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()); } @@ -502,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -516,61 +458,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(); @@ -584,15 +506,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) { @@ -606,25 +524,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; } @@ -636,15 +546,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) { @@ -658,73 +564,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); } @@ -734,32 +622,30 @@ 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 { - return new UpdateCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -771,8 +657,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..bb5ff652 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java similarity index 66% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java index 3c611004..6dbcf40a 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
            * 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; } - private UpdateCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateCustomerRequest( case 0: done = true; break; - case 18: - { - com.google.cloud.channel.v1.Customer.Builder subBuilder = null; - if (customer_ != null) { - subBuilder = customer_.toBuilder(); - } - customer_ = - input.readMessage( - com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customer_); - customer_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.cloud.channel.v1.Customer.Builder subBuilder = null; + if (customer_ != null) { + subBuilder = customer_.toBuilder(); + } + customer_ = input.readMessage(com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customer_); + customer_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,40 +92,34 @@ private UpdateCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -154,32 +127,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() { @@ -189,15 +153,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 @@ -205,15 +166,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 @@ -221,8 +179,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.
          @@ -236,7 +192,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          -
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -248,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 (customer_ != null) {
                 output.writeMessage(2, getCustomer());
               }
          @@ -265,10 +221,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 += unknownFields.getSerializedSize();
               memoizedSize = size;
          @@ -278,21 +236,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 (!unknownFields.equals(other.unknownFields)) return false;
               return true;
          @@ -319,126 +278,117 @@ 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].
              * 
          * * 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() @@ -446,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +425,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 @@ -495,8 +446,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 { @@ -515,39 +465,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; @@ -555,8 +504,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()); } @@ -582,8 +530,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.channel.v1.UpdateCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.channel.v1.UpdateCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -595,58 +542,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) { @@ -662,17 +590,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(); @@ -683,23 +608,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; } @@ -711,15 +630,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) { @@ -733,64 +648,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_; @@ -798,49 +697,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.
          @@ -862,8 +748,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The update mask that applies to the resource.
                * Optional.
          @@ -871,7 +755,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();
          @@ -882,8 +767,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The update mask that applies to the resource.
                * Optional.
          @@ -895,7 +778,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;
                   }
          @@ -907,8 +790,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The update mask that applies to the resource.
                * Optional.
          @@ -928,8 +809,6 @@ public Builder clearUpdateMask() {
                 return this;
               }
               /**
          -     *
          -     *
                * 
                * The update mask that applies to the resource.
                * Optional.
          @@ -938,13 +817,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.
          @@ -956,14 +833,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.
          @@ -972,24 +846,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);
               }
           
          @@ -999,12 +870,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();
             }
          @@ -1013,16 +884,16 @@ 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 {
          -          return new UpdateCustomerRequest(input, extensionRegistry);
          -        }
          -      };
          +  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 {
          +      return new UpdateCustomerRequest(input, extensionRegistry);
          +    }
          +  };
           
             public static com.google.protobuf.Parser parser() {
               return PARSER;
          @@ -1037,4 +908,6 @@ public com.google.protobuf.Parser getParserForType() {
             public com.google.cloud.channel.v1.UpdateCustomerRequest getDefaultInstanceForType() {
               return DEFAULT_INSTANCE;
             }
          +
           }
          +
          diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
          similarity index 65%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
          index 1c029d1d..6d17a436 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
          +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
          similarity index 71%
          rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
          rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
          index f3edc5a3..de6adcac 100644
          --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
          +++ b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
          @@ -1,55 +1,39 @@
          -/*
          - * Copyright 2020 Google LLC
          - *
          - * Licensed under the Apache License, Version 2.0 (the "License");
          - * you may not use this file except in compliance with the License.
          - * You may obtain a copy of the License at
          - *
          - *     https://www.apache.org/licenses/LICENSE-2.0
          - *
          - * Unless required by applicable law or agreed to in writing, software
          - * distributed under the License is distributed on an "AS IS" BASIS,
          - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
          - * See the License for the specific language governing permissions and
          - * limitations under the License.
          - */
           // Generated by the protocol buffer compiler.  DO NOT EDIT!
           // source: google/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; } - private Value( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,52 +52,48 @@ private Value( case 0: done = true; break; - case 8: - { - kind_ = input.readInt64(); - kindCase_ = 1; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - kindCase_ = 2; - kind_ = s; - break; - } - case 25: - { - kind_ = input.readDouble(); - kindCase_ = 3; - break; - } - case 34: - { - com.google.protobuf.Any.Builder subBuilder = null; - if (kindCase_ == 4) { - subBuilder = ((com.google.protobuf.Any) kind_).toBuilder(); - } - kind_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Any) kind_); - kind_ = subBuilder.buildPartial(); - } - kindCase_ = 4; - break; + case 8: { + kind_ = input.readInt64(); + kindCase_ = 1; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 2; + kind_ = s; + break; + } + case 25: { + kind_ = input.readDouble(); + kindCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Any.Builder subBuilder = null; + if (kindCase_ == 4) { + subBuilder = ((com.google.protobuf.Any) kind_).toBuilder(); } - case 40: - { - kind_ = input.readBool(); - kindCase_ = 5; - break; + kind_ = + input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Any) kind_); + kind_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + kindCase_ = 4; + break; + } + case 40: { + kind_ = input.readBool(); + kindCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,34 +101,30 @@ private Value( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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), @@ -157,7 +133,6 @@ public enum KindCase BOOL_VALUE(5), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -173,42 +148,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 @@ -216,14 +182,11 @@ public boolean hasInt64Value() { return kindCase_ == 1; } /** - * - * *
              * Represents an int64 value.
              * 
          * * int64 int64_value = 1; - * * @return The int64Value. */ @java.lang.Override @@ -236,28 +199,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() { @@ -268,7 +225,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; @@ -277,24 +235,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; } @@ -306,14 +263,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 @@ -321,14 +275,11 @@ public boolean hasDoubleValue() { return kindCase_ == 3; } /** - * - * *
              * Represents a double value.
              * 
          * * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -341,14 +292,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 @@ -356,26 +304,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.
              * 
          @@ -385,21 +328,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 @@ -407,14 +347,11 @@ public boolean hasBoolValue() { return kindCase_ == 5; } /** - * - * *
              * Represents a boolean value.
              * 
          * * bool bool_value = 5; - * * @return The boolValue. */ @java.lang.Override @@ -426,7 +363,6 @@ public boolean getBoolValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -438,21 +374,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_)); } unknownFields.writeTo(output); } @@ -464,27 +404,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -494,7 +433,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); @@ -504,20 +443,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: @@ -536,7 +480,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; @@ -544,10 +489,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; @@ -555,7 +498,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: @@ -565,126 +509,118 @@ 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() @@ -692,15 +628,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -710,9 +647,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 @@ -760,39 +697,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; @@ -802,37 +738,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.unknownFields); onChanged(); @@ -862,12 +792,12 @@ public Builder mergeFrom( } 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() { @@ -877,29 +807,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() { @@ -909,14 +834,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. */ @@ -927,14 +849,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
                * Represents an int64 value.
                * 
          * * int64 int64_value = 1; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -947,14 +866,11 @@ public Builder clearInt64Value() { } /** - * - * *
                * Represents a string value.
                * 
          * * string string_value = 2; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -962,14 +878,11 @@ public boolean hasStringValue() { return kindCase_ == 2; } /** - * - * *
                * Represents a string value.
                * 
          * * string string_value = 2; - * * @return The stringValue. */ @java.lang.Override @@ -979,7 +892,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; @@ -990,25 +904,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; } @@ -1018,35 +931,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() { @@ -1058,22 +966,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(); @@ -1081,28 +987,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() { @@ -1112,14 +1012,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. */ @@ -1130,14 +1027,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
                * Represents a double value.
                * 
          * * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1150,19 +1044,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 @@ -1170,14 +1058,11 @@ public boolean hasProtoValue() { return kindCase_ == 4; } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          * * .google.protobuf.Any proto_value = 4; - * * @return The protoValue. */ @java.lang.Override @@ -1195,8 +1080,6 @@ public com.google.protobuf.Any getProtoValue() { } } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          @@ -1217,15 +1100,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(); @@ -1236,8 +1118,6 @@ public Builder setProtoValue(com.google.protobuf.Any.Builder builderForValue) { return this; } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          @@ -1246,11 +1126,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; } @@ -1266,8 +1145,6 @@ public Builder mergeProtoValue(com.google.protobuf.Any value) { return this; } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          @@ -1291,8 +1168,6 @@ public Builder clearProtoValue() { return this; } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          @@ -1303,8 +1178,6 @@ public com.google.protobuf.Any.Builder getProtoValueBuilder() { return getProtoValueFieldBuilder().getBuilder(); } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          @@ -1323,8 +1196,6 @@ public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { } } /** - * - * *
                * Represents an 'Any' proto value.
                * 
          @@ -1332,51 +1203,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() { @@ -1386,14 +1247,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. */ @@ -1404,14 +1262,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
                * Represents a boolean value.
                * 
          * * bool bool_value = 5; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1422,9 +1277,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); } @@ -1434,12 +1289,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(); } @@ -1448,16 +1303,16 @@ 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 { - return new Value(input, extensionRegistry); - } - }; + 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 { + return new Value(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1472,4 +1327,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java similarity index 74% rename from proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java index 1bd8eff1..8e434643 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto similarity index 100% rename from proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto rename to owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java index 337e8422..8c2557e9 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_cancelentitlement_sync] import com.google.cloud.channel.v1.CancelEntitlementRequest; import com.google.cloud.channel.v1.CloudChannelServiceClient; +import com.google.protobuf.Empty; public class SyncCancelEntitlement { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java index e0e3e941..41c1c8ba 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -45,5 +44,4 @@ public static void main(String[] args) throws Exception { } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java index 4cdba327..b767c815 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -42,5 +41,4 @@ public static void syncCreateChannelPartnerRepricingConfigStringChannelpartnerre } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java index fd48c920..2589ae10 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -41,5 +40,4 @@ public static void syncCreateCustomerRepricingConfigCustomernameCustomerrepricin } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java index 20f83e4e..a4da0c8f 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -41,5 +40,4 @@ public static void syncCreateCustomerRepricingConfigStringCustomerrepricingconfi } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java index 9accb6ca..c5c35ed2 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest; +import com.google.protobuf.Empty; public class SyncDeleteChannelPartnerRepricingConfig { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 84% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java index 74aaeab9..2a32c531 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java @@ -16,10 +16,10 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname { @@ -39,5 +39,4 @@ public static void syncDeleteChannelPartnerRepricingConfigChannelpartnerrepricin } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java index eeec59af..b0486e57 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java @@ -16,10 +16,10 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] +// [START channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannelPartnerRepricingConfigString { @@ -39,5 +39,4 @@ public static void syncDeleteChannelPartnerRepricingConfigString() throws Except } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] +// [END channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java index 29983dc0..0d22a5a3 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.DeleteCustomerRequest; +import com.google.protobuf.Empty; public class SyncDeleteCustomer { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java index f3cbf507..6644ef13 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_deletecustomer_customername_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerCustomername { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java index 56e2e656..21d7efe8 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_deletecustomer_string_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerString { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java index d831f5b2..ffc3beca 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfigName; import com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest; +import com.google.protobuf.Empty; public class SyncDeleteCustomerRepricingConfig { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java index d73d5a8b..5fcf12a0 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java @@ -16,10 +16,10 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfigName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname { @@ -38,5 +38,4 @@ public static void syncDeleteCustomerRepricingConfigCustomerrepricingconfigname( } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java index 81c441f0..8d1626ec 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_string_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfigName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerRepricingConfigString { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java index f8c3d96c..9eaa1a12 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -41,5 +40,4 @@ public static void syncGetChannelPartnerRepricingConfigChannelpartnerrepricingco } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java index f4abe7dd..6f3b5db6 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_string_sync] +// [START channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_string_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java index df6db0fb..c93be54a 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfig; import com.google.cloud.channel.v1.CustomerRepricingConfigName; @@ -38,5 +37,4 @@ public static void syncGetCustomerRepricingConfigCustomerrepricingconfigname() t } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java similarity index 92% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java index 08236e24..1076e5d5 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] +// [START channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -60,5 +59,4 @@ public static void asyncListChannelPartnerRepricingConfigsPaged() throws Excepti } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] +// [END channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java index e3843e57..182184a8 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -42,5 +41,4 @@ public static void syncListChannelPartnerRepricingConfigsChannelpartnerlinkname( } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java index 286c0c22..3baa9996 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] +// [START channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -40,5 +39,4 @@ public static void syncListChannelPartnerRepricingConfigsString() throws Excepti } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] +// [END channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java index b7895fc3..cf33c84d 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] +// [START channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -40,5 +39,4 @@ public static void syncListCustomerRepricingConfigsCustomername() throws Excepti } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] +// [END channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java index 8b094874..c157acba 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.Entitlement; import com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest; +import com.google.protobuf.Empty; import java.util.ArrayList; public class SyncTransferEntitlementsToGoogle { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java index ae4e22ca..a1a83e4f 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -40,5 +39,4 @@ public static void syncUpdateChannelPartnerRepricingConfigChannelpartnerrepricin } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java index 11708418..38e1297d 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -38,5 +37,4 @@ public static void syncUpdateCustomerRepricingConfigCustomerrepricingconfig() th } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java deleted file mode 100644 index f4d089cf..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java deleted file mode 100644 index 61c6a80e..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java deleted file mode 100644 index 587af974..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 8e06948e..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java deleted file mode 100644 index 737c9507..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index ab2928b2..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index ed2b6d70..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java deleted file mode 100644 index 33c36302..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java deleted file mode 100644 index a2ac7d42..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 4bf78069..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 032f9aad..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java deleted file mode 100644 index b153896b..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java deleted file mode 100644 index 92ac2af0..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java deleted file mode 100644 index b39bed90..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java deleted file mode 100644 index 50cce82c..00000000 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java +++ /dev/null @@ -1,273 +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\"\251\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:I\352AF\n!cloudchannel." - + "googleapis.com/Offer\022!accounts/{account}" - + "/offers/{offer}\"\373\002\n\023ParameterDefinition\022" - + "\014\n\004name\030\001 \001(\t\022R\n\016parameter_type\030\002 \001(\0162:." - + "google.cloud.channel.v1.ParameterDefinit" - + "ion.ParameterType\0221\n\tmin_value\030\003 \001(\0132\036.g" - + "oogle.cloud.channel.v1.Value\0221\n\tmax_valu" - + "e\030\004 \001(\0132\036.google.cloud.channel.v1.Value\022" - + "6\n\016allowed_values\030\005 \003(\0132\036.google.cloud.c" - + "hannel.v1.Value\022\020\n\010optional\030\006 \001(\010\"R\n\rPar" - + "ameterType\022\036\n\032PARAMETER_TYPE_UNSPECIFIED" - + "\020\000\022\t\n\005INT64\020\001\022\n\n\006STRING\020\002\022\n\n\006DOUBLE\020\003\"Y\n" - + "\013Constraints\022J\n\024customer_constraints\030\001 \001" - + "(\0132,.google.cloud.channel.v1.CustomerCon" - + "straints\"\327\001\n\023CustomerConstraints\022\027\n\017allo" - + "wed_regions\030\001 \003(\t\022W\n\026allowed_customer_ty" - + "pes\030\002 \003(\01627.google.cloud.channel.v1.Clou" - + "dIdentityInfo.CustomerType\022N\n\027promotiona" - + "l_order_types\030\003 \003(\0162-.google.cloud.chann" - + "el.v1.PromotionalOrderType\"\206\002\n\004Plan\022:\n\014p" - + "ayment_plan\030\001 \001(\0162$.google.cloud.channel" - + ".v1.PaymentPlan\022:\n\014payment_type\030\002 \001(\0162$." - + "google.cloud.channel.v1.PaymentType\0226\n\rp" - + "ayment_cycle\030\003 \001(\0132\037.google.cloud.channe" - + "l.v1.Period\0225\n\014trial_period\030\004 \001(\0132\037.goog" - + "le.cloud.channel.v1.Period\022\027\n\017billing_ac" - + "count\030\005 \001(\t\"\271\001\n\017PriceByResource\022<\n\rresou" - + "rce_type\030\001 \001(\0162%.google.cloud.channel.v1" - + ".ResourceType\022-\n\005price\030\002 \001(\0132\036.google.cl" - + "oud.channel.v1.Price\0229\n\014price_phases\030\003 \003" - + "(\0132#.google.cloud.channel.v1.PricePhase\"" - + "\212\001\n\005Price\022&\n\nbase_price\030\001 \001(\0132\022.google.t" - + "ype.Money\022\020\n\010discount\030\002 \001(\001\022+\n\017effective" - + "_price\030\003 \001(\0132\022.google.type.Money\022\032\n\022exte" - + "rnal_price_uri\030\004 \001(\t\"\331\001\n\nPricePhase\0228\n\013p" - + "eriod_type\030\001 \001(\0162#.google.cloud.channel." - + "v1.PeriodType\022\024\n\014first_period\030\002 \001(\005\022\023\n\013l" - + "ast_period\030\003 \001(\005\022-\n\005price\030\004 \001(\0132\036.google" - + ".cloud.channel.v1.Price\0227\n\013price_tiers\030\005" - + " \003(\0132\".google.cloud.channel.v1.PriceTier" - + "\"i\n\tPriceTier\022\026\n\016first_resource\030\001 \001(\005\022\025\n" - + "\rlast_resource\030\002 \001(\005\022-\n\005price\030\003 \001(\0132\036.go" - + "ogle.cloud.channel.v1.Price\"T\n\006Period\022\020\n" - + "\010duration\030\001 \001(\005\0228\n\013period_type\030\002 \001(\0162#.g" - + "oogle.cloud.channel.v1.PeriodType*m\n\024Pro" - + "motionalOrderType\022 \n\034PROMOTIONAL_TYPE_UN" - + "SPECIFIED\020\000\022\017\n\013NEW_UPGRADE\020\001\022\014\n\010TRANSFER" - + "\020\002\022\024\n\020PROMOTION_SWITCH\020\003*k\n\013PaymentPlan\022" - + "\034\n\030PAYMENT_PLAN_UNSPECIFIED\020\000\022\016\n\nCOMMITM" - + "ENT\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\013PaymentType\022\034\n\030PAYMENT_" - + "TYPE_UNSPECIFIED\020\000\022\n\n\006PREPAY\020\001\022\013\n\007POSTPA" - + "Y\020\002*\212\001\n\014ResourceType\022\035\n\031RESOURCE_TYPE_UN" - + "SPECIFIED\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\007MINUTES\020\005\022\016\n\nIAAS_U" - + "SAGE\020\006\022\020\n\014SUBSCRIPTION\020\007*G\n\nPeriodType\022\033" - + "\n\027PERIOD_TYPE_UNSPECIFIED\020\000\022\007\n\003DAY\020\001\022\t\n\005" - + "MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033com.google.cloud.ch" - + "annel.v1B\013OffersProtoP\001Z>google.golang.o" - + "rg/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.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", - }); - 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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java deleted file mode 100644 index 67b76d21..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java deleted file mode 100644 index be281be6..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java deleted file mode 100644 index e5eb04a2..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java deleted file mode 100644 index eacd06dc..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java deleted file mode 100644 index 3ec4220e..00000000 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java +++ /dev/null @@ -1,1466 +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\"\333\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\022\n\nauth_token\030\005 \001(\t" - + "\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transferred_c" - + "ustomer_identity\"|\n\034ListTransferableSkus" - + "Response\022C\n\021transferable_skus\030\001 \003(\0132(.go" - + "ogle.cloud.channel.v1.TransferableSku\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\333\001\n\035ListTransfera" - + "bleOffersRequest\022\033\n\021cloud_identity_id\030\004 " - + "\001(\tH\000\022\027\n\rcustomer_name\030\005 \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_t" - + "oken\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\025\n\rlanguage" - + "_code\030\007 \001(\tB\037\n\035transferred_customer_iden" - + "tity\"\202\001\n\036ListTransferableOffersResponse\022" - + "G\n\023transferable_offers\030\001 \003(\0132*.google.cl" - + "oud.channel.v1.TransferableOffer\022\027\n\017next" - + "_page_token\030\002 \001(\t\"B\n\021TransferableOffer\022-" - + "\n\005offer\030\001 \001(\0132\036.google.cloud.channel.v1." - + "Offer\"V\n\025GetEntitlementRequest\022=\n\004name\030\001" - + " \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis.co" - + "m/Entitlement\"\252\001\n\036ListChannelPartnerLink" - + "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\022B" - + "\n\004view\030\004 \001(\0162/.google.cloud.channel.v1.C" - + "hannelPartnerLinkViewB\003\340A\001\"\206\001\n\037ListChann" - + "elPartnerLinksResponse\022J\n\025channel_partne" - + "r_links\030\001 \003(\0132+.google.cloud.channel.v1." - + "ChannelPartnerLink\022\027\n\017next_page_token\030\002 " - + "\001(\t\"u\n\034GetChannelPartnerLinkRequest\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/.google.cl" - + "oud.channel.v1.ChannelPartnerLinkViewB\003\340" - + "A\001\"\206\001\n\037CreateChannelPartnerLinkRequest\022\023" - + "\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel_partner_l" - + "ink\030\002 \001(\0132+.google.cloud.channel.v1.Chan" - + "nelPartnerLinkB\003\340A\002\"\272\001\n\037UpdateChannelPar" - + "tnerLinkRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022N\n\024ch" - + "annel_partner_link\030\002 \001(\0132+.google.cloud." - + "channel.v1.ChannelPartnerLinkB\003\340A\002\0224\n\013up" - + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\"n\n!GetCustomerRepricingConfigRe" - + "quest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudchanne" - + "l.googleapis.com/CustomerRepricingConfig" - + "\"\251\001\n#ListCustomerRepricingConfigsRequest" - + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.g" - + "oogleapis.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\006filte" - + "r\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerRepricingCo" - + "nfigsResponse\022T\n\032customer_repricing_conf" - + "igs\030\001 \003(\01320.google.cloud.channel.v1.Cust" - + "omerRepricingConfig\022\027\n\017next_page_token\030\002" - + " \001(\t\"\276\001\n$CreateCustomerRepricingConfigRe" - + "quest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchan" - + "nel.googleapis.com/Customer\022X\n\031customer_" - + "repricing_config\030\002 \001(\01320.google.cloud.ch" - + "annel.v1.CustomerRepricingConfigB\003\340A\002\"\200\001" - + "\n$UpdateCustomerRepricingConfigRequest\022X" - + "\n\031customer_repricing_config\030\001 \001(\01320.goog" - + "le.cloud.channel.v1.CustomerRepricingCon" - + "figB\003\340A\002\"q\n$DeleteCustomerRepricingConfi" - + "gRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudcha" - + "nnel.googleapis.com/CustomerRepricingCon" - + "fig\"z\n\'GetChannelPartnerRepricingConfigR" - + "equest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9cloudchann" - + "el.googleapis.com/ChannelPartnerRepricin" - + "gConfig\"\271\001\n)ListChannelPartnerRepricingC" - + "onfigsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" - + "loudchannel.googleapis.com/ChannelPartne" - + "rLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to" - + "ken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\250\001\n*" - + "ListChannelPartnerRepricingConfigsRespon" - + "se\022a\n!channel_partner_repricing_configs\030" - + "\001 \003(\01326.google.cloud.channel.v1.ChannelP" - + "artnerRepricingConfig\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\333\001\n*CreateChannelPartnerRepricing" - + "ConfigRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" - + "loudchannel.googleapis.com/ChannelPartne" - + "rLink\022e\n channel_partner_repricing_confi" - + "g\030\002 \001(\01326.google.cloud.channel.v1.Channe" - + "lPartnerRepricingConfigB\003\340A\002\"\223\001\n*UpdateC" - + "hannelPartnerRepricingConfigRequest\022e\n c" - + "hannel_partner_repricing_config\030\001 \001(\01326." - + "google.cloud.channel.v1.ChannelPartnerRe" - + "pricingConfigB\003\340A\002\"}\n*DeleteChannelPartn" - + "erRepricingConfigRequest\022O\n\004name\030\001 \001(\tBA" - + "\340A\002\372A;\n9cloudchannel.googleapis.com/Chan" - + "nelPartnerRepricingConfig\"\261\001\n\030CreateEnti" - + "tlementRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$" - + "cloudchannel.googleapis.com/Customer\022>\n\013" - + "entitlement\030\002 \001(\0132$.google.cloud.channel" - + ".v1.EntitlementB\003\340A\002\022\027\n\nrequest_id\030\005 \001(\t" - + "B\003\340A\001\"\240\001\n\033TransferEntitlementsRequest\022\023\n" - + "\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\013" - + "2$.google.cloud.channel.v1.EntitlementB\003" - + "\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nrequest_id\030\006 " - + "\001(\tB\003\340A\001\"Z\n\034TransferEntitlementsResponse" - + "\022:\n\014entitlements\030\001 \003(\0132$.google.cloud.ch" - + "annel.v1.Entitlement\"\224\001\n#TransferEntitle" - + "mentsToGoogleRequest\022\023\n\006parent\030\001 \001(\tB\003\340A" - + "\002\022?\n\014entitlements\030\002 \003(\0132$.google.cloud.c" - + "hannel.v1.EntitlementB\003\340A\002\022\027\n\nrequest_id" - + "\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParametersRequest\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparameters\030\002 \003(\0132\"" - + ".google.cloud.channel.v1.ParameterB\003\340A\002\022" - + "\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021purchase_ord" - + "er_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRenewalSettin" - + "gsRequest\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\nrequest_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!cloudch" - + "annel.googleapis.com/Offer\022;\n\nparameters" - + "\030\003 \003(\0132\".google.cloud.channel.v1.Paramet" - + "erB\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\027StartPaidSer" - + "viceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nreques" - + "t_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntitlementRequ" - + "est\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001" - + "(\tB\003\340A\001\"G\n\031SuspendEntitlementRequest\022\021\n\004" - + "name\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\022Lo" - + "okupOfferRequest\022D\n\013entitlement\030\001 \001(\tB/\340" - + "A\002\372A)\n\'cloudchannel.googleapis.com/Entit" - + "lement\"x\n\023ListProductsRequest\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\np" - + "age_token\030\003 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\004 " - + "\001(\tB\003\340A\001\"c\n\024ListProductsResponse\0222\n\010prod" - + "ucts\030\001 \003(\0132 .google.cloud.channel.v1.Pro" - + "duct\022\027\n\017next_page_token\030\002 \001(\t\"\261\001\n\017ListSk" - + "usRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\n#cloud" - + "channel.googleapis.com/Product\022\024\n\007accoun" - + "t\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_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\017nex" - + "t_page_token\030\002 \001(\t\"\212\001\n\021ListOffersRequest" - + "\022\023\n\006parent\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\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\006offers\030\001 \003(\0132\036." - + "google.cloud.channel.v1.Offer\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"\266\005\n\032ListPurchasableSkusRe" - + "quest\022t\n\033create_entitlement_purchase\030\002 \001" - + "(\0132M.google.cloud.channel.v1.ListPurchas" - + "ableSkusRequest.CreateEntitlementPurchas" - + "eH\000\022h\n\025change_offer_purchase\030\003 \001(\0132G.goo" - + "gle.cloud.channel.v1.ListPurchasableSkus" - + "Request.ChangeOfferPurchaseH\000\022>\n\010custome" - + "r\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\rlanguage_code\030" - + "\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlementPurchase\022" - + "\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023ChangeOfferPur" - + "chase\022\030\n\013entitlement\030\001 \001(\tB\003\340A\002\022l\n\013chang" - + "e_type\030\002 \001(\0162R.google.cloud.channel.v1.L" - + "istPurchasableSkusRequest.ChangeOfferPur" - + "chase.ChangeTypeB\003\340A\002\"E\n\nChangeType\022\033\n\027C" - + "HANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UPGRADE\020\001\022\r\n" - + "\tDOWNGRADE\020\002B\021\n\017purchase_option\"y\n\033ListP" - + "urchasableSkusResponse\022A\n\020purchasable_sk" - + "us\030\001 \003(\0132\'.google.cloud.channel.v1.Purch" - + "asableSku\022\027\n\017next_page_token\030\002 \001(\t\";\n\016Pu" - + "rchasableSku\022)\n\003sku\030\001 \001(\0132\034.google.cloud" - + ".channel.v1.Sku\"\230\004\n\034ListPurchasableOffer" - + "sRequest\022v\n\033create_entitlement_purchase\030" - + "\002 \001(\0132O.google.cloud.channel.v1.ListPurc" - + "hasableOffersRequest.CreateEntitlementPu" - + "rchaseH\000\022j\n\025change_offer_purchase\030\003 \001(\0132" - + "I.google.cloud.channel.v1.ListPurchasabl" - + "eOffersRequest.ChangeOfferPurchaseH\000\022>\n\010" - + "customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.goo" - + "gleapis.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\rlanguag" - + "e_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEntitlementPu" - + "rchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023ChangeOfferP" - + "urchase\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_option\"\177\n\035Li" - + "stPurchasableOffersResponse\022E\n\022purchasab" - + "le_offers\030\001 \003(\0132).google.cloud.channel.v" - + "1.PurchasableOffer\022\027\n\017next_page_token\030\002 " - + "\001(\t\"A\n\020PurchasableOffer\022-\n\005offer\030\001 \001(\0132\036" - + ".google.cloud.channel.v1.Offer\"O\n\031Regist" - + "erSubscriberRequest\022\024\n\007account\030\001 \001(\tB\003\340A" - + "\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"+\n\032Regis" - + "terSubscriberResponse\022\r\n\005topic\030\001 \001(\t\"Q\n\033" - + "UnregisterSubscriberRequest\022\024\n\007account\030\001" - + " \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"" - + "-\n\034UnregisterSubscriberResponse\022\r\n\005topic" - + "\030\001 \001(\t\"_\n\026ListSubscribersRequest\022\024\n\007acco" - + "unt\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\027ListSubscribe" - + "rsResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020service_acc" - + "ounts\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t2\371K\n" - + "\023CloudChannelService\022\324\001\n\rListCustomers\022-" - + ".google.cloud.channel.v1.ListCustomersRe" - + "quest\032..google.cloud.channel.v1.ListCust" - + "omersResponse\"d\202\323\344\223\002^\022!/v1/{parent=accou" - + "nts/*}/customersZ9\0227/v1/{parent=accounts" - + "/*/channelPartnerLinks/*}/customers\022\312\001\n\013" - + "GetCustomer\022+.google.cloud.channel.v1.Ge" - + "tCustomerRequest\032!.google.cloud.channel." - + "v1.Customer\"k\202\323\344\223\002^\022!/v1/{name=accounts/" - + "*/customers/*}Z9\0227/v1/{name=accounts/*/c" - + "hannelPartnerLinks/*/customers/*}\332A\004name" - + "\022\350\001\n\037CheckCloudIdentityAccountsExist\022?.g" - + "oogle.cloud.channel.v1.CheckCloudIdentit" - + "yAccountsExistRequest\032@.google.cloud.cha" - + "nnel.v1.CheckCloudIdentityAccountsExistR" - + "esponse\"B\202\323\344\223\002<\"7/v1/{parent=accounts/*}" - + ":checkCloudIdentityAccountsExist:\001*\022\335\001\n\016" - + "CreateCustomer\022..google.cloud.channel.v1" - + ".CreateCustomerRequest\032!.google.cloud.ch" - + "annel.v1.Customer\"x\202\323\344\223\002r\"!/v1/{parent=a" - + "ccounts/*}/customers:\010customerZC\"7/v1/{p" - + "arent=accounts/*/channelPartnerLinks/*}/" - + "customers:\010customer\022\361\001\n\016UpdateCustomer\022." - + ".google.cloud.channel.v1.UpdateCustomerR" - + "equest\032!.google.cloud.channel.v1.Custome" - + "r\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.name=accounts" - + "/*/customers/*}:\010customerZL2@/v1/{custom" - + "er.name=accounts/*/channelPartnerLinks/*" - + "/customers/*}:\010customer\022\305\001\n\016DeleteCustom" - + "er\022..google.cloud.channel.v1.DeleteCusto" - + "merRequest\032\026.google.protobuf.Empty\"k\202\323\344\223" - + "\002^*!/v1/{name=accounts/*/customers/*}Z9*" - + "7/v1/{name=accounts/*/channelPartnerLink" - + "s/*/customers/*}\332A\004name\022\335\001\n\016ImportCustom" - + "er\022..google.cloud.channel.v1.ImportCusto" - + "merRequest\032!.google.cloud.channel.v1.Cus" - + "tomer\"x\202\323\344\223\002r\"(/v1/{parent=accounts/*}/c" - + "ustomers:import:\001*ZC\">/v1/{parent=accoun" - + "ts/*/channelPartnerLinks/*}/customers:im" - + "port:\001*\022\330\001\n\026ProvisionCloudIdentity\0226.goo" - + "gle.cloud.channel.v1.ProvisionCloudIdent" - + "ityRequest\032\035.google.longrunning.Operatio" - + "n\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/customers/*/ent" - + "itlements/*}:activate:\001*\312A \n\013Entitlement" - + "\022\021OperationMetadata\022\344\001\n\024TransferEntitlem" - + "ents\0224.google.cloud.channel.v1.TransferE" - + "ntitlementsRequest\032\035.google.longrunning." - + "Operation\"w\202\323\344\223\002=\"8/v1/{parent=accounts/" - + "*/customers/*}:transferEntitlements:\001*\312A" - + "1\n\034TransferEntitlementsResponse\022\021Operati" - + "onMetadata\022\365\001\n\034TransferEntitlementsToGoo" - + "gle\022<.google.cloud.channel.v1.TransferEn" - + "titlementsToGoogleRequest\032\035.google.longr" - + "unning.Operation\"x\202\323\344\223\002E\"@/v1/{parent=ac" - + "counts/*/customers/*}:transferEntitlemen" - + "tsToGoogle:\001*\312A*\n\025google.protobuf.Empty\022" - + "\021OperationMetadata\022\301\001\n\027ListChannelPartne" - + "rLinks\0227.google.cloud.channel.v1.ListCha" - + "nnelPartnerLinksRequest\0328.google.cloud.c" - + "hannel.v1.ListChannelPartnerLinksRespons" - + "e\"3\202\323\344\223\002-\022+/v1/{parent=accounts/*}/chann" - + "elPartnerLinks\022\260\001\n\025GetChannelPartnerLink" - + "\0225.google.cloud.channel.v1.GetChannelPar" - + "tnerLinkRequest\032+.google.cloud.channel.v" - + "1.ChannelPartnerLink\"3\202\323\344\223\002-\022+/v1/{name=" - + "accounts/*/channelPartnerLinks/*}\022\314\001\n\030Cr" - + "eateChannelPartnerLink\0228.google.cloud.ch" - + "annel.v1.CreateChannelPartnerLinkRequest" - + "\032+.google.cloud.channel.v1.ChannelPartne" - + "rLink\"I\202\323\344\223\002C\"+/v1/{parent=accounts/*}/c" - + "hannelPartnerLinks:\024channel_partner_link" - + "\022\271\001\n\030UpdateChannelPartnerLink\0228.google.c" - + "loud.channel.v1.UpdateChannelPartnerLink" - + "Request\032+.google.cloud.channel.v1.Channe" - + "lPartnerLink\"6\202\323\344\223\00202+/v1/{name=accounts" - + "/*/channelPartnerLinks/*}:\001*\022\327\001\n\032GetCust" - + "omerRepricingConfig\022:.google.cloud.chann" - + "el.v1.GetCustomerRepricingConfigRequest\032" - + "0.google.cloud.channel.v1.CustomerRepric" - + "ingConfig\"K\202\323\344\223\002>\022\022*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.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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java deleted file mode 100644 index 814714a5..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java deleted file mode 100644 index 146aabd2..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 1dd1b2e4..00000000 --- a/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index ba45a91c..00000000 --- a/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(); -} From a3439d9d497d577e26cccdc6453aec5bd0b78a99 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:32:59 +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 --- .../channel/v1/CloudChannelServiceClient.java | 1633 +++--- .../v1/CloudChannelServiceSettings.java | 46 +- .../cloud/channel/v1/gapic_metadata.json | 0 .../google/cloud/channel/v1/package-info.java | 0 .../v1/stub/CloudChannelServiceStub.java | 0 .../stub/CloudChannelServiceStubSettings.java | 150 +- ...rpcCloudChannelServiceCallableFactory.java | 0 .../v1/stub/GrpcCloudChannelServiceStub.java | 1 - ...sonCloudChannelServiceCallableFactory.java | 0 .../stub/HttpJsonCloudChannelServiceStub.java | 1 - ...CloudChannelServiceClientHttpJsonTest.java | 0 .../v1/CloudChannelServiceClientTest.java | 0 .../channel/v1/MockCloudChannelService.java | 0 .../v1/MockCloudChannelServiceImpl.java | 0 .../channel/v1/CloudChannelServiceGrpc.java | 4771 +++++++++++------ .../channel/v1/ChannelPartnerLinksProto.java | 86 - ...dentityAccountsExistResponseOrBuilder.java | 53 - .../google/cloud/channel/v1/CommonProto.java | 120 - ...stomerRepricingConfigRequestOrBuilder.java | 58 - .../cloud/channel/v1/CustomersProto.java | 99 - ...artnerRepricingConfigRequestOrBuilder.java | 29 - ...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/RepricingProto.java | 175 - .../google/cloud/channel/v1/ServiceProto.java | 1341 ----- .../channel/v1/SubscriberEventProto.java | 101 - ...UnregisterSubscriberResponseOrBuilder.java | 29 - ...artnerRepricingConfigRequestOrBuilder.java | 36 - ...stomerRepricingConfigRequestOrBuilder.java | 36 - .../v1/ActivateEntitlementRequest.java | 393 +- .../ActivateEntitlementRequestOrBuilder.java | 36 +- .../google/cloud/channel/v1/AdminUser.java | 455 +- .../cloud/channel/v1/AdminUserOrBuilder.java | 45 +- .../cloud/channel/v1/AssociationInfo.java | 301 +- .../channel/v1/AssociationInfoOrBuilder.java | 27 +- .../channel/v1/CancelEntitlementRequest.java | 390 +- .../v1/CancelEntitlementRequestOrBuilder.java | 36 +- .../cloud/channel/v1/ChangeOfferRequest.java | 809 +-- .../v1/ChangeOfferRequestOrBuilder.java | 100 +- .../channel/v1/ChangeParametersRequest.java | 710 ++- .../v1/ChangeParametersRequestOrBuilder.java | 83 +- .../v1/ChangeRenewalSettingsRequest.java | 539 +- ...ChangeRenewalSettingsRequestOrBuilder.java | 56 +- .../cloud/channel/v1/ChannelPartnerLink.java | 1091 ++-- .../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 | 599 ++- .../v1/ChannelPartnerRepricingConfigName.java | 0 ...hannelPartnerRepricingConfigOrBuilder.java | 64 +- ...heckCloudIdentityAccountsExistRequest.java | 430 +- ...IdentityAccountsExistRequestOrBuilder.java | 36 +- ...eckCloudIdentityAccountsExistResponse.java | 547 +- ...dentityAccountsExistResponseOrBuilder.java | 89 + .../v1/CloudIdentityCustomerAccount.java | 467 +- ...CloudIdentityCustomerAccountOrBuilder.java | 42 +- .../cloud/channel/v1/CloudIdentityInfo.java | 890 +-- .../v1/CloudIdentityInfoOrBuilder.java | 80 +- .../cloud/channel/v1/CommitmentSettings.java | 621 ++- .../v1/CommitmentSettingsOrBuilder.java | 72 +- .../google/cloud/channel/v1/CommonProto.java | 145 + .../google/cloud/channel/v1/Constraints.java | 328 +- .../channel/v1/ConstraintsOrBuilder.java | 26 +- .../google/cloud/channel/v1/ContactInfo.java | 693 ++- .../channel/v1/ContactInfoOrBuilder.java | 72 +- .../v1/CreateChannelPartnerLinkRequest.java | 466 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 47 +- ...eChannelPartnerRepricingConfigRequest.java | 562 +- ...artnerRepricingConfigRequestOrBuilder.java | 58 +- .../CreateCustomerRepricingConfigRequest.java | 531 +- ...stomerRepricingConfigRequestOrBuilder.java | 98 + .../channel/v1/CreateCustomerRequest.java | 457 +- .../v1/CreateCustomerRequestOrBuilder.java | 44 +- .../channel/v1/CreateEntitlementRequest.java | 567 +- .../v1/CreateEntitlementRequestOrBuilder.java | 64 +- .../com/google/cloud/channel/v1/Customer.java | 1442 +++-- .../cloud/channel/v1/CustomerConstraints.java | 748 ++- .../v1/CustomerConstraintsOrBuilder.java | 110 +- .../cloud/channel/v1/CustomerEvent.java | 421 +- .../channel/v1/CustomerEventOrBuilder.java | 33 +- .../google/cloud/channel/v1/CustomerName.java | 0 .../cloud/channel/v1/CustomerOrBuilder.java | 163 +- .../channel/v1/CustomerRepricingConfig.java | 596 +- .../v1/CustomerRepricingConfigName.java | 0 .../v1/CustomerRepricingConfigOrBuilder.java | 64 +- .../cloud/channel/v1/CustomersProto.java | 126 + ...eChannelPartnerRepricingConfigRequest.java | 381 +- ...artnerRepricingConfigRequestOrBuilder.java | 54 + .../DeleteCustomerRepricingConfigRequest.java | 367 +- ...stomerRepricingConfigRequestOrBuilder.java | 58 + .../channel/v1/DeleteCustomerRequest.java | 339 +- .../v1/DeleteCustomerRequestOrBuilder.java | 54 + .../com/google/cloud/channel/v1/EduData.java | 593 +- .../cloud/channel/v1/EduDataOrBuilder.java | 39 +- .../google/cloud/channel/v1/Entitlement.java | 1864 ++++--- .../cloud/channel/v1/EntitlementEvent.java | 501 +- .../channel/v1/EntitlementEventOrBuilder.java | 33 +- .../cloud/channel/v1/EntitlementName.java | 0 .../channel/v1/EntitlementOrBuilder.java | 216 +- .../cloud/channel/v1/EntitlementsProto.java | 254 + .../v1/GetChannelPartnerLinkRequest.java | 406 +- ...GetChannelPartnerLinkRequestOrBuilder.java | 41 +- ...tChannelPartnerRepricingConfigRequest.java | 379 +- ...artnerRepricingConfigRequestOrBuilder.java | 58 + .../v1/GetCustomerRepricingConfigRequest.java | 353 +- ...stomerRepricingConfigRequestOrBuilder.java | 58 + .../cloud/channel/v1/GetCustomerRequest.java | 329 +- .../v1/GetCustomerRequestOrBuilder.java | 56 + .../channel/v1/GetEntitlementRequest.java | 339 +- .../v1/GetEntitlementRequestOrBuilder.java | 58 + .../channel/v1/ImportCustomerRequest.java | 847 +-- .../v1/ImportCustomerRequestOrBuilder.java | 92 +- .../v1/ListChannelPartnerLinksRequest.java | 522 +- ...stChannelPartnerLinksRequestOrBuilder.java | 53 +- .../v1/ListChannelPartnerLinksResponse.java | 452 +- ...tChannelPartnerLinksResponseOrBuilder.java | 42 +- ...ChannelPartnerRepricingConfigsRequest.java | 572 +- ...rtnerRepricingConfigsRequestOrBuilder.java | 56 +- ...hannelPartnerRepricingConfigsResponse.java | 633 ++- ...tnerRepricingConfigsResponseOrBuilder.java | 68 +- .../ListCustomerRepricingConfigsRequest.java | 561 +- ...tomerRepricingConfigsRequestOrBuilder.java | 56 +- .../ListCustomerRepricingConfigsResponse.java | 604 ++- ...omerRepricingConfigsResponseOrBuilder.java | 56 +- .../channel/v1/ListCustomersRequest.java | 502 +- .../v1/ListCustomersRequestOrBuilder.java | 48 +- .../channel/v1/ListCustomersResponse.java | 459 +- .../v1/ListCustomersResponseOrBuilder.java | 45 +- .../channel/v1/ListEntitlementsRequest.java | 452 +- .../v1/ListEntitlementsRequestOrBuilder.java | 47 +- .../channel/v1/ListEntitlementsResponse.java | 460 +- .../v1/ListEntitlementsResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListOffersRequest.java | 574 +- .../v1/ListOffersRequestOrBuilder.java | 57 +- .../cloud/channel/v1/ListOffersResponse.java | 454 +- .../v1/ListOffersResponseOrBuilder.java | 46 +- .../cloud/channel/v1/ListProductsRequest.java | 498 +- .../v1/ListProductsRequestOrBuilder.java | 48 +- .../channel/v1/ListProductsResponse.java | 456 +- .../v1/ListProductsResponseOrBuilder.java | 46 +- .../v1/ListPurchasableOffersRequest.java | 1960 ++++--- ...ListPurchasableOffersRequestOrBuilder.java | 111 +- .../v1/ListPurchasableOffersResponse.java | 443 +- ...istPurchasableOffersResponseOrBuilder.java | 45 +- .../v1/ListPurchasableSkusRequest.java | 2060 ++++--- .../ListPurchasableSkusRequestOrBuilder.java | 111 +- .../v1/ListPurchasableSkusResponse.java | 453 +- .../ListPurchasableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListSkusRequest.java | 602 ++- .../channel/v1/ListSkusRequestOrBuilder.java | 65 +- .../cloud/channel/v1/ListSkusResponse.java | 454 +- .../channel/v1/ListSkusResponseOrBuilder.java | 46 +- .../channel/v1/ListSubscribersRequest.java | 424 +- .../v1/ListSubscribersRequestOrBuilder.java | 39 +- .../channel/v1/ListSubscribersResponse.java | 501 +- .../v1/ListSubscribersResponseOrBuilder.java | 54 +- .../v1/ListTransferableOffersRequest.java | 828 +-- ...istTransferableOffersRequestOrBuilder.java | 84 +- .../v1/ListTransferableOffersResponse.java | 449 +- ...stTransferableOffersResponseOrBuilder.java | 45 +- .../v1/ListTransferableSkusRequest.java | 828 +-- .../ListTransferableSkusRequestOrBuilder.java | 84 +- .../v1/ListTransferableSkusResponse.java | 441 +- ...ListTransferableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/LookupOfferRequest.java | 329 +- .../v1/LookupOfferRequestOrBuilder.java | 58 + .../cloud/channel/v1/MarketingInfo.java | 480 +- .../channel/v1/MarketingInfoOrBuilder.java | 44 +- .../com/google/cloud/channel/v1/Media.java | 429 +- .../cloud/channel/v1/MediaOrBuilder.java | 42 +- .../google/cloud/channel/v1/MediaType.java | 75 +- .../com/google/cloud/channel/v1/Offer.java | 1160 ++-- .../google/cloud/channel/v1/OfferName.java | 0 .../cloud/channel/v1/OfferOrBuilder.java | 117 +- .../google/cloud/channel/v1/OffersProto.java | 273 + .../cloud/channel/v1/OperationMetadata.java | 424 +- .../v1/OperationMetadataOrBuilder.java | 24 +- .../cloud/channel/v1/OperationsProto.java | 74 + .../google/cloud/channel/v1/Parameter.java | 422 +- .../cloud/channel/v1/ParameterDefinition.java | 821 ++- .../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 | 321 +- .../v1/PercentageAdjustmentOrBuilder.java | 26 +- .../com/google/cloud/channel/v1/Period.java | 305 +- .../cloud/channel/v1/PeriodOrBuilder.java | 27 +- .../google/cloud/channel/v1/PeriodType.java | 89 +- .../com/google/cloud/channel/v1/Plan.java | 617 ++- .../cloud/channel/v1/PlanOrBuilder.java | 55 +- .../com/google/cloud/channel/v1/Price.java | 507 +- .../cloud/channel/v1/PriceByResource.java | 524 +- .../channel/v1/PriceByResourceOrBuilder.java | 50 +- .../cloud/channel/v1/PriceOrBuilder.java | 46 +- .../google/cloud/channel/v1/PricePhase.java | 574 +- .../cloud/channel/v1/PricePhaseOrBuilder.java | 56 +- .../google/cloud/channel/v1/PriceTier.java | 377 +- .../cloud/channel/v1/PriceTierOrBuilder.java | 32 +- .../com/google/cloud/channel/v1/Product.java | 392 +- .../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 | 566 +- ...rovisionCloudIdentityRequestOrBuilder.java | 54 +- .../cloud/channel/v1/ProvisionedService.java | 459 +- .../v1/ProvisionedServiceOrBuilder.java | 45 +- .../cloud/channel/v1/PurchasableOffer.java | 315 +- .../channel/v1/PurchasableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/PurchasableSku.java | 315 +- .../channel/v1/PurchasableSkuOrBuilder.java | 26 +- .../cloud/channel/v1/RebillingBasis.java | 82 +- .../channel/v1/RegisterSubscriberRequest.java | 393 +- .../RegisterSubscriberRequestOrBuilder.java | 36 +- .../v1/RegisterSubscriberResponse.java | 314 +- .../RegisterSubscriberResponseOrBuilder.java | 50 + .../cloud/channel/v1/RenewalSettings.java | 458 +- .../channel/v1/RenewalSettingsOrBuilder.java | 38 +- .../cloud/channel/v1/RepricingAdjustment.java | 387 +- .../v1/RepricingAdjustmentOrBuilder.java | 26 +- .../cloud/channel/v1/RepricingConfig.java | 1670 +++--- .../channel/v1/RepricingConfigOrBuilder.java | 118 +- .../cloud/channel/v1/RepricingProto.java | 199 + .../google/cloud/channel/v1/ResourceType.java | 117 +- .../google/cloud/channel/v1/ServiceProto.java | 1466 +++++ .../java/com/google/cloud/channel/v1/Sku.java | 483 +- .../google/cloud/channel/v1/SkuOrBuilder.java | 43 +- .../channel/v1/StartPaidServiceRequest.java | 390 +- .../v1/StartPaidServiceRequestOrBuilder.java | 36 +- .../cloud/channel/v1/SubscriberEvent.java | 479 +- .../channel/v1/SubscriberEventOrBuilder.java | 34 +- .../channel/v1/SubscriberEventProto.java | 118 + .../channel/v1/SuspendEntitlementRequest.java | 393 +- .../SuspendEntitlementRequestOrBuilder.java | 36 +- .../cloud/channel/v1/TransferEligibility.java | 485 +- .../v1/TransferEligibilityOrBuilder.java | 36 +- .../v1/TransferEntitlementsRequest.java | 713 ++- .../TransferEntitlementsRequestOrBuilder.java | 83 +- .../v1/TransferEntitlementsResponse.java | 384 +- ...TransferEntitlementsResponseOrBuilder.java | 36 +- .../TransferEntitlementsToGoogleRequest.java | 659 ++- ...rEntitlementsToGoogleRequestOrBuilder.java | 74 +- .../cloud/channel/v1/TransferableOffer.java | 315 +- .../v1/TransferableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/TransferableSku.java | 551 +- .../channel/v1/TransferableSkuOrBuilder.java | 51 +- .../cloud/channel/v1/TrialSettings.java | 350 +- .../channel/v1/TrialSettingsOrBuilder.java | 29 +- .../v1/UnregisterSubscriberRequest.java | 393 +- .../UnregisterSubscriberRequestOrBuilder.java | 36 +- .../v1/UnregisterSubscriberResponse.java | 314 +- ...UnregisterSubscriberResponseOrBuilder.java | 50 + .../v1/UpdateChannelPartnerLinkRequest.java | 596 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 64 +- ...eChannelPartnerRepricingConfigRequest.java | 460 +- ...artnerRepricingConfigRequestOrBuilder.java | 67 + .../UpdateCustomerRepricingConfigRequest.java | 429 +- ...stomerRepricingConfigRequestOrBuilder.java | 67 + .../channel/v1/UpdateCustomerRequest.java | 477 +- .../v1/UpdateCustomerRequestOrBuilder.java | 43 +- .../com/google/cloud/channel/v1/Value.java | 633 ++- .../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 .../google/cloud/channel/v1/repricing.proto | 0 .../google/cloud/channel/v1/service.proto | 0 .../cloud/channel/v1/subscriber_event.proto | 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 .../getcustomer/SyncGetCustomer.java | 0 426 files changed, 49415 insertions(+), 29363 deletions(-) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java (82%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java (100%) rename {owl-bot-staging/v1/google-cloud-channel => google-cloud-channel}/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-channel-v1 => grpc-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java (62%) delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AdminUser.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java (70%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java (62%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java (60%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Constraints.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ContactInfo.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java (60%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Customer.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java (68%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java (60%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java (63%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java (64%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EduData.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Entitlement.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java (74%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java (62%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java (64%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java (66%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java (66%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java (67%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Media.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/MediaType.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Offer.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OfferName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java (83%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java (56%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Parameter.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PaymentType.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Period.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PeriodType.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Plan.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Price.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceByResource.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PricePhase.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceTier.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Product.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProductName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java (64%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java (67%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java (62%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ResourceType.java (73%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Sku.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java (73%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableSku.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TrialSettings.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java (68%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java (57%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java (59%) create mode 100644 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/Value.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/common.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/customers.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/entitlements.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/offers.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/operations.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/products.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/repricing.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-channel-v1 => proto-google-cloud-channel-v1}/src/main/proto/google/cloud/channel/v1/subscriber_event.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java similarity index 82% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java index 3d39bde9..3a6033a9 100644 --- a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java +++ b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java @@ -78,13 +78,13 @@ * methods: * *
            - *
          1. A "flattened" method. With this type of method, the fields of the request type have been + *
          2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
          3. A "request object" method. This type of method only takes one parameter, a request object, + *
          4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
          5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
          6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
          * @@ -220,9 +220,9 @@ public final OperationsClient getHttpJsonOperationsClient() { *

          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. + *
          • 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: List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if @@ -261,9 +261,9 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *

          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. + *
          • 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: List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if @@ -303,9 +303,9 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *

          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. + *
          • 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: List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if @@ -351,10 +351,10 @@ public final UnaryCallable listCust *

          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: The customer resource doesn't exist. Usually the result of an invalid name + *
          • 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: The customer resource doesn't exist. Usually the result of an invalid name * parameter. *
          * @@ -388,10 +388,10 @@ public final Customer getCustomer(CustomerName name) { *

          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: The customer resource doesn't exist. Usually the result of an invalid name + *
          • 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: The customer resource doesn't exist. Usually the result of an invalid name * parameter. *
          * @@ -424,10 +424,10 @@ public final Customer getCustomer(String name) { *

          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: The customer resource doesn't exist. Usually the result of an invalid name + *
          • 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: The customer resource doesn't exist. Usually the result of an invalid name * parameter. *
          * @@ -461,10 +461,10 @@ public final Customer getCustomer(GetCustomerRequest request) { *

          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: The customer resource doesn't exist. Usually the result of an invalid name + *
          • 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: The customer resource doesn't exist. Usually the result of an invalid name * parameter. *
          * @@ -499,10 +499,10 @@ public final UnaryCallable getCustomerCallable() { *

          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. - *
          • INVALID_VALUE: Invalid domain value in the request. + *
          • 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. + *
          • INVALID_VALUE: Invalid domain value in the request. *
          * *

          Return value: A list of @@ -545,10 +545,10 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE *

          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. - *
          • INVALID_VALUE: Invalid domain value in the request. + *
          • 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. + *
          • INVALID_VALUE: Invalid domain value in the request. *
          * *

          Return value: A list of @@ -591,9 +591,9 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE *

          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. * Domain + *
          • 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. * Domain * field value doesn't match the primary email domain. *
          * @@ -629,9 +629,9 @@ public final Customer createCustomer(CreateCustomerRequest request) { *

          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. * Domain + *
          • 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. * Domain * field value doesn't match the primary email domain. *
          * @@ -667,11 +667,11 @@ public final UnaryCallable createCustomerCallab *

          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. + *
          • 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. *
          * *

          Return value: The updated [Customer][google.cloud.channel.v1.Customer] resource. @@ -706,11 +706,11 @@ public final Customer updateCustomer(UpdateCustomerRequest request) { *

          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. + *
          • 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. *
          * *

          Return value: The updated [Customer][google.cloud.channel.v1.Customer] resource. @@ -744,11 +744,11 @@ public final UnaryCallable updateCustomerCallab *

          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 customer has existing entitlements. - *
          • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name - * in the request. + *
          • PERMISSION_DENIED: The account making the request does not own 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. *
          * *

          Sample code: @@ -778,11 +778,11 @@ public final void deleteCustomer(CustomerName name) { *

          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 customer has existing entitlements. - *
          • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name - * in the request. + *
          • PERMISSION_DENIED: The account making the request does not own 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. *
          * *

          Sample code: @@ -811,11 +811,11 @@ public final void deleteCustomer(String name) { *

          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 customer has existing entitlements. - *
          • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name - * in the request. + *
          • PERMISSION_DENIED: The account making the request does not own 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. *
          * *

          Sample code: @@ -846,11 +846,11 @@ public final void deleteCustomer(DeleteCustomerRequest request) { *

          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 customer has existing entitlements. - *
          • NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name - * in the request. + *
          • PERMISSION_DENIED: The account making the request does not own 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. *
          * *

          Sample code: @@ -883,12 +883,12 @@ public final UnaryCallable deleteCustomerCallable( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request is different from the - * reseller account in the API request. - *
          • NOT_FOUND: Cloud Identity doesn't exist or was deleted. - *
          • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or + *
          • PERMISSION_DENIED: The reseller account making the request is different from the reseller + * account in the API request. + *
          • NOT_FOUND: Cloud Identity doesn't exist or was deleted. + *
          • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or * invalid. - *
          • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires + *
          • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires * an overwrite. *
          * @@ -928,12 +928,12 @@ public final Customer importCustomer(ImportCustomerRequest request) { *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request is different from the - * reseller account in the API request. - *
          • NOT_FOUND: Cloud Identity doesn't exist or was deleted. - *
          • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or + *
          • PERMISSION_DENIED: The reseller account making the request is different from the reseller + * account in the API request. + *
          • NOT_FOUND: Cloud Identity doesn't exist or was deleted. + *
          • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or * invalid. - *
          • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires + *
          • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires * an overwrite. *
          * @@ -972,14 +972,14 @@ public final UnaryCallable importCustomerCallab *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer was not found. - *
          • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer was not found. + *
          • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the * customer's primary contact email. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1022,14 +1022,14 @@ public final OperationFuture provisionCloudIdentity *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer was not found. - *
          • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer was not found. + *
          • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the * customer's primary contact email. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1072,14 +1072,14 @@ public final OperationFuture provisionCloudIdentity *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer was not found. - *
          • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer was not found. + *
          • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the * customer's primary contact email. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1121,8 +1121,8 @@ public final OperationFuture provisionCloudIdentity *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • 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. @@ -1159,8 +1159,8 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • 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. @@ -1198,8 +1198,8 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • 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. @@ -1248,10 +1248,10 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Return value: A list of the customer's @@ -1297,10 +1297,10 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Return value: A list of the customer's @@ -1345,10 +1345,10 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Return value: A list of the customer's @@ -1400,10 +1400,10 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Return value: List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the @@ -1449,10 +1449,10 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Return value: List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the @@ -1497,10 +1497,10 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth + *
          • PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth * token. * The supplied auth token is invalid. * The reseller account making the * request is different from the reseller account in the query. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
          * *

          Return value: List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the @@ -1548,9 +1548,9 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer entitlement was not found. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer entitlement was not found. *
          * *

          Return value: The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. @@ -1583,9 +1583,9 @@ public final Entitlement getEntitlement(GetEntitlementRequest request) { *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer entitlement was not found. + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer entitlement was not found. *
          * *

          Return value: The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. @@ -1618,24 +1618,24 @@ public final UnaryCallable getEntitlementCal *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There * is already a customer entitlement for a SKU from the same product family. - *
          • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support + *
          • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support * for further troubleshooting. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The * customer's primary email already exists. Retry after changing the customer's primary * contact email. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU * has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is * missing. For example, Google Workspace Business Starter is required to purchase Vault or * Drive. * (Developer accounts only) Reseller and resold domain must meet the following * naming requirements: * Domain names must start with goog-test. * Domain names * must include the reseller domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1676,24 +1676,24 @@ public final OperationFuture createEntitlementAs *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There * is already a customer entitlement for a SKU from the same product family. - *
          • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support + *
          • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support * for further troubleshooting. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The * customer's primary email already exists. Retry after changing the customer's primary * contact email. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU * has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is * missing. For example, Google Workspace Business Starter is required to purchase Vault or * Drive. * (Developer accounts only) Reseller and resold domain must meet the following * naming requirements: * Domain names must start with goog-test. * Domain names * must include the reseller domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1734,24 +1734,24 @@ public final OperationFuture createEntitlementAs *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There * is already a customer entitlement for a SKU from the same product family. - *
          • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support + *
          • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support * for further troubleshooting. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: * The SKU was already purchased for the customer. * The * customer's primary email already exists. Retry after changing the customer's primary * contact email. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU * has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is * missing. For example, Google Workspace Business Starter is required to purchase Vault or * Drive. * (Developer accounts only) Reseller and resold domain must meet the following * naming requirements: * Domain names must start with goog-test. * Domain names * must include the reseller domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1794,14 +1794,14 @@ public final UnaryCallable createEntitlemen *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the * number of seats being changed is greater than the allowed number of max seats, or * decreasing seats for a commitment based plan. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_FOUND: Entitlement resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1846,14 +1846,14 @@ public final OperationFuture changeParametersAsy *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the * number of seats being changed is greater than the allowed number of max seats, or * decreasing seats for a commitment based plan. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_FOUND: Entitlement resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1898,14 +1898,14 @@ public final OperationFuture changeParametersAsy *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the * number of seats being changed is greater than the allowed number of max seats, or * decreasing seats for a commitment based plan. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_FOUND: Entitlement resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -1949,14 +1949,14 @@ public final UnaryCallable changeParametersC *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't * enable or disable renewals for non-commitment plans. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2000,14 +2000,14 @@ public final OperationFuture changeRenewalSettin *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't * enable or disable renewals for non-commitment plans. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2051,14 +2051,14 @@ public final OperationFuture changeRenewalSettin *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't * enable or disable renewals for non-commitment plans. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2102,12 +2102,12 @@ public final OperationFuture changeRenewalSettin *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Offer or Entitlement resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Offer or Entitlement resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2153,12 +2153,12 @@ public final OperationFuture changeOfferAsync( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Offer or Entitlement resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Offer or Entitlement resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2204,12 +2204,12 @@ public final OperationFuture changeOfferAsync( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Offer or Entitlement resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Offer or Entitlement resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2254,13 +2254,13 @@ public final UnaryCallable changeOfferCallable() *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2303,13 +2303,13 @@ public final OperationFuture startPaidServiceAsy *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2352,13 +2352,13 @@ public final OperationFuture startPaidServiceAsy *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2399,13 +2399,13 @@ public final UnaryCallable startPaidServiceC *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • NOT_ACTIVE: Entitlement is not active. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • NOT_ACTIVE: Entitlement is not active. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2447,13 +2447,13 @@ public final OperationFuture suspendEntitlementA *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • NOT_ACTIVE: Entitlement is not active. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • NOT_ACTIVE: Entitlement is not active. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2495,13 +2495,13 @@ public final OperationFuture suspendEntitlementA *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • NOT_ACTIVE: Entitlement is not active. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • NOT_ACTIVE: Entitlement is not active. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2542,17 +2542,17 @@ public final UnaryCallable suspendEntitlem *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request is different from the - * reseller account in the API request. - *
          • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud + *
          • PERMISSION_DENIED: The reseller account making the request is different from the reseller + * account in the API request. + *
          • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud * entitlement's Cloud Billing subaccount. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or * entitlements for Google Cloud's development platform. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2595,17 +2595,17 @@ public final OperationFuture cancelEntitlementAsync( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request is different from the - * reseller account in the API request. - *
          • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud + *
          • PERMISSION_DENIED: The reseller account making the request is different from the reseller + * account in the API request. + *
          • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud * entitlement's Cloud Billing subaccount. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or * entitlements for Google Cloud's development platform. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2648,17 +2648,17 @@ public final OperationFuture cancelEntitlementAsync( *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The reseller account making the request is different from the - * reseller account in the API request. - *
          • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud + *
          • PERMISSION_DENIED: The reseller account making the request is different from the reseller + * account in the API request. + *
          • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud * entitlement's Cloud Billing subaccount. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: Entitlement resource not found. - *
          • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: Entitlement resource not found. + *
          • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or * entitlements for Google Cloud's development platform. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2702,16 +2702,16 @@ public final UnaryCallable cancelEntitlemen *

          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: Entitlement resource not found. - *
          • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and + *
          • 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: Entitlement resource not found. + *
          • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and * entitlements that have accepted the TOS. - *
          • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2755,16 +2755,16 @@ public final OperationFuture activateEntitlement *

          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: Entitlement resource not found. - *
          • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and + *
          • 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: Entitlement resource not found. + *
          • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and * entitlements that have accepted the TOS. - *
          • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2808,16 +2808,16 @@ public final OperationFuture activateEntitlement *

          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: Entitlement resource not found. - *
          • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and + *
          • 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: Entitlement resource not found. + *
          • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and * entitlements that have accepted the TOS. - *
          • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2856,19 +2856,19 @@ public final UnaryCallable activateEntitl *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. * Specify all transferring entitlements. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2911,19 +2911,19 @@ public final UnaryCallable activateEntitl *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. * Specify all transferring entitlements. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -2966,19 +2966,19 @@ public final UnaryCallable activateEntitl *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. * Specify all transferring entitlements. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3020,19 +3020,19 @@ public final UnaryCallable activateEntitl *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3074,19 +3074,19 @@ public final OperationFuture transferEntitlementsToGoo *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3130,19 +3130,19 @@ public final OperationFuture transferEntitlementsToGoo *

          Possible error codes: * *

            - *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
          • NOT_FOUND: The customer or offer resource was not found. - *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. - *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to + *
          • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
          • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
          • NOT_FOUND: The customer or offer resource was not found. + *
          • ALREADY_EXISTS: The SKU was already transferred for the customer. + *
          • CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) * is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts * only) Reseller and resold domain must meet the following naming requirements: * * Domain names must start with goog-test. * Domain names must include the reseller * domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3185,9 +3185,9 @@ public final OperationFuture transferEntitlementsToGoo *

          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. + *
          • 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 @@ -3229,9 +3229,9 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

          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. + *
          • 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 @@ -3272,9 +3272,9 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

          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. + *
          • 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 @@ -3322,10 +3322,10 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

          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: ChannelPartnerLink resource not found because of an invalid channel partner + *
          • 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: ChannelPartnerLink resource not found because of an invalid channel partner * link name. *
          * @@ -3361,10 +3361,10 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque *

          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: ChannelPartnerLink resource not found because of an invalid channel partner + *
          • 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: ChannelPartnerLink resource not found because of an invalid channel partner * link name. *
          * @@ -3403,14 +3403,14 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque *

          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. - *
          • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. - *
          • NOT_FOUND: No Cloud Identity customer exists for provided domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • 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. + *
          • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. + *
          • NOT_FOUND: No Cloud Identity customer exists for provided domain. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3450,14 +3450,14 @@ public final ChannelPartnerLink createChannelPartnerLink( *

          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. - *
          • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. - *
          • NOT_FOUND: No Cloud Identity customer exists for provided domain. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • 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. + *
          • ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. + *
          • NOT_FOUND: No Cloud Identity customer exists for provided domain. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3495,15 +3495,15 @@ public final ChannelPartnerLink createChannelPartnerLink( *

          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. * Link + *
          • 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. * Link * state cannot change from invited to active or suspended. * Cannot send * reseller_cloud_identity_id, invite_url, or name in update mask. - *
          • NOT_FOUND: ChannelPartnerLink resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_FOUND: ChannelPartnerLink resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3542,15 +3542,15 @@ public final ChannelPartnerLink updateChannelPartnerLink( *

          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. * Link + *
          • 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. * Link * state cannot change from invited to active or suspended. * Cannot send * reseller_cloud_identity_id, invite_url, or name in update mask. - *
          • NOT_FOUND: ChannelPartnerLink resource not found. - *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • NOT_FOUND: ChannelPartnerLink resource not found. + *
          • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
          • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
          * @@ -3588,11 +3588,11 @@ public final ChannelPartnerLink updateChannelPartnerLink( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3632,11 +3632,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3674,11 +3674,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig(String name) { *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3719,11 +3719,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3763,12 +3763,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3777,13 +3776,10 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( * 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] + *
          • 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. @@ -3823,12 +3819,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3837,13 +3832,10 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
          • 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. @@ -3881,12 +3873,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3895,13 +3886,10 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
          • 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. @@ -3941,12 +3929,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -3955,13 +3942,10 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
          • 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. @@ -4001,12 +3985,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

          Possible Error Codes: * *

            - *
          • PERMISSION_DENIED: If the account making the request and the account being queried are + *
          • 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. - *
          • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
          • 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. *
          * @@ -4015,13 +3998,10 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf * 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] + *
          • 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. @@ -4075,15 +4055,15 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

          The following restrictions are for creating configs in the current month. * *

            - *
          • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
          • The new config will not modify exports used with other configs. Changes to the config - * may be immediate, but may take up to 24 hours. - *
          • There is a limit of ten configs for any + *
          • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
          • The new config will not modify exports used with other configs. 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 + *
          • 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]. @@ -4092,14 +4072,13 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *

            Possible Error Codes: * *

              - *
            • PERMISSION_DENIED: If the account making the request and the account being queried are + *
            • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
            • 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. - *
            • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
            • 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. + *
            • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
            * @@ -4150,15 +4129,15 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

            The following restrictions are for creating configs in the current month. * *

              - *
            • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
            • The new config will not modify exports used with other configs. Changes to the config - * may be immediate, but may take up to 24 hours. - *
            • There is a limit of ten configs for any + *
            • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
            • The new config will not modify exports used with other configs. 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 + *
            • 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]. @@ -4167,14 +4146,13 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

              Possible Error Codes: * *

                - *
              • PERMISSION_DENIED: If the account making the request and the account being queried are + *
              • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
              • 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. - *
              • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
              • 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. + *
              • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
              * @@ -4225,15 +4203,15 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

              The following restrictions are for creating configs in the current month. * *

                - *
              • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
              • The new config will not modify exports used with other configs. Changes to the config - * may be immediate, but may take up to 24 hours. - *
              • There is a limit of ten configs for any + *
              • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
              • The new config will not modify exports used with other configs. 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 + *
              • 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]. @@ -4242,14 +4220,13 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

                Possible Error Codes: * *

                  - *
                • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                • 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. - *
                • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                • 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. + *
                • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                * @@ -4295,15 +4272,15 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

                The following restrictions are for creating configs in the current month. * *

                  - *
                • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
                • The new config will not modify exports used with other configs. Changes to the config - * may be immediate, but may take up to 24 hours. - *
                • There is a limit of ten configs for any + *
                • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
                • The new config will not modify exports used with other configs. 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 + *
                • 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]. @@ -4312,14 +4289,13 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • 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. + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4365,20 +4341,19 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *

                  When updating a config in the future: * *

                    - *
                  • This config must already exist. + *
                  • This config must already exist. *
                  * *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • 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. + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4426,20 +4401,19 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *

                  When updating a config in the future: * *

                    - *
                  • This config must already exist. + *
                  • This config must already exist. *
                  * *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • 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. + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4485,20 +4459,19 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *

                  When updating a config in the future: * *

                    - *
                  • This config must already exist. + *
                  • This config must already exist. *
                  * *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • 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. + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4538,12 +4511,12 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *

                  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 + *
                  • 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] + *
                  • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
                  * @@ -4581,12 +4554,12 @@ public final void deleteCustomerRepricingConfig(CustomerRepricingConfigName name *

                  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 + *
                  • 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] + *
                  • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
                  * @@ -4623,12 +4596,12 @@ public final void deleteCustomerRepricingConfig(String name) { *

                  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 + *
                  • 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] + *
                  • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
                  * @@ -4666,12 +4639,12 @@ public final void deleteCustomerRepricingConfig(DeleteCustomerRepricingConfigReq *

                  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 + *
                  • 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] + *
                  • NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] * found for the name in the request. *
                  * @@ -4708,12 +4681,12 @@ public final void deleteCustomerRepricingConfig(DeleteCustomerRepricingConfigReq *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4756,12 +4729,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4802,12 +4775,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(Stri *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4849,12 +4822,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4895,12 +4868,12 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4909,11 +4882,9 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( * 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] + *
                  • 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. @@ -4956,12 +4927,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -4970,11 +4941,9 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
                  • 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. @@ -5014,12 +4983,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5028,11 +4997,9 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
                  • 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. @@ -5074,12 +5041,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5088,11 +5055,9 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
                  • 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. @@ -5137,12 +5102,12 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • NOT_FOUND: The + *
                  • 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, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5151,11 +5116,9 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR * 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] + *
                  • 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. @@ -5211,13 +5174,13 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

                  The following restrictions are for creating configs in the current month. * *

                    - *
                  • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
                  • The new config will not modify exports used with other configs. 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 + *
                  • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
                  • The new config will not modify exports used with other configs. 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 + *
                  • 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. *
                  @@ -5225,14 +5188,14 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5287,13 +5250,13 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  The following restrictions are for creating configs in the current month. * *

                    - *
                  • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
                  • The new config will not modify exports used with other configs. 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 + *
                  • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
                  • The new config will not modify exports used with other configs. 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 + *
                  • 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. *
                  @@ -5301,14 +5264,14 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5362,13 +5325,13 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  The following restrictions are for creating configs in the current month. * *

                    - *
                  • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
                  • The new config will not modify exports used with other configs. 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 + *
                  • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
                  • The new config will not modify exports used with other configs. 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 + *
                  • 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. *
                  @@ -5376,14 +5339,14 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5430,13 +5393,13 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  The following restrictions are for creating configs in the current month. * *

                    - *
                  • This functionality is reserved for recovering from an erroneous config, and should not - * be used for regular business cases. - *
                  • The new config will not modify exports used with other configs. 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 + *
                  • This functionality is reserved for recovering from an erroneous config, and should not be + * used for regular business cases. + *
                  • The new config will not modify exports used with other configs. 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 + *
                  • 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. *
                  @@ -5444,14 +5407,14 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5501,20 +5464,20 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *

                  When updating a config in the future: * *

                    - *
                  • This config must already exist. + *
                  • This config must already exist. *
                  * *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5564,20 +5527,20 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *

                  When updating a config in the future: * *

                    - *
                  • This config must already exist. + *
                  • This config must already exist. *
                  * *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5623,20 +5586,20 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *

                  When updating a config in the future: * *

                    - *
                  • This config must already exist. + *
                  • This config must already exist. *
                  * *

                  Possible Error Codes: * *

                    - *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are + *
                  • PERMISSION_DENIED: If the account making the request and the account being queried are * different. - *
                  • 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 + *
                  • 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. - *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, + *
                  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, * contact Cloud Channel support. *
                  * @@ -5680,12 +5643,12 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *

                  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 + *
                  • 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 + *
                  • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
                  @@ -5725,12 +5688,12 @@ public final void deleteChannelPartnerRepricingConfig(ChannelPartnerRepricingCon *

                  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 + *
                  • 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 + *
                  • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
                  @@ -5769,12 +5732,12 @@ public final void deleteChannelPartnerRepricingConfig(String name) { *

                  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 + *
                  • 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 + *
                  • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
                  @@ -5815,12 +5778,12 @@ public final void deleteChannelPartnerRepricingConfig( *

                  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 + *
                  • 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 + *
                  • NOT_FOUND: No * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] * found for the name in the request. *
                  @@ -5859,9 +5822,9 @@ public final void deleteChannelPartnerRepricingConfig( *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: Entitlement or offer was not found. + *
                  • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: Entitlement or offer was not found. *
                  * *

                  Return value: The [Offer][google.cloud.channel.v1.Offer] resource. @@ -5895,9 +5858,9 @@ public final Offer lookupOffer(LookupOfferRequest request) { *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: Entitlement or offer was not found. + *
                  • PERMISSION_DENIED: The entitlement doesn't belong to the reseller. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: Entitlement or offer was not found. *
                  * *

                  Return value: The [Offer][google.cloud.channel.v1.Offer] resource. @@ -5930,7 +5893,7 @@ public final UnaryCallable lookupOfferCallable() { *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -5966,7 +5929,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6003,7 +5966,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6046,7 +6009,7 @@ public final UnaryCallable listProduc *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6083,7 +6046,7 @@ public final ListSkusPagedResponse listSkus(ListSkusRequest request) { *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6119,7 +6082,7 @@ public final UnaryCallable listSkusPaged *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6162,7 +6125,7 @@ public final UnaryCallable listSkusCallable() *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6199,7 +6162,7 @@ public final ListOffersPagedResponse listOffers(ListOffersRequest request) { *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6236,7 +6199,7 @@ public final UnaryCallable listOffer *

                  Possible error codes: * *

                    - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6277,15 +6240,15 @@ public final UnaryCallable listOffersCall * Lists the following: * *

                    - *
                  • SKUs that you can purchase for a customer - *
                  • SKUs that you can upgrade or downgrade for an entitlement. + *
                  • SKUs that you can purchase for a customer + *
                  • SKUs that you can upgrade or downgrade for an entitlement. *
                  * *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6321,15 +6284,15 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( * Lists the following: * *

                    - *
                  • SKUs that you can purchase for a customer - *
                  • SKUs that you can upgrade or downgrade for an entitlement. + *
                  • SKUs that you can purchase for a customer + *
                  • SKUs that you can upgrade or downgrade for an entitlement. *
                  * *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6364,15 +6327,15 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( * Lists the following: * *

                    - *
                  • SKUs that you can purchase for a customer - *
                  • SKUs that you can upgrade or downgrade for an entitlement. + *
                  • SKUs that you can purchase for a customer + *
                  • SKUs that you can upgrade or downgrade for an entitlement. *
                  * *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller. + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6414,15 +6377,15 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( * Lists the following: * *

                    - *
                  • Offers that you can purchase for a customer. - *
                  • Offers that you can change for an entitlement. + *
                  • Offers that you can purchase for a customer. + *
                  • Offers that you can change for an entitlement. *
                  * *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6458,15 +6421,15 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( * Lists the following: * *

                    - *
                  • Offers that you can purchase for a customer. - *
                  • Offers that you can change for an entitlement. + *
                  • Offers that you can purchase for a customer. + *
                  • Offers that you can change for an entitlement. *
                  * *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6501,15 +6464,15 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( * Lists the following: * *

                    - *
                  • Offers that you can purchase for a customer. - *
                  • Offers that you can change for an entitlement. + *
                  • Offers that you can purchase for a customer. + *
                  • Offers that you can change for an entitlement. *
                  * *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • PERMISSION_DENIED: The customer doesn't belong to the reseller + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. *
                  * *

                  Sample code: @@ -6555,12 +6518,12 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6597,12 +6560,12 @@ public final RegisterSubscriberResponse registerSubscriber(RegisterSubscriberReq *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6640,13 +6603,13 @@ public final RegisterSubscriberResponse registerSubscriber(RegisterSubscriberReq *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: The topic resource doesn't exist. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: The topic resource doesn't exist. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6686,13 +6649,13 @@ public final UnregisterSubscriberResponse unregisterSubscriber( *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: The topic resource doesn't exist. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: The topic resource doesn't exist. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6730,13 +6693,13 @@ public final UnregisterSubscriberResponse unregisterSubscriber( *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: The topic resource doesn't exist. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: The topic resource doesn't exist. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6775,13 +6738,13 @@ public final ListSubscribersPagedResponse listSubscribers(ListSubscribersRequest *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: The topic resource doesn't exist. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: The topic resource doesn't exist. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6821,13 +6784,13 @@ public final ListSubscribersPagedResponse listSubscribers(ListSubscribersRequest *

                  Possible error codes: * *

                    - *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller + *
                  • PERMISSION_DENIED: The reseller account making the request and the provided reseller * account are different, or the impersonated user is not a super admin. - *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. - *
                  • NOT_FOUND: The topic resource doesn't exist. - *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • INVALID_ARGUMENT: Required request parameters are missing or invalid. + *
                  • NOT_FOUND: The topic resource doesn't exist. + *
                  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. - *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud + *
                  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud * Channel support. *
                  * @@ -6898,7 +6861,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListCustomersPagedResponse extends AbstractPagedListResponse< - ListCustomersRequest, ListCustomersResponse, Customer, ListCustomersPage, + ListCustomersRequest, + ListCustomersResponse, + Customer, + ListCustomersPage, ListCustomersFixedSizeCollection> { public static ApiFuture createAsync( @@ -6948,7 +6914,10 @@ public ApiFuture createPageAsync( public static class ListCustomersFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomersRequest, ListCustomersResponse, Customer, ListCustomersPage, + ListCustomersRequest, + ListCustomersResponse, + Customer, + ListCustomersPage, ListCustomersFixedSizeCollection> { private ListCustomersFixedSizeCollection(List pages, int collectionSize) { @@ -6968,7 +6937,10 @@ protected ListCustomersFixedSizeCollection createCollection( public static class ListEntitlementsPagedResponse extends AbstractPagedListResponse< - ListEntitlementsRequest, ListEntitlementsResponse, Entitlement, ListEntitlementsPage, + ListEntitlementsRequest, + ListEntitlementsResponse, + Entitlement, + ListEntitlementsPage, ListEntitlementsFixedSizeCollection> { public static ApiFuture createAsync( @@ -7018,7 +6990,10 @@ public ApiFuture createPageAsync( public static class ListEntitlementsFixedSizeCollection extends AbstractFixedSizeCollection< - ListEntitlementsRequest, ListEntitlementsResponse, Entitlement, ListEntitlementsPage, + ListEntitlementsRequest, + ListEntitlementsResponse, + Entitlement, + ListEntitlementsPage, ListEntitlementsFixedSizeCollection> { private ListEntitlementsFixedSizeCollection( @@ -7039,8 +7014,11 @@ protected ListEntitlementsFixedSizeCollection createCollection( public static class ListTransferableSkusPagedResponse extends AbstractPagedListResponse< - ListTransferableSkusRequest, ListTransferableSkusResponse, TransferableSku, - ListTransferableSkusPage, ListTransferableSkusFixedSizeCollection> { + ListTransferableSkusRequest, + ListTransferableSkusResponse, + TransferableSku, + ListTransferableSkusPage, + ListTransferableSkusFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -7061,7 +7039,9 @@ private ListTransferableSkusPagedResponse(ListTransferableSkusPage page) { public static class ListTransferableSkusPage extends AbstractPage< - ListTransferableSkusRequest, ListTransferableSkusResponse, TransferableSku, + ListTransferableSkusRequest, + ListTransferableSkusResponse, + TransferableSku, ListTransferableSkusPage> { private ListTransferableSkusPage( @@ -7094,8 +7074,11 @@ public ApiFuture createPageAsync( public static class ListTransferableSkusFixedSizeCollection extends AbstractFixedSizeCollection< - ListTransferableSkusRequest, ListTransferableSkusResponse, TransferableSku, - ListTransferableSkusPage, ListTransferableSkusFixedSizeCollection> { + ListTransferableSkusRequest, + ListTransferableSkusResponse, + TransferableSku, + ListTransferableSkusPage, + ListTransferableSkusFixedSizeCollection> { private ListTransferableSkusFixedSizeCollection( List pages, int collectionSize) { @@ -7115,8 +7098,11 @@ protected ListTransferableSkusFixedSizeCollection createCollection( public static class ListTransferableOffersPagedResponse extends AbstractPagedListResponse< - ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer, - ListTransferableOffersPage, ListTransferableOffersFixedSizeCollection> { + ListTransferableOffersRequest, + ListTransferableOffersResponse, + TransferableOffer, + ListTransferableOffersPage, + ListTransferableOffersFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -7138,7 +7124,9 @@ private ListTransferableOffersPagedResponse(ListTransferableOffersPage page) { public static class ListTransferableOffersPage extends AbstractPage< - ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer, + ListTransferableOffersRequest, + ListTransferableOffersResponse, + TransferableOffer, ListTransferableOffersPage> { private ListTransferableOffersPage( @@ -7174,8 +7162,11 @@ public ApiFuture createPageAsync( public static class ListTransferableOffersFixedSizeCollection extends AbstractFixedSizeCollection< - ListTransferableOffersRequest, ListTransferableOffersResponse, TransferableOffer, - ListTransferableOffersPage, ListTransferableOffersFixedSizeCollection> { + ListTransferableOffersRequest, + ListTransferableOffersResponse, + TransferableOffer, + ListTransferableOffersPage, + ListTransferableOffersFixedSizeCollection> { private ListTransferableOffersFixedSizeCollection( List pages, int collectionSize) { @@ -7195,8 +7186,11 @@ protected ListTransferableOffersFixedSizeCollection createCollection( public static class ListChannelPartnerLinksPagedResponse extends AbstractPagedListResponse< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink, - ListChannelPartnerLinksPage, ListChannelPartnerLinksFixedSizeCollection> { + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, + ChannelPartnerLink, + ListChannelPartnerLinksPage, + ListChannelPartnerLinksFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -7218,7 +7212,9 @@ private ListChannelPartnerLinksPagedResponse(ListChannelPartnerLinksPage page) { public static class ListChannelPartnerLinksPage extends AbstractPage< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, + ChannelPartnerLink, ListChannelPartnerLinksPage> { private ListChannelPartnerLinksPage( @@ -7254,8 +7250,11 @@ public ApiFuture createPageAsync( public static class ListChannelPartnerLinksFixedSizeCollection extends AbstractFixedSizeCollection< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink, - ListChannelPartnerLinksPage, ListChannelPartnerLinksFixedSizeCollection> { + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, + ChannelPartnerLink, + ListChannelPartnerLinksPage, + ListChannelPartnerLinksFixedSizeCollection> { private ListChannelPartnerLinksFixedSizeCollection( List pages, int collectionSize) { @@ -7275,13 +7274,16 @@ protected ListChannelPartnerLinksFixedSizeCollection createCollection( public static class ListCustomerRepricingConfigsPagedResponse extends AbstractPagedListResponse< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, - CustomerRepricingConfig, ListCustomerRepricingConfigsPage, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, + CustomerRepricingConfig, + ListCustomerRepricingConfigsPage, ListCustomerRepricingConfigsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ApiFuture futureResponse) { @@ -7301,12 +7303,15 @@ private ListCustomerRepricingConfigsPagedResponse(ListCustomerRepricingConfigsPa public static class ListCustomerRepricingConfigsPage extends AbstractPage< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, - CustomerRepricingConfig, ListCustomerRepricingConfigsPage> { + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, + CustomerRepricingConfig, + ListCustomerRepricingConfigsPage> { private ListCustomerRepricingConfigsPage( PageContext< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ListCustomerRepricingConfigsResponse response) { @@ -7320,7 +7325,8 @@ private static ListCustomerRepricingConfigsPage createEmptyPage() { @Override protected ListCustomerRepricingConfigsPage createPage( PageContext< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ListCustomerRepricingConfigsResponse response) { @@ -7330,7 +7336,8 @@ protected ListCustomerRepricingConfigsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> context, ApiFuture futureResponse) { @@ -7340,8 +7347,10 @@ public ApiFuture createPageAsync( public static class ListCustomerRepricingConfigsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, - CustomerRepricingConfig, ListCustomerRepricingConfigsPage, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, + CustomerRepricingConfig, + ListCustomerRepricingConfigsPage, ListCustomerRepricingConfigsFixedSizeCollection> { private ListCustomerRepricingConfigsFixedSizeCollection( @@ -7362,14 +7371,17 @@ protected ListCustomerRepricingConfigsFixedSizeCollection createCollection( public static class ListChannelPartnerRepricingConfigsPagedResponse extends AbstractPagedListResponse< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig, ListChannelPartnerRepricingConfigsPage, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig, + ListChannelPartnerRepricingConfigsPage, ListChannelPartnerRepricingConfigsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -7389,13 +7401,16 @@ private ListChannelPartnerRepricingConfigsPagedResponse( public static class ListChannelPartnerRepricingConfigsPage extends AbstractPage< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig, ListChannelPartnerRepricingConfigsPage> { + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig, + ListChannelPartnerRepricingConfigsPage> { private ListChannelPartnerRepricingConfigsPage( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig> context, ListChannelPartnerRepricingConfigsResponse response) { super(context, response); @@ -7409,7 +7424,8 @@ private static ListChannelPartnerRepricingConfigsPage createEmptyPage() { protected ListChannelPartnerRepricingConfigsPage createPage( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig> context, ListChannelPartnerRepricingConfigsResponse response) { return new ListChannelPartnerRepricingConfigsPage(context, response); @@ -7419,7 +7435,8 @@ protected ListChannelPartnerRepricingConfigsPage createPage( public ApiFuture createPageAsync( PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -7428,8 +7445,10 @@ public ApiFuture createPageAsync( public static class ListChannelPartnerRepricingConfigsFixedSizeCollection extends AbstractFixedSizeCollection< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, - ChannelPartnerRepricingConfig, ListChannelPartnerRepricingConfigsPage, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig, + ListChannelPartnerRepricingConfigsPage, ListChannelPartnerRepricingConfigsFixedSizeCollection> { private ListChannelPartnerRepricingConfigsFixedSizeCollection( @@ -7450,7 +7469,10 @@ protected ListChannelPartnerRepricingConfigsFixedSizeCollection createCollection public static class ListProductsPagedResponse extends AbstractPagedListResponse< - ListProductsRequest, ListProductsResponse, Product, ListProductsPage, + ListProductsRequest, + ListProductsResponse, + Product, + ListProductsPage, ListProductsFixedSizeCollection> { public static ApiFuture createAsync( @@ -7499,7 +7521,10 @@ public ApiFuture createPageAsync( public static class ListProductsFixedSizeCollection extends AbstractFixedSizeCollection< - ListProductsRequest, ListProductsResponse, Product, ListProductsPage, + ListProductsRequest, + ListProductsResponse, + Product, + ListProductsPage, ListProductsFixedSizeCollection> { private ListProductsFixedSizeCollection(List pages, int collectionSize) { @@ -7582,7 +7607,10 @@ protected ListSkusFixedSizeCollection createCollection( public static class ListOffersPagedResponse extends AbstractPagedListResponse< - ListOffersRequest, ListOffersResponse, Offer, ListOffersPage, + ListOffersRequest, + ListOffersResponse, + Offer, + ListOffersPage, ListOffersFixedSizeCollection> { public static ApiFuture createAsync( @@ -7629,7 +7657,10 @@ public ApiFuture createPageAsync( public static class ListOffersFixedSizeCollection extends AbstractFixedSizeCollection< - ListOffersRequest, ListOffersResponse, Offer, ListOffersPage, + ListOffersRequest, + ListOffersResponse, + Offer, + ListOffersPage, ListOffersFixedSizeCollection> { private ListOffersFixedSizeCollection(List pages, int collectionSize) { @@ -7649,8 +7680,11 @@ protected ListOffersFixedSizeCollection createCollection( public static class ListPurchasableSkusPagedResponse extends AbstractPagedListResponse< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, PurchasableSku, - ListPurchasableSkusPage, ListPurchasableSkusFixedSizeCollection> { + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, + PurchasableSku, + ListPurchasableSkusPage, + ListPurchasableSkusFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -7671,7 +7705,9 @@ private ListPurchasableSkusPagedResponse(ListPurchasableSkusPage page) { public static class ListPurchasableSkusPage extends AbstractPage< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, PurchasableSku, + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, + PurchasableSku, ListPurchasableSkusPage> { private ListPurchasableSkusPage( @@ -7704,8 +7740,11 @@ public ApiFuture createPageAsync( public static class ListPurchasableSkusFixedSizeCollection extends AbstractFixedSizeCollection< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, PurchasableSku, - ListPurchasableSkusPage, ListPurchasableSkusFixedSizeCollection> { + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, + PurchasableSku, + ListPurchasableSkusPage, + ListPurchasableSkusFixedSizeCollection> { private ListPurchasableSkusFixedSizeCollection( List pages, int collectionSize) { @@ -7725,8 +7764,11 @@ protected ListPurchasableSkusFixedSizeCollection createCollection( public static class ListPurchasableOffersPagedResponse extends AbstractPagedListResponse< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, PurchasableOffer, - ListPurchasableOffersPage, ListPurchasableOffersFixedSizeCollection> { + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, + PurchasableOffer, + ListPurchasableOffersPage, + ListPurchasableOffersFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -7747,7 +7789,9 @@ private ListPurchasableOffersPagedResponse(ListPurchasableOffersPage page) { public static class ListPurchasableOffersPage extends AbstractPage< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, PurchasableOffer, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, + PurchasableOffer, ListPurchasableOffersPage> { private ListPurchasableOffersPage( @@ -7780,8 +7824,11 @@ public ApiFuture createPageAsync( public static class ListPurchasableOffersFixedSizeCollection extends AbstractFixedSizeCollection< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, PurchasableOffer, - ListPurchasableOffersPage, ListPurchasableOffersFixedSizeCollection> { + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, + PurchasableOffer, + ListPurchasableOffersPage, + ListPurchasableOffersFixedSizeCollection> { private ListPurchasableOffersFixedSizeCollection( List pages, int collectionSize) { @@ -7801,7 +7848,10 @@ protected ListPurchasableOffersFixedSizeCollection createCollection( public static class ListSubscribersPagedResponse extends AbstractPagedListResponse< - ListSubscribersRequest, ListSubscribersResponse, String, ListSubscribersPage, + ListSubscribersRequest, + ListSubscribersResponse, + String, + ListSubscribersPage, ListSubscribersFixedSizeCollection> { public static ApiFuture createAsync( @@ -7851,7 +7901,10 @@ public ApiFuture createPageAsync( public static class ListSubscribersFixedSizeCollection extends AbstractFixedSizeCollection< - ListSubscribersRequest, ListSubscribersResponse, String, ListSubscribersPage, + ListSubscribersRequest, + ListSubscribersResponse, + String, + ListSubscribersPage, ListSubscribersFixedSizeCollection> { private ListSubscribersFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java index fb037281..b24873ce 100644 --- a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java +++ b/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; @@ -58,9 +57,9 @@ *

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

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

                  The builder of this class is recursive, so contained classes are themselves builders. When @@ -150,7 +149,8 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableSkus. */ public PagedCallSettings< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableSkusSettings(); @@ -158,7 +158,8 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableOffers. */ public PagedCallSettings< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableOffersSettings(); @@ -294,7 +295,8 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listChannelPartnerLinksSettings(); @@ -327,7 +329,8 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()) @@ -364,7 +367,8 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()) @@ -426,7 +430,8 @@ public UnaryCallSettings lookupOfferSettings() { /** Returns the object with the settings used for calls to listPurchasableOffers. */ public PagedCallSettings< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return ((CloudChannelServiceStubSettings) getStubSettings()).listPurchasableOffersSettings(); @@ -626,7 +631,8 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableSkus. */ public PagedCallSettings.Builder< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return getStubSettingsBuilder().listTransferableSkusSettings(); @@ -634,7 +640,8 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableOffers. */ public PagedCallSettings.Builder< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return getStubSettingsBuilder().listTransferableOffersSettings(); @@ -769,7 +776,8 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings.Builder< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return getStubSettingsBuilder().listChannelPartnerLinksSettings(); @@ -801,7 +809,8 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings.Builder< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return getStubSettingsBuilder().listCustomerRepricingConfigsSettings(); @@ -836,7 +845,8 @@ public UnaryCallSettings.Builder changeOfferSetti * Returns the builder for the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings.Builder< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return getStubSettingsBuilder().listChannelPartnerRepricingConfigsSettings(); @@ -894,7 +904,8 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableSkus. */ public PagedCallSettings.Builder< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> listPurchasableSkusSettings() { return getStubSettingsBuilder().listPurchasableSkusSettings(); @@ -902,7 +913,8 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableOffers. */ public PagedCallSettings.Builder< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return getStubSettingsBuilder().listPurchasableOffersSettings(); diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java index a701fea8..7e590995 100644 --- a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java +++ b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java @@ -152,9 +152,9 @@ *

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

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

                  The builder of this class is recursive, so contained classes are themselves builders. When @@ -205,11 +205,13 @@ public class CloudChannelServiceStubSettings extends StubSettings listEntitlementsSettings; private final PagedCallSettings< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings; private final PagedCallSettings< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings; private final UnaryCallSettings getEntitlementSettings; @@ -249,7 +251,8 @@ public class CloudChannelServiceStubSettings extends StubSettings transferEntitlementsToGoogleOperationSettings; private final PagedCallSettings< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings; private final UnaryCallSettings @@ -261,7 +264,8 @@ public class CloudChannelServiceStubSettings extends StubSettings getCustomerRepricingConfigSettings; private final PagedCallSettings< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings; private final UnaryCallSettings @@ -274,7 +278,8 @@ public class CloudChannelServiceStubSettings extends StubSettings getChannelPartnerRepricingConfigSettings; private final PagedCallSettings< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings; private final UnaryCallSettings< @@ -297,7 +302,8 @@ public class CloudChannelServiceStubSettings extends StubSettings listPurchasableSkusSettings; private final PagedCallSettings< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings; private final UnaryCallSettings @@ -472,7 +478,8 @@ public Iterable extractResources( ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, ChannelPartnerLink> LIST_CHANNEL_PARTNER_LINKS_PAGE_STR_DESC = new PagedListDescriptor< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ChannelPartnerLink>() { @Override public String emptyToken() { @@ -513,11 +520,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> LIST_CUSTOMER_REPRICING_CONFIGS_PAGE_STR_DESC = new PagedListDescriptor< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig>() { @Override public String emptyToken() { @@ -560,11 +569,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> LIST_CHANNEL_PARTNER_REPRICING_CONFIGS_PAGE_STR_DESC = new PagedListDescriptor< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig>() { @Override public String emptyToken() { @@ -870,11 +881,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> LIST_TRANSFERABLE_SKUS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -892,11 +905,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> LIST_TRANSFERABLE_OFFERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -906,7 +921,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, TransferableOffer> pageContext = PageContext.create( @@ -916,11 +932,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> LIST_CHANNEL_PARTNER_LINKS_PAGE_STR_FACT = new PagedListResponseFactory< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -930,7 +948,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ChannelPartnerLink> pageContext = PageContext.create( @@ -940,11 +959,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> LIST_CUSTOMER_REPRICING_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -955,7 +976,8 @@ public ApiFuture getFuturePagedRespon ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, CustomerRepricingConfig> pageContext = PageContext.create( @@ -969,11 +991,13 @@ public ApiFuture getFuturePagedRespon }; private static final PagedListResponseFactory< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> LIST_CHANNEL_PARTNER_REPRICING_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse>() { @Override public ApiFuture @@ -987,7 +1011,8 @@ public ApiFuture getFuturePagedRespon ApiFuture futureResponse) { PageContext< ListChannelPartnerRepricingConfigsRequest, - ListChannelPartnerRepricingConfigsResponse, ChannelPartnerRepricingConfig> + ListChannelPartnerRepricingConfigsResponse, + ChannelPartnerRepricingConfig> pageContext = PageContext.create( callable, @@ -1053,7 +1078,8 @@ public ApiFuture getFuturePagedResponse( ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> LIST_PURCHASABLE_SKUS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1070,11 +1096,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> LIST_PURCHASABLE_OFFERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -1167,7 +1195,8 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableSkus. */ public PagedCallSettings< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return listTransferableSkusSettings; @@ -1175,7 +1204,8 @@ public UnaryCallSettings importCustomerSettings /** Returns the object with the settings used for calls to listTransferableOffers. */ public PagedCallSettings< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return listTransferableOffersSettings; @@ -1301,7 +1331,8 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return listChannelPartnerLinksSettings; @@ -1333,7 +1364,8 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return listCustomerRepricingConfigsSettings; @@ -1365,7 +1397,8 @@ public UnaryCallSettings transferEntitle /** Returns the object with the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return listChannelPartnerRepricingConfigsSettings; @@ -1423,7 +1456,8 @@ public UnaryCallSettings lookupOfferSettings() { /** Returns the object with the settings used for calls to listPurchasableOffers. */ public PagedCallSettings< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return listPurchasableOffersSettings; @@ -1656,11 +1690,13 @@ public static class Builder ListEntitlementsRequest, ListEntitlementsResponse, ListEntitlementsPagedResponse> listEntitlementsSettings; private final PagedCallSettings.Builder< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings; private final PagedCallSettings.Builder< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings; private final UnaryCallSettings.Builder @@ -1713,7 +1749,8 @@ public static class Builder TransferEntitlementsToGoogleRequest, Empty, OperationMetadata> transferEntitlementsToGoogleOperationSettings; private final PagedCallSettings.Builder< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings; private final UnaryCallSettings.Builder @@ -1726,7 +1763,8 @@ public static class Builder GetCustomerRepricingConfigRequest, CustomerRepricingConfig> getCustomerRepricingConfigSettings; private final PagedCallSettings.Builder< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings; private final UnaryCallSettings.Builder< @@ -1741,7 +1779,8 @@ public static class Builder GetChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig> getChannelPartnerRepricingConfigSettings; private final PagedCallSettings.Builder< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings; private final UnaryCallSettings.Builder< @@ -1763,11 +1802,13 @@ public static class Builder ListOffersRequest, ListOffersResponse, ListOffersPagedResponse> listOffersSettings; private final PagedCallSettings.Builder< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> listPurchasableSkusSettings; private final PagedCallSettings.Builder< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings; private final UnaryCallSettings.Builder @@ -2663,7 +2704,8 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableSkus. */ public PagedCallSettings.Builder< - ListTransferableSkusRequest, ListTransferableSkusResponse, + ListTransferableSkusRequest, + ListTransferableSkusResponse, ListTransferableSkusPagedResponse> listTransferableSkusSettings() { return listTransferableSkusSettings; @@ -2671,7 +2713,8 @@ public UnaryCallSettings.Builder importCustomer /** Returns the builder for the settings used for calls to listTransferableOffers. */ public PagedCallSettings.Builder< - ListTransferableOffersRequest, ListTransferableOffersResponse, + ListTransferableOffersRequest, + ListTransferableOffersResponse, ListTransferableOffersPagedResponse> listTransferableOffersSettings() { return listTransferableOffersSettings; @@ -2826,7 +2869,8 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listChannelPartnerLinks. */ public PagedCallSettings.Builder< - ListChannelPartnerLinksRequest, ListChannelPartnerLinksResponse, + ListChannelPartnerLinksRequest, + ListChannelPartnerLinksResponse, ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksSettings() { return listChannelPartnerLinksSettings; @@ -2858,7 +2902,8 @@ public UnaryCallSettings.Builder changeOfferSetti /** Returns the builder for the settings used for calls to listCustomerRepricingConfigs. */ public PagedCallSettings.Builder< - ListCustomerRepricingConfigsRequest, ListCustomerRepricingConfigsResponse, + ListCustomerRepricingConfigsRequest, + ListCustomerRepricingConfigsResponse, ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsSettings() { return listCustomerRepricingConfigsSettings; @@ -2893,7 +2938,8 @@ public UnaryCallSettings.Builder changeOfferSetti * Returns the builder for the settings used for calls to listChannelPartnerRepricingConfigs. */ public PagedCallSettings.Builder< - ListChannelPartnerRepricingConfigsRequest, ListChannelPartnerRepricingConfigsResponse, + ListChannelPartnerRepricingConfigsRequest, + ListChannelPartnerRepricingConfigsResponse, ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsSettings() { return listChannelPartnerRepricingConfigsSettings; @@ -2951,7 +2997,8 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableSkus. */ public PagedCallSettings.Builder< - ListPurchasableSkusRequest, ListPurchasableSkusResponse, + ListPurchasableSkusRequest, + ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse> listPurchasableSkusSettings() { return listPurchasableSkusSettings; @@ -2959,7 +3006,8 @@ public UnaryCallSettings.Builder lookupOfferSettings( /** Returns the builder for the settings used for calls to listPurchasableOffers. */ public PagedCallSettings.Builder< - ListPurchasableOffersRequest, ListPurchasableOffersResponse, + ListPurchasableOffersRequest, + ListPurchasableOffersResponse, ListPurchasableOffersPagedResponse> listPurchasableOffersSettings() { return listPurchasableOffersSettings; diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java index c4e892ab..fe5db08d 100644 --- a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java +++ b/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/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java rename to google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java index de9054f8..ae5dbd56 100644 --- a/owl-bot-staging/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java +++ b/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/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java b/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java rename to google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java b/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java rename to google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java b/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java rename to google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java diff --git a/owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java b/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java rename to google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java b/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java similarity index 62% rename from owl-bot-staging/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java rename to grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java index 90f87bf5..b10e767e 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java +++ b/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.
                  @@ -32,1446 +49,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.
                  @@ -1490,9 +2291,11 @@ public CloudChannelServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.Ca
                      * distributors and their indirect 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:
                  @@ -1503,12 +2306,17 @@ public static abstract class CloudChannelServiceImplBase implements io.grpc.Bind
                        * 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.
                        * Possible error codes:
                  @@ -1521,12 +2329,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.
                  @@ -1542,12 +2354,18 @@ public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request,
                        * 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 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.
                  @@ -1561,12 +2379,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.
                  @@ -1579,12 +2401,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:
                  @@ -1595,12 +2421,16 @@ public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest req
                        * * 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
                  @@ -1618,12 +2448,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.
                  @@ -1644,12 +2478,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.
                        * Possible error codes:
                  @@ -1659,12 +2497,17 @@ public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIde
                        * 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.
                  @@ -1682,12 +2525,17 @@ public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest
                        * 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.
                  @@ -1705,12 +2553,17 @@ public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSku
                        * 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.
                        * Possible error codes:
                  @@ -1721,12 +2574,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:
                  @@ -1762,12 +2619,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
                  @@ -1789,12 +2650,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
                  @@ -1816,12 +2681,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
                  @@ -1841,12 +2710,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
                  @@ -1869,12 +2742,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.
                  @@ -1894,12 +2771,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.
                  @@ -1924,12 +2805,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.
                  @@ -1955,12 +2840,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:
                  @@ -1989,12 +2878,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:
                  @@ -2023,12 +2916,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.
                  @@ -2040,12 +2937,17 @@ public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEnt
                        * 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.
                        * You must be a distributor to call this method.
                  @@ -2059,12 +2961,17 @@ public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartn
                        * 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.
                  @@ -2087,12 +2994,17 @@ public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerL
                        * 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.
                  @@ -2114,12 +3026,17 @@ public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPa
                        * 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.
                  @@ -2134,12 +3051,17 @@ public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPa
                        * 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.
                  @@ -2160,12 +3082,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
                  @@ -2201,12 +3129,17 @@ public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustome
                        * 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
                  @@ -2233,12 +3166,17 @@ public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCust
                        * 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
                  @@ -2253,12 +3191,16 @@ public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCust
                        * 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.
                  @@ -2273,12 +3215,17 @@ public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCust
                        * 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.
                  @@ -2298,12 +3245,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
                  @@ -2338,12 +3291,17 @@ public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListC
                        * 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
                  @@ -2370,12 +3328,17 @@ public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Crea
                        * 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
                  @@ -2390,12 +3353,16 @@ public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Upda
                        * 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:
                  @@ -2406,48 +3373,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
                  @@ -2457,12 +3441,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.
                  @@ -2472,12 +3461,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
                  @@ -2495,12 +3489,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
                  @@ -2522,12 +3521,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.
                  @@ -2545,333 +3549,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.
                  @@ -2890,9 +3880,9 @@ public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest r
                      * 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); } @@ -2903,6 +3893,8 @@ protected CloudChannelServiceStub build( } /** + * + * *
                        * List [Customer][google.cloud.channel.v1.Customer]s.
                        * Possible error codes:
                  @@ -2913,13 +3905,19 @@ protected CloudChannelServiceStub build(
                        * 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.
                        * Possible error codes:
                  @@ -2932,13 +3930,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.
                  @@ -2954,13 +3957,20 @@ public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request,
                        * 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 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.
                  @@ -2974,13 +3984,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.
                  @@ -2993,13 +4008,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:
                  @@ -3010,13 +4030,18 @@ public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest req
                        * * 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
                  @@ -3034,13 +4059,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.
                  @@ -3061,13 +4091,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.
                        * Possible error codes:
                  @@ -3077,13 +4112,19 @@ public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIde
                        * 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.
                  @@ -3101,13 +4142,19 @@ public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest
                        * 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.
                  @@ -3125,13 +4172,19 @@ public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSku
                        * 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.
                        * Possible error codes:
                  @@ -3142,13 +4195,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:
                  @@ -3184,13 +4242,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
                  @@ -3212,13 +4275,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
                  @@ -3240,13 +4308,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
                  @@ -3266,13 +4339,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
                  @@ -3295,13 +4373,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.
                  @@ -3321,13 +4404,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.
                  @@ -3352,13 +4440,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.
                  @@ -3384,13 +4477,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:
                  @@ -3419,13 +4517,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:
                  @@ -3454,13 +4557,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.
                  @@ -3472,13 +4580,19 @@ public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEnt
                        * 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.
                        * You must be a distributor to call this method.
                  @@ -3492,13 +4606,19 @@ public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartn
                        * 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.
                  @@ -3521,13 +4641,19 @@ public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerL
                        * 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.
                  @@ -3549,13 +4675,19 @@ public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPa
                        * 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.
                  @@ -3570,13 +4702,19 @@ public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPa
                        * 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.
                  @@ -3597,13 +4735,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
                  @@ -3639,13 +4784,19 @@ public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustome
                        * 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
                  @@ -3672,13 +4823,19 @@ public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCust
                        * 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
                  @@ -3693,13 +4850,18 @@ public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCust
                        * 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.
                  @@ -3714,13 +4876,19 @@ public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCust
                        * 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.
                  @@ -3740,13 +4908,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
                  @@ -3781,13 +4956,19 @@ public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListC
                        * 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
                  @@ -3814,13 +4995,19 @@ public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Crea
                        * 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
                  @@ -3835,13 +5022,18 @@ public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Upda
                        * 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:
                  @@ -3852,52 +5044,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
                  @@ -3907,13 +5118,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.
                  @@ -3923,13 +5140,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
                  @@ -3947,13 +5170,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
                  @@ -3975,13 +5204,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.
                  @@ -3999,14 +5234,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.
                  @@ -4025,7 +5266,8 @@ public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest r
                      * 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); @@ -4038,6 +5280,8 @@ protected CloudChannelServiceBlockingStub build( } /** + * + * *
                        * List [Customer][google.cloud.channel.v1.Customer]s.
                        * Possible error codes:
                  @@ -4048,12 +5292,15 @@ protected CloudChannelServiceBlockingStub build(
                        * 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.
                        * Possible error codes:
                  @@ -4066,12 +5313,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.
                  @@ -4087,12 +5337,16 @@ public com.google.cloud.channel.v1.Customer getCustomer(com.google.cloud.channel
                        * 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.
                  @@ -4106,12 +5360,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.
                  @@ -4124,12 +5381,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:
                  @@ -4140,12 +5400,15 @@ public com.google.cloud.channel.v1.Customer updateCustomer(com.google.cloud.chan
                        * * 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
                  @@ -4163,12 +5426,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.
                  @@ -4189,12 +5455,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.
                        * Possible error codes:
                  @@ -4204,12 +5473,15 @@ public com.google.longrunning.Operation provisionCloudIdentity(com.google.cloud.
                        * 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.
                  @@ -4227,12 +5499,15 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(com
                        * 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.
                  @@ -4250,12 +5525,15 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferable
                        * 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.
                        * Possible error codes:
                  @@ -4266,12 +5544,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:
                  @@ -4307,12 +5588,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
                  @@ -4334,12 +5618,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
                  @@ -4361,12 +5648,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
                  @@ -4386,12 +5676,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
                  @@ -4414,12 +5707,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.
                  @@ -4439,12 +5735,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.
                  @@ -4469,12 +5768,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.
                  @@ -4500,12 +5802,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:
                  @@ -4534,12 +5839,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:
                  @@ -4568,12 +5876,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.
                  @@ -4585,12 +5896,15 @@ public com.google.longrunning.Operation transferEntitlementsToGoogle(com.google.
                        * 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.
                        * You must be a distributor to call this method.
                  @@ -4604,12 +5918,15 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPa
                        * 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.
                  @@ -4632,12 +5949,15 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(com.
                        * 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.
                  @@ -4659,12 +5979,15 @@ public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(c
                        * 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.
                  @@ -4679,12 +6002,15 @@ public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink(c
                        * 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.
                  @@ -4705,12 +6031,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
                  @@ -4746,12 +6076,15 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse listCust
                        * 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
                  @@ -4778,12 +6111,15 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerReprici
                        * 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
                  @@ -4798,12 +6134,15 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerReprici
                        * 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.
                  @@ -4818,12 +6157,16 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(com.google.cloud.
                        * 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.
                  @@ -4843,12 +6186,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
                  @@ -4883,12 +6230,16 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse li
                        * 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
                  @@ -4915,12 +6266,16 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig createChannelPa
                        * 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
                  @@ -4935,12 +6290,15 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig updateChannelPa
                        * 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:
                  @@ -4951,48 +6309,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
                  @@ -5002,12 +6372,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.
                  @@ -5017,12 +6390,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
                  @@ -5040,12 +6416,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
                  @@ -5067,12 +6446,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.
                  @@ -5090,13 +6472,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.
                  @@ -5115,7 +6500,8 @@ public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(com.g
                      * 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); @@ -5128,6 +6514,8 @@ protected CloudChannelServiceFutureStub build( } /** + * + * *
                        * List [Customer][google.cloud.channel.v1.Customer]s.
                        * Possible error codes:
                  @@ -5138,13 +6526,16 @@ protected CloudChannelServiceFutureStub build(
                        * 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 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.
                        * Possible error codes:
                  @@ -5157,13 +6548,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.
                  @@ -5179,13 +6572,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.
                  @@ -5199,13 +6597,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.
                  @@ -5218,13 +6618,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:
                  @@ -5235,13 +6637,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 TransferEntitlements call. If a
                  @@ -5259,13 +6663,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.
                  @@ -5286,13 +6692,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.
                        * Possible error codes:
                  @@ -5302,13 +6710,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.
                  @@ -5326,13 +6737,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.
                  @@ -5350,13 +6764,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.
                        * Possible error codes:
                  @@ -5367,13 +6784,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:
                  @@ -5409,13 +6829,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
                  @@ -5437,13 +6859,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
                  @@ -5465,13 +6889,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
                  @@ -5491,13 +6917,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
                  @@ -5520,13 +6948,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.
                  @@ -5546,13 +6976,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.
                  @@ -5577,13 +7009,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.
                  @@ -5609,13 +7043,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:
                  @@ -5644,13 +7080,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:
                  @@ -5679,13 +7117,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.
                  @@ -5697,13 +7138,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.
                        * You must be a distributor to call this method.
                  @@ -5717,13 +7162,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.
                  @@ -5746,13 +7194,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.
                  @@ -5774,13 +7226,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.
                  @@ -5795,13 +7251,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.
                  @@ -5822,13 +7282,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
                  @@ -5864,13 +7328,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
                  @@ -5897,13 +7366,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] permanently. You can only
                        * delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set
                  @@ -5918,13 +7392,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.
                  @@ -5939,13 +7417,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.
                  @@ -5965,13 +7448,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
                  @@ -6006,13 +7494,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
                  @@ -6039,13 +7532,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] permanently. You can
                        * only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is
                  @@ -6060,13 +7558,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:
                  @@ -6077,52 +7579,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
                  @@ -6132,13 +7645,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.
                  @@ -6148,13 +7664,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
                  @@ -6172,13 +7691,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
                  @@ -6200,13 +7722,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.
                  @@ -6224,8 +7749,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);
                       }
                  @@ -6277,11 +7803,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;
                   
                  @@ -6295,184 +7821,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();
                  @@ -6490,8 +8098,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
                  @@ -6533,54 +8142,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java
                  deleted file mode 100644
                  index 9f20fa88..00000000
                  --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java
                  deleted file mode 100644
                  index 0c40efe8..00000000
                  --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java deleted file mode 100644 index d32b91cb..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 09d68544..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,58 +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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java deleted file mode 100644 index dab07b01..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 9774090c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.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 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 027220ff..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java deleted file mode 100644 index a7b6bdb9..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java deleted file mode 100644 index 97c98cfc..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index b170d765..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 44e5ca26..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java deleted file mode 100644 index cc717e8f..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java deleted file mode 100644 index deac0b56..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java deleted file mode 100644 index 09154c38..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java deleted file mode 100644 index 4be096f3..00000000 --- a/owl-bot-staging/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\"\251\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:I\352AF\n!cloudchannel." + - "googleapis.com/Offer\022!accounts/{account}" + - "/offers/{offer}\"\373\002\n\023ParameterDefinition\022" + - "\014\n\004name\030\001 \001(\t\022R\n\016parameter_type\030\002 \001(\0162:." + - "google.cloud.channel.v1.ParameterDefinit" + - "ion.ParameterType\0221\n\tmin_value\030\003 \001(\0132\036.g" + - "oogle.cloud.channel.v1.Value\0221\n\tmax_valu" + - "e\030\004 \001(\0132\036.google.cloud.channel.v1.Value\022" + - "6\n\016allowed_values\030\005 \003(\0132\036.google.cloud.c" + - "hannel.v1.Value\022\020\n\010optional\030\006 \001(\010\"R\n\rPar" + - "ameterType\022\036\n\032PARAMETER_TYPE_UNSPECIFIED" + - "\020\000\022\t\n\005INT64\020\001\022\n\n\006STRING\020\002\022\n\n\006DOUBLE\020\003\"Y\n" + - "\013Constraints\022J\n\024customer_constraints\030\001 \001" + - "(\0132,.google.cloud.channel.v1.CustomerCon" + - "straints\"\327\001\n\023CustomerConstraints\022\027\n\017allo" + - "wed_regions\030\001 \003(\t\022W\n\026allowed_customer_ty" + - "pes\030\002 \003(\01627.google.cloud.channel.v1.Clou" + - "dIdentityInfo.CustomerType\022N\n\027promotiona" + - "l_order_types\030\003 \003(\0162-.google.cloud.chann" + - "el.v1.PromotionalOrderType\"\206\002\n\004Plan\022:\n\014p" + - "ayment_plan\030\001 \001(\0162$.google.cloud.channel" + - ".v1.PaymentPlan\022:\n\014payment_type\030\002 \001(\0162$." + - "google.cloud.channel.v1.PaymentType\0226\n\rp" + - "ayment_cycle\030\003 \001(\0132\037.google.cloud.channe" + - "l.v1.Period\0225\n\014trial_period\030\004 \001(\0132\037.goog" + - "le.cloud.channel.v1.Period\022\027\n\017billing_ac" + - "count\030\005 \001(\t\"\271\001\n\017PriceByResource\022<\n\rresou" + - "rce_type\030\001 \001(\0162%.google.cloud.channel.v1" + - ".ResourceType\022-\n\005price\030\002 \001(\0132\036.google.cl" + - "oud.channel.v1.Price\0229\n\014price_phases\030\003 \003" + - "(\0132#.google.cloud.channel.v1.PricePhase\"" + - "\212\001\n\005Price\022&\n\nbase_price\030\001 \001(\0132\022.google.t" + - "ype.Money\022\020\n\010discount\030\002 \001(\001\022+\n\017effective" + - "_price\030\003 \001(\0132\022.google.type.Money\022\032\n\022exte" + - "rnal_price_uri\030\004 \001(\t\"\331\001\n\nPricePhase\0228\n\013p" + - "eriod_type\030\001 \001(\0162#.google.cloud.channel." + - "v1.PeriodType\022\024\n\014first_period\030\002 \001(\005\022\023\n\013l" + - "ast_period\030\003 \001(\005\022-\n\005price\030\004 \001(\0132\036.google" + - ".cloud.channel.v1.Price\0227\n\013price_tiers\030\005" + - " \003(\0132\".google.cloud.channel.v1.PriceTier" + - "\"i\n\tPriceTier\022\026\n\016first_resource\030\001 \001(\005\022\025\n" + - "\rlast_resource\030\002 \001(\005\022-\n\005price\030\003 \001(\0132\036.go" + - "ogle.cloud.channel.v1.Price\"T\n\006Period\022\020\n" + - "\010duration\030\001 \001(\005\0228\n\013period_type\030\002 \001(\0162#.g" + - "oogle.cloud.channel.v1.PeriodType*m\n\024Pro" + - "motionalOrderType\022 \n\034PROMOTIONAL_TYPE_UN" + - "SPECIFIED\020\000\022\017\n\013NEW_UPGRADE\020\001\022\014\n\010TRANSFER" + - "\020\002\022\024\n\020PROMOTION_SWITCH\020\003*k\n\013PaymentPlan\022" + - "\034\n\030PAYMENT_PLAN_UNSPECIFIED\020\000\022\016\n\nCOMMITM" + - "ENT\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\013PaymentType\022\034\n\030PAYMENT_" + - "TYPE_UNSPECIFIED\020\000\022\n\n\006PREPAY\020\001\022\013\n\007POSTPA" + - "Y\020\002*\212\001\n\014ResourceType\022\035\n\031RESOURCE_TYPE_UN" + - "SPECIFIED\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\007MINUTES\020\005\022\016\n\nIAAS_U" + - "SAGE\020\006\022\020\n\014SUBSCRIPTION\020\007*G\n\nPeriodType\022\033" + - "\n\027PERIOD_TYPE_UNSPECIFIED\020\000\022\007\n\003DAY\020\001\022\t\n\005" + - "MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033com.google.cloud.ch" + - "annel.v1B\013OffersProtoP\001Z>google.golang.o" + - "rg/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.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", }); - 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java deleted file mode 100644 index 728e1686..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java deleted file mode 100644 index 5bc6db7a..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java deleted file mode 100644 index 8180179d..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java deleted file mode 100644 index 69f9a7f3..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java +++ /dev/null @@ -1,175 +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; - - 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/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java deleted file mode 100644 index a6788161..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java +++ /dev/null @@ -1,1341 +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\"\333\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\022\n\nauth_token\030\005 \001(\t" + - "\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transferred_c" + - "ustomer_identity\"|\n\034ListTransferableSkus" + - "Response\022C\n\021transferable_skus\030\001 \003(\0132(.go" + - "ogle.cloud.channel.v1.TransferableSku\022\027\n" + - "\017next_page_token\030\002 \001(\t\"\333\001\n\035ListTransfera" + - "bleOffersRequest\022\033\n\021cloud_identity_id\030\004 " + - "\001(\tH\000\022\027\n\rcustomer_name\030\005 \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_t" + - "oken\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\025\n\rlanguage" + - "_code\030\007 \001(\tB\037\n\035transferred_customer_iden" + - "tity\"\202\001\n\036ListTransferableOffersResponse\022" + - "G\n\023transferable_offers\030\001 \003(\0132*.google.cl" + - "oud.channel.v1.TransferableOffer\022\027\n\017next" + - "_page_token\030\002 \001(\t\"B\n\021TransferableOffer\022-" + - "\n\005offer\030\001 \001(\0132\036.google.cloud.channel.v1." + - "Offer\"V\n\025GetEntitlementRequest\022=\n\004name\030\001" + - " \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis.co" + - "m/Entitlement\"\252\001\n\036ListChannelPartnerLink" + - "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\022B" + - "\n\004view\030\004 \001(\0162/.google.cloud.channel.v1.C" + - "hannelPartnerLinkViewB\003\340A\001\"\206\001\n\037ListChann" + - "elPartnerLinksResponse\022J\n\025channel_partne" + - "r_links\030\001 \003(\0132+.google.cloud.channel.v1." + - "ChannelPartnerLink\022\027\n\017next_page_token\030\002 " + - "\001(\t\"u\n\034GetChannelPartnerLinkRequest\022\021\n\004n" + - "ame\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/.google.cl" + - "oud.channel.v1.ChannelPartnerLinkViewB\003\340" + - "A\001\"\206\001\n\037CreateChannelPartnerLinkRequest\022\023" + - "\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel_partner_l" + - "ink\030\002 \001(\0132+.google.cloud.channel.v1.Chan" + - "nelPartnerLinkB\003\340A\002\"\272\001\n\037UpdateChannelPar" + - "tnerLinkRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022N\n\024ch" + - "annel_partner_link\030\002 \001(\0132+.google.cloud." + - "channel.v1.ChannelPartnerLinkB\003\340A\002\0224\n\013up" + - "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" + - "askB\003\340A\002\"n\n!GetCustomerRepricingConfigRe" + - "quest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudchanne" + - "l.googleapis.com/CustomerRepricingConfig" + - "\"\251\001\n#ListCustomerRepricingConfigsRequest" + - "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.g" + - "oogleapis.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\006filte" + - "r\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerRepricingCo" + - "nfigsResponse\022T\n\032customer_repricing_conf" + - "igs\030\001 \003(\01320.google.cloud.channel.v1.Cust" + - "omerRepricingConfig\022\027\n\017next_page_token\030\002" + - " \001(\t\"\276\001\n$CreateCustomerRepricingConfigRe" + - "quest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchan" + - "nel.googleapis.com/Customer\022X\n\031customer_" + - "repricing_config\030\002 \001(\01320.google.cloud.ch" + - "annel.v1.CustomerRepricingConfigB\003\340A\002\"\200\001" + - "\n$UpdateCustomerRepricingConfigRequest\022X" + - "\n\031customer_repricing_config\030\001 \001(\01320.goog" + - "le.cloud.channel.v1.CustomerRepricingCon" + - "figB\003\340A\002\"q\n$DeleteCustomerRepricingConfi" + - "gRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudcha" + - "nnel.googleapis.com/CustomerRepricingCon" + - "fig\"z\n\'GetChannelPartnerRepricingConfigR" + - "equest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9cloudchann" + - "el.googleapis.com/ChannelPartnerRepricin" + - "gConfig\"\271\001\n)ListChannelPartnerRepricingC" + - "onfigsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" + - "loudchannel.googleapis.com/ChannelPartne" + - "rLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to" + - "ken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\250\001\n*" + - "ListChannelPartnerRepricingConfigsRespon" + - "se\022a\n!channel_partner_repricing_configs\030" + - "\001 \003(\01326.google.cloud.channel.v1.ChannelP" + - "artnerRepricingConfig\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\333\001\n*CreateChannelPartnerRepricing" + - "ConfigRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" + - "loudchannel.googleapis.com/ChannelPartne" + - "rLink\022e\n channel_partner_repricing_confi" + - "g\030\002 \001(\01326.google.cloud.channel.v1.Channe" + - "lPartnerRepricingConfigB\003\340A\002\"\223\001\n*UpdateC" + - "hannelPartnerRepricingConfigRequest\022e\n c" + - "hannel_partner_repricing_config\030\001 \001(\01326." + - "google.cloud.channel.v1.ChannelPartnerRe" + - "pricingConfigB\003\340A\002\"}\n*DeleteChannelPartn" + - "erRepricingConfigRequest\022O\n\004name\030\001 \001(\tBA" + - "\340A\002\372A;\n9cloudchannel.googleapis.com/Chan" + - "nelPartnerRepricingConfig\"\261\001\n\030CreateEnti" + - "tlementRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$" + - "cloudchannel.googleapis.com/Customer\022>\n\013" + - "entitlement\030\002 \001(\0132$.google.cloud.channel" + - ".v1.EntitlementB\003\340A\002\022\027\n\nrequest_id\030\005 \001(\t" + - "B\003\340A\001\"\240\001\n\033TransferEntitlementsRequest\022\023\n" + - "\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\013" + - "2$.google.cloud.channel.v1.EntitlementB\003" + - "\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nrequest_id\030\006 " + - "\001(\tB\003\340A\001\"Z\n\034TransferEntitlementsResponse" + - "\022:\n\014entitlements\030\001 \003(\0132$.google.cloud.ch" + - "annel.v1.Entitlement\"\224\001\n#TransferEntitle" + - "mentsToGoogleRequest\022\023\n\006parent\030\001 \001(\tB\003\340A" + - "\002\022?\n\014entitlements\030\002 \003(\0132$.google.cloud.c" + - "hannel.v1.EntitlementB\003\340A\002\022\027\n\nrequest_id" + - "\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParametersRequest\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparameters\030\002 \003(\0132\"" + - ".google.cloud.channel.v1.ParameterB\003\340A\002\022" + - "\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021purchase_ord" + - "er_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRenewalSettin" + - "gsRequest\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\nrequest_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!cloudch" + - "annel.googleapis.com/Offer\022;\n\nparameters" + - "\030\003 \003(\0132\".google.cloud.channel.v1.Paramet" + - "erB\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\027StartPaidSer" + - "viceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nreques" + - "t_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntitlementRequ" + - "est\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001" + - "(\tB\003\340A\001\"G\n\031SuspendEntitlementRequest\022\021\n\004" + - "name\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\022Lo" + - "okupOfferRequest\022D\n\013entitlement\030\001 \001(\tB/\340" + - "A\002\372A)\n\'cloudchannel.googleapis.com/Entit" + - "lement\"x\n\023ListProductsRequest\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\np" + - "age_token\030\003 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\004 " + - "\001(\tB\003\340A\001\"c\n\024ListProductsResponse\0222\n\010prod" + - "ucts\030\001 \003(\0132 .google.cloud.channel.v1.Pro" + - "duct\022\027\n\017next_page_token\030\002 \001(\t\"\261\001\n\017ListSk" + - "usRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\n#cloud" + - "channel.googleapis.com/Product\022\024\n\007accoun" + - "t\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n" + - "page_token\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_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\017nex" + - "t_page_token\030\002 \001(\t\"\212\001\n\021ListOffersRequest" + - "\022\023\n\006parent\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\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\006offers\030\001 \003(\0132\036." + - "google.cloud.channel.v1.Offer\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"\266\005\n\032ListPurchasableSkusRe" + - "quest\022t\n\033create_entitlement_purchase\030\002 \001" + - "(\0132M.google.cloud.channel.v1.ListPurchas" + - "ableSkusRequest.CreateEntitlementPurchas" + - "eH\000\022h\n\025change_offer_purchase\030\003 \001(\0132G.goo" + - "gle.cloud.channel.v1.ListPurchasableSkus" + - "Request.ChangeOfferPurchaseH\000\022>\n\010custome" + - "r\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\rlanguage_code\030" + - "\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlementPurchase\022" + - "\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023ChangeOfferPur" + - "chase\022\030\n\013entitlement\030\001 \001(\tB\003\340A\002\022l\n\013chang" + - "e_type\030\002 \001(\0162R.google.cloud.channel.v1.L" + - "istPurchasableSkusRequest.ChangeOfferPur" + - "chase.ChangeTypeB\003\340A\002\"E\n\nChangeType\022\033\n\027C" + - "HANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UPGRADE\020\001\022\r\n" + - "\tDOWNGRADE\020\002B\021\n\017purchase_option\"y\n\033ListP" + - "urchasableSkusResponse\022A\n\020purchasable_sk" + - "us\030\001 \003(\0132\'.google.cloud.channel.v1.Purch" + - "asableSku\022\027\n\017next_page_token\030\002 \001(\t\";\n\016Pu" + - "rchasableSku\022)\n\003sku\030\001 \001(\0132\034.google.cloud" + - ".channel.v1.Sku\"\230\004\n\034ListPurchasableOffer" + - "sRequest\022v\n\033create_entitlement_purchase\030" + - "\002 \001(\0132O.google.cloud.channel.v1.ListPurc" + - "hasableOffersRequest.CreateEntitlementPu" + - "rchaseH\000\022j\n\025change_offer_purchase\030\003 \001(\0132" + - "I.google.cloud.channel.v1.ListPurchasabl" + - "eOffersRequest.ChangeOfferPurchaseH\000\022>\n\010" + - "customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.goo" + - "gleapis.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\rlanguag" + - "e_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEntitlementPu" + - "rchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023ChangeOfferP" + - "urchase\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_option\"\177\n\035Li" + - "stPurchasableOffersResponse\022E\n\022purchasab" + - "le_offers\030\001 \003(\0132).google.cloud.channel.v" + - "1.PurchasableOffer\022\027\n\017next_page_token\030\002 " + - "\001(\t\"A\n\020PurchasableOffer\022-\n\005offer\030\001 \001(\0132\036" + - ".google.cloud.channel.v1.Offer\"O\n\031Regist" + - "erSubscriberRequest\022\024\n\007account\030\001 \001(\tB\003\340A" + - "\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"+\n\032Regis" + - "terSubscriberResponse\022\r\n\005topic\030\001 \001(\t\"Q\n\033" + - "UnregisterSubscriberRequest\022\024\n\007account\030\001" + - " \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"" + - "-\n\034UnregisterSubscriberResponse\022\r\n\005topic" + - "\030\001 \001(\t\"_\n\026ListSubscribersRequest\022\024\n\007acco" + - "unt\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\027ListSubscribe" + - "rsResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020service_acc" + - "ounts\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t2\371K\n" + - "\023CloudChannelService\022\324\001\n\rListCustomers\022-" + - ".google.cloud.channel.v1.ListCustomersRe" + - "quest\032..google.cloud.channel.v1.ListCust" + - "omersResponse\"d\202\323\344\223\002^\022!/v1/{parent=accou" + - "nts/*}/customersZ9\0227/v1/{parent=accounts" + - "/*/channelPartnerLinks/*}/customers\022\312\001\n\013" + - "GetCustomer\022+.google.cloud.channel.v1.Ge" + - "tCustomerRequest\032!.google.cloud.channel." + - "v1.Customer\"k\202\323\344\223\002^\022!/v1/{name=accounts/" + - "*/customers/*}Z9\0227/v1/{name=accounts/*/c" + - "hannelPartnerLinks/*/customers/*}\332A\004name" + - "\022\350\001\n\037CheckCloudIdentityAccountsExist\022?.g" + - "oogle.cloud.channel.v1.CheckCloudIdentit" + - "yAccountsExistRequest\032@.google.cloud.cha" + - "nnel.v1.CheckCloudIdentityAccountsExistR" + - "esponse\"B\202\323\344\223\002<\"7/v1/{parent=accounts/*}" + - ":checkCloudIdentityAccountsExist:\001*\022\335\001\n\016" + - "CreateCustomer\022..google.cloud.channel.v1" + - ".CreateCustomerRequest\032!.google.cloud.ch" + - "annel.v1.Customer\"x\202\323\344\223\002r\"!/v1/{parent=a" + - "ccounts/*}/customers:\010customerZC\"7/v1/{p" + - "arent=accounts/*/channelPartnerLinks/*}/" + - "customers:\010customer\022\361\001\n\016UpdateCustomer\022." + - ".google.cloud.channel.v1.UpdateCustomerR" + - "equest\032!.google.cloud.channel.v1.Custome" + - "r\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.name=accounts" + - "/*/customers/*}:\010customerZL2@/v1/{custom" + - "er.name=accounts/*/channelPartnerLinks/*" + - "/customers/*}:\010customer\022\305\001\n\016DeleteCustom" + - "er\022..google.cloud.channel.v1.DeleteCusto" + - "merRequest\032\026.google.protobuf.Empty\"k\202\323\344\223" + - "\002^*!/v1/{name=accounts/*/customers/*}Z9*" + - "7/v1/{name=accounts/*/channelPartnerLink" + - "s/*/customers/*}\332A\004name\022\335\001\n\016ImportCustom" + - "er\022..google.cloud.channel.v1.ImportCusto" + - "merRequest\032!.google.cloud.channel.v1.Cus" + - "tomer\"x\202\323\344\223\002r\"(/v1/{parent=accounts/*}/c" + - "ustomers:import:\001*ZC\">/v1/{parent=accoun" + - "ts/*/channelPartnerLinks/*}/customers:im" + - "port:\001*\022\330\001\n\026ProvisionCloudIdentity\0226.goo" + - "gle.cloud.channel.v1.ProvisionCloudIdent" + - "ityRequest\032\035.google.longrunning.Operatio" + - "n\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/customers/*/ent" + - "itlements/*}:activate:\001*\312A \n\013Entitlement" + - "\022\021OperationMetadata\022\344\001\n\024TransferEntitlem" + - "ents\0224.google.cloud.channel.v1.TransferE" + - "ntitlementsRequest\032\035.google.longrunning." + - "Operation\"w\202\323\344\223\002=\"8/v1/{parent=accounts/" + - "*/customers/*}:transferEntitlements:\001*\312A" + - "1\n\034TransferEntitlementsResponse\022\021Operati" + - "onMetadata\022\365\001\n\034TransferEntitlementsToGoo" + - "gle\022<.google.cloud.channel.v1.TransferEn" + - "titlementsToGoogleRequest\032\035.google.longr" + - "unning.Operation\"x\202\323\344\223\002E\"@/v1/{parent=ac" + - "counts/*/customers/*}:transferEntitlemen" + - "tsToGoogle:\001*\312A*\n\025google.protobuf.Empty\022" + - "\021OperationMetadata\022\301\001\n\027ListChannelPartne" + - "rLinks\0227.google.cloud.channel.v1.ListCha" + - "nnelPartnerLinksRequest\0328.google.cloud.c" + - "hannel.v1.ListChannelPartnerLinksRespons" + - "e\"3\202\323\344\223\002-\022+/v1/{parent=accounts/*}/chann" + - "elPartnerLinks\022\260\001\n\025GetChannelPartnerLink" + - "\0225.google.cloud.channel.v1.GetChannelPar" + - "tnerLinkRequest\032+.google.cloud.channel.v" + - "1.ChannelPartnerLink\"3\202\323\344\223\002-\022+/v1/{name=" + - "accounts/*/channelPartnerLinks/*}\022\314\001\n\030Cr" + - "eateChannelPartnerLink\0228.google.cloud.ch" + - "annel.v1.CreateChannelPartnerLinkRequest" + - "\032+.google.cloud.channel.v1.ChannelPartne" + - "rLink\"I\202\323\344\223\002C\"+/v1/{parent=accounts/*}/c" + - "hannelPartnerLinks:\024channel_partner_link" + - "\022\271\001\n\030UpdateChannelPartnerLink\0228.google.c" + - "loud.channel.v1.UpdateChannelPartnerLink" + - "Request\032+.google.cloud.channel.v1.Channe" + - "lPartnerLink\"6\202\323\344\223\00202+/v1/{name=accounts" + - "/*/channelPartnerLinks/*}:\001*\022\327\001\n\032GetCust" + - "omerRepricingConfig\022:.google.cloud.chann" + - "el.v1.GetCustomerRepricingConfigRequest\032" + - "0.google.cloud.channel.v1.CustomerRepric" + - "ingConfig\"K\202\323\344\223\002>\022\022*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.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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java deleted file mode 100644 index 90d64d29..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java deleted file mode 100644 index 6c5cf4f8..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 7c766a8a..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index bb5ff652..00000000 --- a/owl-bot-staging/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/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java index 5640fccb..b10cf49a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ActivateEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ActivateEntitlementRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private ActivateEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -110,6 +133,7 @@ private ActivateEntitlementRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -118,14 +142,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:
                  @@ -133,16 +158,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 { @@ -153,6 +177,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 complete.
                  @@ -166,6 +192,7 @@ public java.lang.String getName() {
                      * 
                  * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +201,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 complete.
                  @@ -195,16 +223,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 { @@ -213,6 +240,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -255,17 +282,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +313,127 @@ 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].
                      * 
                  * * 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() @@ -405,16 +441,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +461,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 @@ -447,7 +482,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(); @@ -458,38 +494,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; @@ -497,7 +534,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(); @@ -525,7 +563,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ActivateEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ActivateEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,6 +576,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
                        * Required. The resource name of the entitlement to activate.
                        * Name uses the format:
                  @@ -544,13 +585,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; @@ -559,6 +600,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to activate.
                        * Name uses the format:
                  @@ -566,15 +609,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 { @@ -582,6 +624,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to activate.
                        * Name uses the format:
                  @@ -589,20 +633,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:
                  @@ -610,15 +656,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:
                  @@ -626,16 +675,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; @@ -643,6 +692,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 complete.
                  @@ -656,13 +707,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; @@ -671,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 complete.
                  @@ -684,15 +737,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 { @@ -700,6 +752,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 complete.
                  @@ -713,20 +767,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 complete.
                  @@ -740,15 +796,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 complete.
                  @@ -762,23 +821,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); } @@ -788,12 +847,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(); } @@ -802,16 +861,16 @@ 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 { - return new ActivateEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new ActivateEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +885,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ActivateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java index b35f1430..e8d2133a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java +++ b/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 complete.
                  @@ -45,10 +68,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 complete.
                  @@ -62,8 +88,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java index 7a909bc4..72e24cb8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java +++ b/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,16 +45,15 @@ 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; } + private AdminUser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private AdminUser( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - email_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - givenName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + givenName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - familyName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + familyName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,39 @@ private AdminUser( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -123,29 +148,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 { @@ -156,11 +181,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 @@ -169,29 +197,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 { @@ -202,11 +230,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 @@ -215,29 +246,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 { @@ -246,6 +277,7 @@ public java.lang.String getFamilyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -294,19 +325,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,118 +357,126 @@ 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() @@ -448,16 +484,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +506,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 @@ -492,7 +527,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_; @@ -504,38 +540,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; @@ -587,18 +624,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; @@ -607,20 +646,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 { @@ -628,54 +668,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; @@ -683,18 +730,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; @@ -703,20 +752,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 { @@ -724,54 +774,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; @@ -779,18 +836,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; @@ -799,20 +858,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 { @@ -820,61 +880,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); } @@ -884,12 +951,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(); } @@ -898,16 +965,16 @@ 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 { - return new AdminUser(input, extensionRegistry); - } - }; + 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 { + return new AdminUser(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +989,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AdminUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java index 3ab38301..21dbdf69 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java index f3476d6f..e73db301 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private AssociationInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AssociationInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - baseEntitlement_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + baseEntitlement_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AssociationInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getBaseEntitlement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -176,15 +199,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,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 @@ -362,7 +393,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; @@ -372,38 +404,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; @@ -447,18 +480,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; @@ -467,20 +502,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 { @@ -488,61 +524,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); } @@ -552,12 +595,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(); } @@ -566,16 +609,16 @@ 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 { - return new AssociationInfo(input, extensionRegistry); - } - }; + 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 { + return new AssociationInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AssociationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java index 4d864eb1..ca35368d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java index 32c41101..e1437b74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private CancelEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CancelEntitlementRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private CancelEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -110,6 +133,7 @@ private CancelEntitlementRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -118,14 +142,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:
                  @@ -133,16 +158,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 { @@ -153,6 +177,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 complete.
                  @@ -166,6 +192,7 @@ public java.lang.String getName() {
                      * 
                  * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +201,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 complete.
                  @@ -195,16 +223,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 { @@ -213,6 +240,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -255,17 +282,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +313,126 @@ 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].
                      * 
                  * * 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() @@ -405,16 +440,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +460,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 @@ -447,7 +481,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(); @@ -458,38 +493,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; @@ -497,7 +533,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(); @@ -525,7 +562,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CancelEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CancelEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,6 +575,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
                        * Required. The resource name of the entitlement to cancel.
                        * Name uses the format:
                  @@ -544,13 +584,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; @@ -559,6 +599,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to cancel.
                        * Name uses the format:
                  @@ -566,15 +608,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 { @@ -582,6 +623,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to cancel.
                        * Name uses the format:
                  @@ -589,20 +632,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:
                  @@ -610,15 +655,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:
                  @@ -626,16 +674,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; @@ -643,6 +691,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 complete.
                  @@ -656,13 +706,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; @@ -671,6 +721,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 complete.
                  @@ -684,15 +736,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 { @@ -700,6 +751,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 complete.
                  @@ -713,20 +766,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 complete.
                  @@ -740,15 +795,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 complete.
                  @@ -762,23 +820,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); } @@ -788,12 +846,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(); } @@ -802,16 +860,16 @@ 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 { - return new CancelEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +884,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CancelEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java index 2d98f0f5..ae34aa4a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java +++ b/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 complete.
                  @@ -45,10 +68,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 complete.
                  @@ -62,8 +88,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java index 5df33da4..4f96e642 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.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.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_ = ""; @@ -29,16 +47,15 @@ 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; } + private ChangeOfferRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,46 +75,52 @@ private ChangeOfferRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - offer_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + offer_ = s; + break; } - parameters_.add( - input.readMessage(com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + parameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + parameters_.add( + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - purchaseOrderId_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + purchaseOrderId_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,8 +128,7 @@ private ChangeOfferRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -115,22 +137,27 @@ private ChangeOfferRequest( makeExtensionsImmutable(); } } - 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:
                  @@ -138,6 +165,7 @@ private ChangeOfferRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -146,14 +174,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:
                  @@ -161,16 +190,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 { @@ -181,12 +209,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 @@ -195,30 +228,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 { @@ -229,76 +264,98 @@ 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 [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.
                      * 
                  * - * 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.
                      * 
                  * - * 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.
                      * 
                  * - * 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.
                      * 
                  * - * 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 @@ -307,29 +364,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 { @@ -340,6 +397,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 complete.
                  @@ -353,6 +412,7 @@ public java.lang.String getPurchaseOrderId() {
                      * 
                  * * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -361,14 +421,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 complete.
                  @@ -382,16 +443,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 { @@ -400,6 +460,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,8 +472,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -444,8 +504,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_); @@ -461,23 +520,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -506,118 +561,127 @@ 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].
                      * 
                  * * 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() @@ -625,17 +689,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -657,9 +721,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 @@ -678,7 +742,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_; @@ -701,38 +766,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; @@ -767,9 +833,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_); } @@ -811,10 +878,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
                        * Required. The resource name of the entitlement to update.
                        * Name uses the format:
                  @@ -822,13 +892,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; @@ -837,6 +907,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to update.
                        * Name uses the format:
                  @@ -844,15 +916,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 { @@ -860,6 +931,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to update.
                        * Name uses the format:
                  @@ -867,20 +940,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:
                  @@ -888,15 +963,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:
                  @@ -904,16 +982,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; @@ -921,19 +999,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; @@ -942,21 +1024,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 { @@ -964,81 +1049,102 @@ 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 [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) { @@ -1048,12 +1154,16 @@ 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.
                        * 
                  * - * 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) { @@ -1063,12 +1173,16 @@ 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.
                        * 
                  * - * 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) { @@ -1078,15 +1192,18 @@ 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.
                        * 
                  * - * 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(); @@ -1100,12 +1217,16 @@ 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.
                        * 
                  * - * 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) { @@ -1119,12 +1240,16 @@ 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.
                        * 
                  * - * 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) { @@ -1140,15 +1265,18 @@ 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.
                        * 
                  * - * 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(); @@ -1162,15 +1290,18 @@ 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.
                        * 
                  * - * 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()); @@ -1181,12 +1312,16 @@ 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.
                        * 
                  * - * 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) { @@ -1200,19 +1335,22 @@ 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.
                        * 
                  * - * 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); @@ -1220,12 +1358,16 @@ 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.
                        * 
                  * - * 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) { @@ -1238,12 +1380,16 @@ 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.
                        * 
                  * - * 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) { @@ -1256,42 +1402,53 @@ 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.
                        * 
                  * - * 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.
                        * 
                  * - * 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.
                        * 
                  * - * 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 { @@ -1299,52 +1456,66 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( } } /** + * + * *
                        * 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.
                        * 
                  * - * 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.
                        * 
                  * - * 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_; @@ -1352,18 +1523,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; @@ -1372,20 +1545,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 { @@ -1393,54 +1567,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; @@ -1448,6 +1629,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 complete.
                  @@ -1461,13 +1644,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; @@ -1476,6 +1659,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 complete.
                  @@ -1489,15 +1674,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 { @@ -1505,6 +1689,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 complete.
                  @@ -1518,20 +1704,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 complete.
                  @@ -1545,15 +1733,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 complete.
                  @@ -1567,23 +1758,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); } @@ -1593,12 +1784,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(); } @@ -1607,16 +1798,16 @@ 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 { - return new ChangeOfferRequest(input, extensionRegistry); - } - }; + 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 { + return new ChangeOfferRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1631,6 +1822,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java index 546399d2..912a6577 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java +++ b/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,103 +47,137 @@ 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 [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.
                      * 
                  * - * 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.
                      * 
                  * - * 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.
                      * 
                  * - * 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.
                      * 
                  * - * 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.
                  @@ -136,10 +191,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 complete.
                  @@ -153,8 +211,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java index ae8c97b5..76e50661 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java +++ b/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,16 +46,15 @@ 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; } + private ChangeParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,40 +74,45 @@ private ChangeParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - parameters_.add( - input.readMessage(com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + parameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + parameters_.add( + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + requestId_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - purchaseOrderId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + purchaseOrderId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,8 +120,7 @@ private ChangeParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); @@ -108,22 +129,27 @@ private ChangeParametersRequest( makeExtensionsImmutable(); } } - 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:
                  @@ -131,6 +157,7 @@ private ChangeParametersRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -139,14 +166,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:
                  @@ -154,16 +182,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 { @@ -174,76 +201,97 @@ 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                  @@ -257,6 +305,7 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
                      * 
                  * * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -265,14 +314,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 complete.
                  @@ -286,16 +336,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 { @@ -306,11 +355,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 @@ -319,29 +371,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 { @@ -350,6 +402,7 @@ public java.lang.String getPurchaseOrderId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,8 +414,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -388,8 +440,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_); @@ -405,21 +456,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -447,117 +495,126 @@ 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() @@ -565,17 +622,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -595,9 +652,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 @@ -616,7 +673,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) { @@ -638,38 +696,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; @@ -677,7 +736,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(); @@ -700,9 +760,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_); } @@ -735,7 +796,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ChangeParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ChangeParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -744,10 +806,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
                        * Required. The name of the entitlement to update.
                        * Name uses the format:
                  @@ -755,13 +820,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; @@ -770,6 +835,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The name of the entitlement to update.
                        * Name uses the format:
                  @@ -777,15 +844,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 { @@ -793,6 +859,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The name of the entitlement to update.
                        * Name uses the format:
                  @@ -800,20 +868,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:
                  @@ -821,15 +891,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:
                  @@ -837,41 +910,49 @@ 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.
                        * 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.
                        * 
                  * - * 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) { @@ -881,13 +962,17 @@ public java.util.List getParametersList() } } /** + * + * *
                        * 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.
                        * 
                  * - * 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) { @@ -897,13 +982,17 @@ public int getParametersCount() { } } /** + * + * *
                        * 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.
                        * 
                  * - * 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) { @@ -913,16 +1002,19 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) { } } /** + * + * *
                        * 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.
                        * 
                  * - * 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(); @@ -936,13 +1028,17 @@ public Builder setParameters( return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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) { @@ -956,13 +1052,17 @@ public Builder setParameters( return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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) { @@ -978,16 +1078,19 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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(); @@ -1001,16 +1104,19 @@ public Builder addParameters( return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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()); @@ -1021,13 +1127,17 @@ public Builder addParameters( return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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) { @@ -1041,20 +1151,23 @@ public Builder addParameters( return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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); @@ -1062,13 +1175,17 @@ public Builder addAllParameters( return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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,13 +1198,17 @@ public Builder clearParameters() { return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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) { @@ -1100,45 +1221,56 @@ public Builder removeParameters(int index) { return this; } /** + * + * *
                        * 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.
                        * 
                  * - * 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.
                        * 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.
                        * 
                  * - * 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.
                        * 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.
                        * 
                  * - * 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 { @@ -1146,55 +1278,69 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( } } /** + * + * *
                        * 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.
                        * 
                  * - * 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.
                        * 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.
                        * 
                  * - * 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.
                        * 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.
                        * 
                  * - * 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_; @@ -1202,6 +1348,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 complete.
                  @@ -1215,13 +1363,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; @@ -1230,6 +1378,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 complete.
                  @@ -1243,15 +1393,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 { @@ -1259,6 +1408,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 complete.
                  @@ -1272,20 +1423,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 complete.
                  @@ -1299,15 +1452,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 complete.
                  @@ -1321,16 +1477,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; @@ -1338,18 +1494,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; @@ -1358,20 +1516,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 { @@ -1379,61 +1538,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); } @@ -1443,12 +1609,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(); } @@ -1457,16 +1623,16 @@ 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 { - return new ChangeParametersRequest(input, extensionRegistry); - } - }; + 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 { + return new ChangeParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1481,6 +1647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java index 23fbc6dd..13c07a93 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java +++ b/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,66 +47,86 @@ 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                      * 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.
                      * 
                  * - * 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.
                  @@ -99,10 +140,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 complete.
                  @@ -116,28 +160,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java index 2beb386b..e8abf684 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ChangeRenewalSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private ChangeRenewalSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 34: { - com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; - if (renewalSettings_ != null) { - subBuilder = renewalSettings_.toBuilder(); - } - renewalSettings_ = input.readMessage(com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(renewalSettings_); - renewalSettings_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 34: + { + com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; + if (renewalSettings_ != null) { + subBuilder = renewalSettings_.toBuilder(); + } + renewalSettings_ = + input.readMessage( + com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(renewalSettings_); + renewalSettings_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,29 +115,33 @@ private ChangeRenewalSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -123,6 +149,7 @@ private ChangeRenewalSettingsRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -131,14 +158,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
                      * Required. The name of the entitlement to update.
                      * Name uses the format:
                  @@ -146,16 +174,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 { @@ -166,11 +193,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 @@ -178,23 +210,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() { @@ -204,6 +247,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 complete.
                  @@ -217,6 +262,7 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr
                      * 
                  * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -225,14 +271,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 complete.
                  @@ -246,16 +293,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 { @@ -264,6 +310,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -299,8 +345,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_); @@ -313,22 +358,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,117 +397,127 @@ 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].
                      * 
                  * * 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() @@ -472,16 +525,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +551,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 @@ -520,7 +572,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_; @@ -536,38 +589,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; @@ -575,7 +629,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(); @@ -606,7 +661,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,6 +674,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
                        * Required. The name of the entitlement to update.
                        * Name uses the format:
                  @@ -625,13 +683,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; @@ -640,6 +698,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The name of the entitlement to update.
                        * Name uses the format:
                  @@ -647,15 +707,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 { @@ -663,6 +722,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The name of the entitlement to update.
                        * Name uses the format:
                  @@ -670,20 +731,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:
                  @@ -691,15 +754,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:
                  @@ -707,16 +773,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; @@ -724,39 +790,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) { @@ -772,11 +857,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) { @@ -790,17 +879,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; } @@ -812,11 +907,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) { @@ -830,48 +929,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_; @@ -879,6 +994,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 complete.
                  @@ -892,13 +1009,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; @@ -907,6 +1024,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 complete.
                  @@ -920,15 +1039,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 { @@ -936,6 +1054,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 complete.
                  @@ -949,20 +1069,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 complete.
                  @@ -976,15 +1098,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 complete.
                  @@ -998,23 +1123,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); } @@ -1024,12 +1149,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(); } @@ -1038,16 +1163,16 @@ 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 { - return new ChangeRenewalSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new ChangeRenewalSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,6 +1187,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java index 242591bb..4432570c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java +++ b/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 complete.
                  @@ -72,10 +109,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 complete.
                  @@ -89,8 +129,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java index 7720beeb..088d4435 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java +++ b/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,16 +48,15 @@ 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;
                     }
                  +
                     private ChannelPartnerLink(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -58,82 +75,94 @@ private ChannelPartnerLink(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  -
                  -            name_ = s;
                  -            break;
                  -          }
                  -          case 18: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            resellerCloudIdentityId_ = s;
                  -            break;
                  -          }
                  -          case 24: {
                  -            int rawValue = input.readEnum();
                  -
                  -            linkState_ = rawValue;
                  -            break;
                  -          }
                  -          case 34: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +              name_ = s;
                  +              break;
                  +            }
                  +          case 18:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            inviteLinkUri_ = s;
                  -            break;
                  -          }
                  -          case 42: {
                  -            com.google.protobuf.Timestamp.Builder subBuilder = null;
                  -            if (createTime_ != null) {
                  -              subBuilder = createTime_.toBuilder();
                  +              resellerCloudIdentityId_ = s;
                  +              break;
                               }
                  -            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(createTime_);
                  -              createTime_ = subBuilder.buildPartial();
                  +          case 24:
                  +            {
                  +              int rawValue = input.readEnum();
                  +
                  +              linkState_ = rawValue;
                  +              break;
                               }
                  +          case 34:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            break;
                  -          }
                  -          case 50: {
                  -            com.google.protobuf.Timestamp.Builder subBuilder = null;
                  -            if (updateTime_ != null) {
                  -              subBuilder = updateTime_.toBuilder();
                  +              inviteLinkUri_ = s;
                  +              break;
                               }
                  -            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(updateTime_);
                  -              updateTime_ = subBuilder.buildPartial();
                  +          case 42:
                  +            {
                  +              com.google.protobuf.Timestamp.Builder subBuilder = null;
                  +              if (createTime_ != null) {
                  +                subBuilder = createTime_.toBuilder();
                  +              }
                  +              createTime_ =
                  +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(createTime_);
                  +                createTime_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  +          case 50:
                  +            {
                  +              com.google.protobuf.Timestamp.Builder subBuilder = null;
                  +              if (updateTime_ != null) {
                  +                subBuilder = updateTime_.toBuilder();
                  +              }
                  +              updateTime_ =
                  +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(updateTime_);
                  +                updateTime_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                  +            }
                  +          case 58:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            break;
                  -          }
                  -          case 58: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  -
                  -            publicId_ = s;
                  -            break;
                  -          }
                  -          case 66: {
                  -            com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null;
                  -            if (channelPartnerCloudIdentityInfo_ != null) {
                  -              subBuilder = channelPartnerCloudIdentityInfo_.toBuilder();
                  +              publicId_ = s;
                  +              break;
                               }
                  -            channelPartnerCloudIdentityInfo_ = input.readMessage(com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(channelPartnerCloudIdentityInfo_);
                  -              channelPartnerCloudIdentityInfo_ = subBuilder.buildPartial();
                  +          case 66:
                  +            {
                  +              com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null;
                  +              if (channelPartnerCloudIdentityInfo_ != null) {
                  +                subBuilder = channelPartnerCloudIdentityInfo_.toBuilder();
                  +              }
                  +              channelPartnerCloudIdentityInfo_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(channelPartnerCloudIdentityInfo_);
                  +                channelPartnerCloudIdentityInfo_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -141,35 +170,40 @@ private ChannelPartnerLink(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -178,30 +212,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 { @@ -212,11 +246,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 @@ -225,29 +262,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 { @@ -258,38 +295,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 @@ -298,29 +353,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 { @@ -331,11 +386,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 @@ -343,11 +402,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 @@ -355,11 +418,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() { @@ -369,11 +435,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 @@ -381,11 +451,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 @@ -393,11 +467,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() { @@ -407,12 +484,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 @@ -421,30 +501,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 { @@ -455,11 +535,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 @@ -467,30 +552,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; @@ -502,15 +600,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_)) { @@ -543,27 +643,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -573,36 +674,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -642,97 +739,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.
                  @@ -740,21 +844,23 @@ 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()
                  @@ -762,16 +868,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -807,9 +912,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
                  @@ -828,7 +933,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_;
                  @@ -857,38 +963,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;
                  @@ -956,19 +1063,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; @@ -977,21 +1086,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 { @@ -999,57 +1109,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; @@ -1057,18 +1174,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; @@ -1077,20 +1196,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 { @@ -1098,54 +1218,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; @@ -1153,51 +1280,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. */ @@ -1205,21 +1356,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; @@ -1227,18 +1383,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; @@ -1247,20 +1405,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 { @@ -1268,54 +1427,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; @@ -1323,39 +1489,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) { @@ -1371,14 +1556,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(); @@ -1389,17 +1577,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; } @@ -1411,11 +1603,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) { @@ -1429,48 +1625,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_; @@ -1478,39 +1690,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) { @@ -1526,14 +1757,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(); @@ -1544,17 +1778,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; } @@ -1566,11 +1804,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) { @@ -1584,48 +1826,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_; @@ -1633,19 +1891,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; @@ -1654,21 +1914,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 { @@ -1676,57 +1937,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; @@ -1734,41 +2002,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(); @@ -1782,11 +2071,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) { @@ -1800,17 +2093,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; } @@ -1822,11 +2123,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) { @@ -1840,55 +2145,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); } @@ -1898,12 +2221,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(); } @@ -1912,16 +2235,16 @@ 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 { - return new ChannelPartnerLink(input, extensionRegistry); - } - }; + 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 { + return new ChannelPartnerLink(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1936,6 +2259,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChannelPartnerLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java index 22e6e2e4..3636c645 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java index 86f86bab..28d798d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java index 81744ecc..b4bbcbc1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.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; /** + * + * *
                    * 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.
                  @@ -22,6 +40,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].
                  @@ -31,6 +51,8 @@ public enum ChannelPartnerLinkView
                      */
                     BASIC(1),
                     /**
                  +   *
                  +   *
                      * 
                      * Includes all fields.
                      * 
                  @@ -42,6 +64,8 @@ public enum ChannelPartnerLinkView ; /** + * + * *
                      * The default / unset value.
                      * The API will default to the BASIC view.
                  @@ -51,6 +75,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].
                  @@ -60,6 +86,8 @@ public enum ChannelPartnerLinkView
                      */
                     public static final int BASIC_VALUE = 1;
                     /**
                  +   *
                  +   *
                      * 
                      * Includes all fields.
                      * 
                  @@ -68,7 +96,6 @@ public enum ChannelPartnerLinkView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -93,10 +120,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; } } @@ -104,29 +135,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(); @@ -134,8 +167,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; @@ -151,4 +183,3 @@ private ChannelPartnerLinkView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ChannelPartnerLinkView) } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java new file mode 100644 index 00000000..f4d089cf --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java index d4c3394a..687c6357 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java +++ b/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,31 +28,31 @@
                    *
                    * 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;
                     }
                  +
                     private ChannelPartnerRepricingConfig(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -54,45 +71,51 @@ private ChannelPartnerRepricingConfig(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            name_ = s;
                  -            break;
                  -          }
                  -          case 18: {
                  -            com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null;
                  -            if (repricingConfig_ != null) {
                  -              subBuilder = repricingConfig_.toBuilder();
                  -            }
                  -            repricingConfig_ = input.readMessage(com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(repricingConfig_);
                  -              repricingConfig_ = subBuilder.buildPartial();
                  +              name_ = s;
                  +              break;
                               }
                  +          case 18:
                  +            {
                  +              com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null;
                  +              if (repricingConfig_ != null) {
                  +                subBuilder = repricingConfig_.toBuilder();
                  +              }
                  +              repricingConfig_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(repricingConfig_);
                  +                repricingConfig_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          case 26: {
                  -            com.google.protobuf.Timestamp.Builder subBuilder = null;
                  -            if (updateTime_ != null) {
                  -              subBuilder = updateTime_.toBuilder();
                  -            }
                  -            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(updateTime_);
                  -              updateTime_ = subBuilder.buildPartial();
                  +              break;
                               }
                  +          case 26:
                  +            {
                  +              com.google.protobuf.Timestamp.Builder subBuilder = null;
                  +              if (updateTime_ != null) {
                  +                subBuilder = updateTime_.toBuilder();
                  +              }
                  +              updateTime_ =
                  +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(updateTime_);
                  +                updateTime_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -100,29 +123,33 @@ private ChannelPartnerRepricingConfig(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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:
                  @@ -130,6 +157,7 @@ private ChannelPartnerRepricingConfig(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -138,14 +166,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:
                  @@ -153,16 +182,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 { @@ -173,12 +201,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 @@ -186,25 +219,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() { @@ -214,13 +258,17 @@ 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.
                      * 
                  * - * .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 @@ -228,13 +276,17 @@ 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.
                      * 
                  * - * .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 @@ -242,13 +294,16 @@ 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.
                      * 
                  * - * .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() { @@ -256,6 +311,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,8 +323,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -291,12 +346,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -306,24 +359,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -352,96 +403,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).
                  @@ -449,21 +508,23 @@ 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()
                  @@ -471,16 +532,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -502,9 +562,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
                  @@ -523,7 +583,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_;
                  @@ -543,38 +604,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;
                  @@ -582,7 +644,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();
                  @@ -612,7 +675,8 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -624,6 +688,8 @@ public Builder mergeFrom(
                   
                       private java.lang.Object name_ = "";
                       /**
                  +     *
                  +     *
                        * 
                        * Output only. Resource name of the ChannelPartnerRepricingConfig.
                        * Format:
                  @@ -631,13 +697,13 @@ public Builder mergeFrom(
                        * 
                  * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -646,6 +712,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Output only. Resource name of the ChannelPartnerRepricingConfig.
                        * Format:
                  @@ -653,15 +721,14 @@ public java.lang.String getName() {
                        * 
                  * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -669,6 +736,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Output only. Resource name of the ChannelPartnerRepricingConfig.
                        * Format:
                  @@ -676,20 +745,22 @@ public java.lang.String getName() {
                        * 
                  * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + 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:
                  @@ -697,15 +768,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:
                  @@ -713,16 +787,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; @@ -730,42 +804,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) { @@ -781,12 +874,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) { @@ -800,18 +897,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; } @@ -823,12 +926,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) { @@ -842,51 +949,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_; @@ -894,45 +1017,64 @@ 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.
                        * 
                  * - * .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.
                        * 
                  * - * .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.
                        * 
                  * - * .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) { @@ -948,16 +1090,19 @@ 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.
                        * 
                  * - * .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(); @@ -968,19 +1113,23 @@ public Builder setUpdateTime( 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.
                        * 
                  * - * .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; } @@ -992,13 +1141,17 @@ 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.
                        * 
                  * - * .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) { @@ -1012,61 +1165,77 @@ 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.
                        * 
                  * - * .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.
                        * 
                  * - * .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.
                        * 
                  * - * .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); } @@ -1076,12 +1245,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(); } @@ -1090,16 +1259,16 @@ 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 { - return new ChannelPartnerRepricingConfig(input, extensionRegistry); - } - }; + 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 { + return new ChannelPartnerRepricingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1114,6 +1283,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java index f0ec049c..758747ae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java +++ b/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,71 +47,96 @@ 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
                      * [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.
                      * 
                  * - * .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.
                      * 
                  * - * .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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java index 4e11e3c1..eb593803 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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_ = ""; @@ -26,16 +46,15 @@ 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; } + private CheckCloudIdentityAccountsExistRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +73,27 @@ private CheckCloudIdentityAccountsExistRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - domain_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + domain_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +101,40 @@ private CheckCloudIdentityAccountsExistRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -117,30 +143,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 { @@ -151,11 +177,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 @@ -164,29 +193,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 { @@ -195,6 +224,7 @@ public java.lang.String getDomain() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,17 +266,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,134 +297,145 @@ 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].
                      * 
                  * * 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() + // Construct using + // com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,14 +447,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 @@ -429,7 +470,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(); @@ -440,46 +482,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(); @@ -507,7 +554,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,19 +568,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; @@ -540,21 +591,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 { @@ -562,57 +614,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; @@ -620,18 +679,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; @@ -640,20 +701,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 { @@ -661,61 +723,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); } @@ -725,30 +794,32 @@ 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 { - return new CheckCloudIdentityAccountsExistRequest(input, extensionRegistry); - } - }; + 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 { + return new CheckCloudIdentityAccountsExistRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,9 +831,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java index 79dcab18..1d92410b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java index f42b9214..811fd477 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java +++ b/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,31 +28,33 @@
                    *
                    * 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;
                     }
                  +
                     private CheckCloudIdentityAccountsExistResponse(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -55,22 +74,27 @@ private CheckCloudIdentityAccountsExistResponse(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  -              cloudIdentityAccounts_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000001;
                  +          case 10:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  +                cloudIdentityAccounts_ =
                  +                    new java.util.ArrayList<
                  +                        com.google.cloud.channel.v1.CloudIdentityCustomerAccount>();
                  +                mutable_bitField0_ |= 0x00000001;
                  +              }
                  +              cloudIdentityAccounts_.add(
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(),
                  +                      extensionRegistry));
                  +              break;
                               }
                  -            cloudIdentityAccounts_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -78,8 +102,7 @@ private CheckCloudIdentityAccountsExistResponse(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         if (((mutable_bitField0_ & 0x00000001) != 0)) {
                           cloudIdentityAccounts_ = java.util.Collections.unmodifiableList(cloudIdentityAccounts_);
                  @@ -88,80 +111,107 @@ private CheckCloudIdentityAccountsExistResponse(
                         makeExtensionsImmutable();
                       }
                     }
                  -  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; @@ -173,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 < cloudIdentityAccounts_.size(); i++) { output.writeMessage(1, cloudIdentityAccounts_.get(i)); } @@ -188,8 +237,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -199,15 +249,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,96 +279,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].
                  @@ -326,39 +385,42 @@ 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()
                  +    // Construct using
                  +    // com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.newBuilder()
                       private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
                           getCloudIdentityAccountsFieldBuilder();
                         }
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -372,14 +434,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
                  @@ -393,7 +457,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)) {
                  @@ -412,46 +477,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()) {
                  @@ -470,9 +540,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_);
                             }
                  @@ -497,7 +568,9 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)
                  +                e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -506,28 +579,40 @@ public Builder mergeFrom(
                         }
                         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 { @@ -535,11 +620,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) { @@ -549,13 +638,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 { @@ -563,11 +657,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) { @@ -584,14 +682,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()); @@ -602,13 +705,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(); @@ -622,11 +730,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) { @@ -643,11 +755,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) { @@ -661,14 +777,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()); @@ -679,18 +800,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); @@ -698,11 +823,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) { @@ -715,11 +844,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) { @@ -732,39 +865,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 { @@ -772,45 +919,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(), @@ -819,9 +987,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); } @@ -831,30 +999,32 @@ 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 { - return new CheckCloudIdentityAccountsExistResponse(input, extensionRegistry); - } - }; + 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 { + return new CheckCloudIdentityAccountsExistResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,9 +1036,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java new file mode 100644 index 00000000..61c6a80e --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java index 2be273f3..b186c5aa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java +++ b/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,16 +45,15 @@ 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;
                     }
                  +
                     private CloudIdentityCustomerAccount(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -55,35 +72,37 @@ private CloudIdentityCustomerAccount(
                             case 0:
                               done = true;
                               break;
                  -          case 8: {
                  -
                  -            existing_ = input.readBool();
                  -            break;
                  -          }
                  -          case 16: {
                  -
                  -            owned_ = input.readBool();
                  -            break;
                  -          }
                  -          case 26: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 8:
                  +            {
                  +              existing_ = input.readBool();
                  +              break;
                  +            }
                  +          case 16:
                  +            {
                  +              owned_ = input.readBool();
                  +              break;
                  +            }
                  +          case 26:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            customerName_ = s;
                  -            break;
                  -          }
                  -          case 34: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +              customerName_ = s;
                  +              break;
                  +            }
                  +          case 34:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            customerCloudIdentityId_ = s;
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +              customerCloudIdentityId_ = s;
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -91,34 +110,39 @@ private CloudIdentityCustomerAccount(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -129,12 +153,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 @@ -145,6 +172,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.
                  @@ -153,6 +182,7 @@ public boolean getOwned() {
                      * 
                  * * string customer_name = 3; + * * @return The customerName. */ @java.lang.Override @@ -161,14 +191,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.
                  @@ -177,16 +208,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 { @@ -197,11 +227,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 @@ -210,29 +243,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 { @@ -241,6 +274,7 @@ public java.lang.String getCustomerCloudIdentityId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (existing_ != false) { output.writeBool(1, existing_); } @@ -276,12 +309,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_); @@ -297,21 +328,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,11 +352,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; @@ -339,96 +365,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.
                  @@ -436,21 +470,23 @@ 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()
                  @@ -458,16 +494,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -483,9 +518,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
                  @@ -504,7 +539,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_;
                  @@ -517,38 +553,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;
                  @@ -556,7 +593,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());
                         }
                  @@ -590,7 +628,8 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -600,13 +639,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 @@ -614,43 +656,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 @@ -658,32 +709,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; @@ -691,6 +748,8 @@ public Builder clearOwned() { private java.lang.Object customerName_ = ""; /** + * + * *
                        * If owned = true, the name of the customer that owns the Cloud Identity
                        * account.
                  @@ -699,13 +758,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; @@ -714,6 +773,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
                        * If owned = true, the name of the customer that owns the Cloud Identity
                        * account.
                  @@ -722,15 +783,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 { @@ -738,6 +798,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
                        * If owned = true, the name of the customer that owns the Cloud Identity
                        * account.
                  @@ -746,20 +808,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.
                  @@ -768,15 +832,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.
                  @@ -785,16 +852,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; @@ -802,18 +869,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; @@ -822,20 +891,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 { @@ -843,61 +913,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); } @@ -907,12 +984,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(); } @@ -921,16 +998,16 @@ 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 { - return new CloudIdentityCustomerAccount(input, extensionRegistry); - } - }; + 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 { + return new CloudIdentityCustomerAccount(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -945,6 +1022,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java index f8864423..0aa5be0a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java index 25190bba..2ff414b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java +++ b/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,16 +48,15 @@ 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; } + private CloudIdentityInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,67 +75,76 @@ private CloudIdentityInfo( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - customerType_ = rawValue; - break; - } - case 32: { + case 8: + { + int rawValue = input.readEnum(); - isDomainVerified_ = input.readBool(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + customerType_ = rawValue; + break; + } + case 32: + { + isDomainVerified_ = input.readBool(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - alternateEmail_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + alternateEmail_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + phoneNumber_ = s; + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + languageCode_ = s; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - primaryDomain_ = s; - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + primaryDomain_ = s; + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - adminConsoleUri_ = s; - break; - } - case 178: { - com.google.cloud.channel.v1.EduData.Builder subBuilder = null; - if (eduData_ != null) { - subBuilder = eduData_.toBuilder(); + adminConsoleUri_ = s; + break; } - eduData_ = input.readMessage(com.google.cloud.channel.v1.EduData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(eduData_); - eduData_ = subBuilder.buildPartial(); + case 178: + { + com.google.cloud.channel.v1.EduData.Builder subBuilder = null; + if (eduData_ != null) { + subBuilder = eduData_.toBuilder(); + } + eduData_ = + input.readMessage( + com.google.cloud.channel.v1.EduData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(eduData_); + eduData_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -126,36 +152,41 @@ private CloudIdentityInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                        * 
                  @@ -164,6 +195,8 @@ public enum CustomerType */ CUSTOMER_TYPE_UNSPECIFIED(0), /** + * + * *
                        * Domain-owning customer which needs domain verification to use services.
                        * 
                  @@ -172,6 +205,8 @@ public enum CustomerType */ DOMAIN(1), /** + * + * *
                        * Team customer which needs email verification to use services.
                        * 
                  @@ -183,6 +218,8 @@ public enum CustomerType ; /** + * + * *
                        * Not used.
                        * 
                  @@ -191,6 +228,8 @@ public enum CustomerType */ public static final int CUSTOMER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Domain-owning customer which needs domain verification to use services.
                        * 
                  @@ -199,6 +238,8 @@ public enum CustomerType */ public static final int DOMAIN_VALUE = 1; /** + * + * *
                        * Team customer which needs email verification to use services.
                        * 
                  @@ -207,7 +248,6 @@ public enum CustomerType */ public static final int TEAM_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,49 +272,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; @@ -294,38 +334,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 @@ -334,29 +388,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 { @@ -367,6 +421,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.
                  @@ -376,6 +432,7 @@ public java.lang.String getPrimaryDomain() {
                      * 
                  * * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The isDomainVerified. */ @java.lang.Override @@ -386,11 +443,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 @@ -399,29 +459,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 { @@ -432,11 +492,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 @@ -445,29 +508,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 { @@ -478,11 +541,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 @@ -491,29 +557,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 { @@ -524,11 +590,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 @@ -537,29 +606,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 { @@ -570,11 +639,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 @@ -582,11 +654,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 @@ -594,6 +669,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.
                      * 
                  @@ -606,6 +683,7 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,9 +695,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) { @@ -652,13 +731,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_); @@ -676,8 +755,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -687,30 +765,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -728,8 +800,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; @@ -747,118 +818,127 @@ 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() @@ -866,16 +946,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -903,9 +982,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 @@ -924,7 +1003,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_; @@ -945,38 +1025,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; @@ -1045,73 +1126,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; @@ -1119,18 +1220,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; @@ -1139,20 +1242,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 { @@ -1160,61 +1264,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.
                  @@ -1224,6 +1337,7 @@ public Builder setPrimaryDomainBytes(
                        * 
                  * * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The isDomainVerified. */ @java.lang.Override @@ -1231,6 +1345,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.
                  @@ -1240,16 +1356,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.
                  @@ -1259,10 +1378,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; @@ -1270,18 +1390,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; @@ -1290,20 +1412,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 { @@ -1311,54 +1434,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; @@ -1366,18 +1496,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; @@ -1386,20 +1518,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 { @@ -1407,54 +1540,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; @@ -1462,18 +1602,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; @@ -1482,20 +1624,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 { @@ -1503,54 +1646,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; @@ -1558,18 +1708,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; @@ -1578,20 +1730,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 { @@ -1599,54 +1752,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; @@ -1654,34 +1814,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.
                        * 
                  @@ -1702,14 +1875,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(); @@ -1720,6 +1894,8 @@ public Builder setEduData( return this; } /** + * + * *
                        * Edu information about the customer.
                        * 
                  @@ -1730,7 +1906,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; } @@ -1742,6 +1920,8 @@ public Builder mergeEduData(com.google.cloud.channel.v1.EduData value) { return this; } /** + * + * *
                        * Edu information about the customer.
                        * 
                  @@ -1760,6 +1940,8 @@ public Builder clearEduData() { return this; } /** + * + * *
                        * Edu information about the customer.
                        * 
                  @@ -1767,11 +1949,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.
                        * 
                  @@ -1782,11 +1966,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.
                        * 
                  @@ -1794,21 +1981,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); } @@ -1818,12 +2008,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(); } @@ -1832,16 +2022,16 @@ 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 { - return new CloudIdentityInfo(input, extensionRegistry); - } - }; + 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 { + return new CloudIdentityInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1856,6 +2046,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CloudIdentityInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java index edf9e82c..16e283f8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java index 280a64d6..ec935bd5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private CommitmentSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,59 @@ private CommitmentSettings( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; - if (renewalSettings_ != null) { - subBuilder = renewalSettings_.toBuilder(); - } - renewalSettings_ = input.readMessage(com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(renewalSettings_); - renewalSettings_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.cloud.channel.v1.RenewalSettings.Builder subBuilder = null; + if (renewalSettings_ != null) { + subBuilder = renewalSettings_.toBuilder(); + } + renewalSettings_ = + input.readMessage( + com.google.cloud.channel.v1.RenewalSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(renewalSettings_); + renewalSettings_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +128,40 @@ private CommitmentSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -140,11 +169,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 @@ -152,11 +185,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() { @@ -166,11 +202,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 @@ -178,11 +218,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 @@ -190,11 +234,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() { @@ -204,11 +251,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 @@ -216,23 +268,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() { @@ -240,6 +303,7 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -272,16 +335,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +351,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -341,118 +399,127 @@ 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() @@ -460,16 +527,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +561,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 @@ -516,7 +582,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 { @@ -540,38 +607,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; @@ -620,24 +688,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() { @@ -648,11 +727,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) { @@ -668,14 +750,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(); @@ -686,17 +770,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; } @@ -708,11 +795,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) { @@ -726,48 +816,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_; @@ -775,24 +876,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() { @@ -803,11 +915,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) { @@ -823,14 +938,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(); @@ -841,17 +958,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; } @@ -863,11 +983,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) { @@ -881,48 +1004,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_; @@ -930,39 +1064,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) { @@ -978,11 +1131,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) { @@ -996,17 +1153,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; } @@ -1018,11 +1181,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) { @@ -1036,55 +1203,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); } @@ -1094,12 +1277,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(); } @@ -1108,16 +1291,16 @@ 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 { - return new CommitmentSettings(input, extensionRegistry); - } - }; + 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 { + return new CommitmentSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CommitmentSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java index 15f94c1a..5c2ed7df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java +++ b/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java new file mode 100644 index 00000000..587af974 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java index cd54e60c..cb1a2ae7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private Constraints( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,29 @@ private Constraints( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.CustomerConstraints.Builder subBuilder = null; - if (customerConstraints_ != null) { - subBuilder = customerConstraints_.toBuilder(); + case 10: + { + com.google.cloud.channel.v1.CustomerConstraints.Builder subBuilder = null; + if (customerConstraints_ != null) { + subBuilder = customerConstraints_.toBuilder(); + } + customerConstraints_ = + input.readMessage( + com.google.cloud.channel.v1.CustomerConstraints.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customerConstraints_); + customerConstraints_ = subBuilder.buildPartial(); + } + + break; } - customerConstraints_ = input.readMessage(com.google.cloud.channel.v1.CustomerConstraints.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customerConstraints_); - customerConstraints_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +98,39 @@ private Constraints( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -114,18 +138,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.
                      * 
                  @@ -133,11 +164,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; @@ -149,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customerConstraints_ != null) { output.writeMessage(1, getCustomerConstraints()); } @@ -164,8 +196,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,7 +206,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); @@ -184,8 +215,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -207,118 +237,127 @@ 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() @@ -326,16 +365,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +387,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 @@ -370,7 +408,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 { @@ -384,38 +423,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; @@ -458,34 +498,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.
                        * 
                  @@ -506,6 +559,8 @@ public Builder setCustomerConstraints(com.google.cloud.channel.v1.CustomerConstr return this; } /** + * + * *
                        * Represents constraints required to purchase the Offer for a customer.
                        * 
                  @@ -524,6 +579,8 @@ public Builder setCustomerConstraints( return this; } /** + * + * *
                        * Represents constraints required to purchase the Offer for a customer.
                        * 
                  @@ -534,7 +591,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; } @@ -546,6 +605,8 @@ public Builder mergeCustomerConstraints(com.google.cloud.channel.v1.CustomerCons return this; } /** + * + * *
                        * Represents constraints required to purchase the Offer for a customer.
                        * 
                  @@ -564,6 +625,8 @@ public Builder clearCustomerConstraints() { return this; } /** + * + * *
                        * Represents constraints required to purchase the Offer for a customer.
                        * 
                  @@ -571,26 +634,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.
                        * 
                  @@ -598,21 +667,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); } @@ -622,12 +694,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(); } @@ -636,16 +708,16 @@ 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 { - return new Constraints(input, extensionRegistry); - } - }; + 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 { + return new Constraints(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,6 +732,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Constraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java index 94bf826d..6f8b79bb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java index 26e29501..804fdf44 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java +++ b/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,16 +48,15 @@ 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; } + private ContactInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,49 +75,55 @@ private ContactInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - firstName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + firstName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - lastName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + lastName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - email_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + title_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - phone_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + phone_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,34 +131,39 @@ private ContactInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -144,29 +172,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 { @@ -177,11 +205,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 @@ -190,29 +221,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 { @@ -223,12 +254,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 @@ -237,30 +271,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 { @@ -271,6 +305,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
                  @@ -278,6 +314,7 @@ public java.lang.String getDisplayName() {
                      * 
                  * * string email = 5; + * * @return The email. */ @java.lang.Override @@ -286,14 +323,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
                  @@ -301,16 +339,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 { @@ -321,11 +358,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 @@ -334,29 +374,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 { @@ -367,11 +407,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 @@ -380,29 +423,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 { @@ -411,6 +454,7 @@ public java.lang.String getPhone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,8 +466,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -477,25 +520,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -524,118 +561,127 @@ 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() @@ -643,16 +689,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -672,9 +717,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 @@ -693,7 +738,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_; @@ -708,38 +754,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; @@ -803,18 +850,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; @@ -823,20 +872,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 { @@ -844,54 +894,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; @@ -899,18 +956,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; @@ -919,20 +978,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 { @@ -940,54 +1000,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; @@ -995,19 +1062,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; @@ -1016,21 +1085,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 { @@ -1038,57 +1108,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; @@ -1096,6 +1173,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
                  @@ -1103,13 +1182,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; @@ -1118,6 +1197,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
                  @@ -1125,15 +1206,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 { @@ -1141,6 +1221,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
                  @@ -1148,20 +1230,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
                  @@ -1169,15 +1253,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
                  @@ -1185,16 +1272,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; @@ -1202,18 +1289,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; @@ -1222,20 +1311,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 { @@ -1243,54 +1333,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; @@ -1298,18 +1395,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; @@ -1318,20 +1417,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 { @@ -1339,61 +1439,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); } @@ -1403,12 +1510,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(); } @@ -1417,16 +1524,16 @@ 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 { - return new ContactInfo(input, extensionRegistry); - } - }; + 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 { + return new ContactInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1441,6 +1548,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ContactInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java index 4d6d1732..37e36940 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java index dae66757..c308cc0f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private CreateChannelPartnerLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,36 @@ private CreateChannelPartnerLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; - if (channelPartnerLink_ != null) { - subBuilder = channelPartnerLink_.toBuilder(); + parent_ = s; + break; } - channelPartnerLink_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channelPartnerLink_); - channelPartnerLink_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; + if (channelPartnerLink_ != null) { + subBuilder = channelPartnerLink_.toBuilder(); + } + channelPartnerLink_ = + input.readMessage( + com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channelPartnerLink_); + channelPartnerLink_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +108,33 @@ private CreateChannelPartnerLinkRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                  @@ -116,6 +142,7 @@ private CreateChannelPartnerLinkRequest(
                      * 
                  * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -124,14 +151,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
                      * Required. Create a channel partner link for the provided reseller account's
                      * resource name.
                  @@ -139,16 +167,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 { @@ -159,13 +186,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 @@ -173,27 +205,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() { @@ -201,6 +244,7 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,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_); } @@ -233,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +322,127 @@ 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]
                      * 
                  * * 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() @@ -399,16 +450,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +474,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 @@ -445,7 +495,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_; @@ -460,38 +511,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; @@ -499,7 +551,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(); @@ -526,7 +579,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -538,6 +592,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
                        * Required. Create a channel partner link for the provided reseller account's
                        * resource name.
                  @@ -545,13 +601,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; @@ -560,6 +616,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. Create a channel partner link for the provided reseller account's
                        * resource name.
                  @@ -567,15 +625,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 { @@ -583,6 +640,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. Create a channel partner link for the provided reseller account's
                        * resource name.
                  @@ -590,20 +649,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.
                  @@ -611,15 +672,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.
                  @@ -627,16 +691,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; @@ -644,45 +708,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) { @@ -698,13 +781,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) { @@ -718,19 +805,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; } @@ -742,13 +835,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) { @@ -762,61 +859,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); } @@ -826,12 +940,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(); } @@ -840,16 +954,16 @@ 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 { - return new CreateChannelPartnerLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateChannelPartnerLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +978,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java index 6772bdae..a41b0d46 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java index 9198da0c..b4a7ef37 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java +++ b/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,31 +28,33 @@
                    *
                    * 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;
                     }
                  +
                     private CreateChannelPartnerRepricingConfigRequest(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -54,32 +73,37 @@ private CreateChannelPartnerRepricingConfigRequest(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            parent_ = s;
                  -            break;
                  -          }
                  -          case 18: {
                  -            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
                  -            if (channelPartnerRepricingConfig_ != null) {
                  -              subBuilder = channelPartnerRepricingConfig_.toBuilder();
                  +              parent_ = s;
                  +              break;
                               }
                  -            channelPartnerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(channelPartnerRepricingConfig_);
                  -              channelPartnerRepricingConfig_ = subBuilder.buildPartial();
                  +          case 18:
                  +            {
                  +              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
                  +              if (channelPartnerRepricingConfig_ != null) {
                  +                subBuilder = channelPartnerRepricingConfig_.toBuilder();
                  +              }
                  +              channelPartnerRepricingConfig_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
                  +                      extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(channelPartnerRepricingConfig_);
                  +                channelPartnerRepricingConfig_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -87,36 +111,43 @@ private CreateChannelPartnerRepricingConfigRequest(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -125,31 +156,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 { @@ -160,11 +193,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 @@ -172,30 +210,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; @@ -207,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -228,8 +279,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,19 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +329,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].
                  @@ -373,38 +435,40 @@ 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()
                  +    // Construct using
                  +    // com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.newBuilder()
                       private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -420,19 +484,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);
                         }
                  @@ -441,7 +508,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_;
                  @@ -456,46 +524,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();
                  @@ -522,7 +595,9 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)
                  +                e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -534,20 +609,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; @@ -556,22 +635,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 { @@ -579,102 +661,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(); @@ -688,11 +806,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) { @@ -706,17 +828,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; } @@ -728,11 +858,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) { @@ -746,55 +880,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); } @@ -804,30 +956,33 @@ 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 { - return new CreateChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,9 +994,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java index e97fc97a..f10883ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java index 2bd92f90..38465f93 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private CreateCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +72,37 @@ private CreateCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; - if (customerRepricingConfig_ != null) { - subBuilder = customerRepricingConfig_.toBuilder(); + parent_ = s; + break; } - customerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customerRepricingConfig_); - customerRepricingConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; + if (customerRepricingConfig_ != null) { + subBuilder = customerRepricingConfig_.toBuilder(); + } + customerRepricingConfig_ = + input.readMessage( + com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customerRepricingConfig_); + customerRepricingConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +110,42 @@ private CreateCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -123,30 +154,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
                      * Required. The resource name of the 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 { @@ -157,11 +190,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 @@ -169,30 +207,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; @@ -204,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +275,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,117 +322,127 @@ 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].
                      * 
                  * * 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() @@ -391,16 +450,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,13 +474,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(); } @@ -437,7 +496,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_; @@ -452,46 +512,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(); @@ -518,7 +582,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +596,23 @@ 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; @@ -551,21 +621,24 @@ 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 { @@ -573,57 +646,70 @@ 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; @@ -631,41 +717,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(); @@ -679,11 +785,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) { @@ -697,17 +807,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; } @@ -719,11 +837,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) { @@ -737,55 +859,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); } @@ -795,30 +935,32 @@ 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 { - return new CreateCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +972,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..8e06948e --- /dev/null +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java index 6ec3b680..5a3741eb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private CreateCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateCustomerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.Customer.Builder subBuilder = null; - if (customer_ != null) { - subBuilder = customer_.toBuilder(); + parent_ = s; + break; } - customer_ = input.readMessage(com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customer_); - customer_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.Customer.Builder subBuilder = null; + if (customer_ != null) { + subBuilder = customer_.toBuilder(); + } + customer_ = + input.readMessage( + com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customer_); + customer_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +107,40 @@ private CreateCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -123,30 +149,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 { @@ -157,11 +183,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 @@ -169,23 +199,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() { @@ -193,6 +232,7 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -225,8 +264,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +274,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,117 +310,126 @@ 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]
                      * 
                  * * 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() @@ -391,16 +437,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +461,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 @@ -437,7 +482,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_; @@ -452,38 +498,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; @@ -491,7 +538,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(); @@ -518,7 +566,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CreateCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CreateCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +579,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; @@ -551,21 +602,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 { @@ -573,57 +625,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; @@ -631,39 +690,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) { @@ -679,14 +757,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(); @@ -697,17 +778,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; } @@ -719,11 +806,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) { @@ -737,55 +828,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); } @@ -795,12 +902,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(); } @@ -809,16 +916,16 @@ 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 { - return new CreateCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +940,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java index 64bae748..4a6f5102 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java index 2ef63375..ead8cee5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private CreateEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateEntitlementRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.Entitlement.Builder subBuilder = null; - if (entitlement_ != null) { - subBuilder = entitlement_.toBuilder(); - } - entitlement_ = input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entitlement_); - entitlement_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.channel.v1.Entitlement.Builder subBuilder = null; + if (entitlement_ != null) { + subBuilder = entitlement_.toBuilder(); + } + entitlement_ = + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entitlement_); + entitlement_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -131,31 +160,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 { @@ -166,11 +197,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 @@ -178,23 +214,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() { @@ -204,6 +251,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 complete.
                  @@ -217,6 +266,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(
                      * 
                  * * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -225,14 +275,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 complete.
                  @@ -246,16 +297,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 { @@ -264,6 +314,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -299,8 +349,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_); @@ -313,22 +362,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,117 +401,126 @@ 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]
                      * 
                  * * 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() @@ -472,16 +528,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +554,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 @@ -520,7 +575,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_; @@ -536,38 +592,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; @@ -575,7 +632,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(); @@ -606,7 +664,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CreateEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CreateEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,20 +677,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; @@ -640,22 +703,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 { @@ -663,60 +729,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; @@ -724,39 +803,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) { @@ -772,14 +870,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(); @@ -790,17 +891,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; } @@ -812,11 +919,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) { @@ -830,48 +941,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_; @@ -879,6 +1006,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 complete.
                  @@ -892,13 +1021,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; @@ -907,6 +1036,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 complete.
                  @@ -920,15 +1051,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 { @@ -936,6 +1066,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 complete.
                  @@ -949,20 +1081,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 complete.
                  @@ -976,15 +1110,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 complete.
                  @@ -998,23 +1135,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); } @@ -1024,12 +1161,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(); } @@ -1038,16 +1175,16 @@ 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 { - return new CreateEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java index 6837aab9..75ba5ddf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java +++ b/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 complete.
                  @@ -72,10 +113,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 complete.
                  @@ -89,8 +133,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java index 15a4bf7d..c2138a65 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java +++ b/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,16 +49,15 @@ 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; } + private Customer( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,120 +76,139 @@ private Customer( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - orgDisplayName_ = s; - break; - } - case 26: { - com.google.type.PostalAddress.Builder subBuilder = null; - if (orgPostalAddress_ != null) { - subBuilder = orgPostalAddress_.toBuilder(); - } - orgPostalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(orgPostalAddress_); - orgPostalAddress_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.cloud.channel.v1.ContactInfo.Builder subBuilder = null; - if (primaryContactInfo_ != null) { - subBuilder = primaryContactInfo_.toBuilder(); + orgDisplayName_ = s; + break; } - primaryContactInfo_ = input.readMessage(com.google.cloud.channel.v1.ContactInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryContactInfo_); - primaryContactInfo_ = subBuilder.buildPartial(); + case 26: + { + com.google.type.PostalAddress.Builder subBuilder = null; + if (orgPostalAddress_ != null) { + subBuilder = orgPostalAddress_.toBuilder(); + } + orgPostalAddress_ = + input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(orgPostalAddress_); + orgPostalAddress_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - alternateEmail_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 34: + { + com.google.cloud.channel.v1.ContactInfo.Builder subBuilder = null; + if (primaryContactInfo_ != null) { + subBuilder = primaryContactInfo_.toBuilder(); + } + primaryContactInfo_ = + input.readMessage( + com.google.cloud.channel.v1.ContactInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryContactInfo_); + primaryContactInfo_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + alternateEmail_ = s; + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + domain_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - cloudIdentityId_ = s; - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + cloudIdentityId_ = s; + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 98: { - com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; - if (cloudIdentityInfo_ != null) { - subBuilder = cloudIdentityInfo_.toBuilder(); + languageCode_ = s; + break; } - cloudIdentityInfo_ = input.readMessage(com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cloudIdentityInfo_); - cloudIdentityInfo_ = subBuilder.buildPartial(); + case 98: + { + com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; + if (cloudIdentityInfo_ != null) { + subBuilder = cloudIdentityInfo_.toBuilder(); + } + cloudIdentityInfo_ = + input.readMessage( + com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cloudIdentityInfo_); + cloudIdentityInfo_ = subBuilder.buildPartial(); + } + + break; } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - channelPartnerId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + channelPartnerId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -180,35 +216,40 @@ private Customer( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -217,30 +258,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 { @@ -251,11 +292,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 @@ -264,29 +308,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 { @@ -297,6 +341,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
                  @@ -304,7 +350,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 @@ -312,6 +361,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
                  @@ -319,14 +370,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
                  @@ -334,7 +392,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() { @@ -344,11 +404,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 @@ -356,18 +419,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.
                      * 
                  @@ -382,6 +452,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
                  @@ -391,6 +463,7 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB
                      * 
                  * * string alternate_email = 5; + * * @return The alternateEmail. */ @java.lang.Override @@ -399,14 +472,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
                  @@ -416,16 +490,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 { @@ -436,12 +509,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 @@ -450,30 +526,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 { @@ -484,11 +560,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 @@ -496,11 +576,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 @@ -508,11 +592,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() { @@ -522,11 +609,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 @@ -534,11 +625,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 @@ -546,11 +641,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() { @@ -560,12 +658,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 @@ -574,30 +675,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 { @@ -608,6 +709,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
                  @@ -615,6 +718,7 @@ public java.lang.String getCloudIdentityId() {
                      * 
                  * * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -623,14 +727,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
                  @@ -638,16 +743,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 { @@ -658,12 +762,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 @@ -671,25 +780,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() { @@ -699,12 +819,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 @@ -713,30 +836,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 { @@ -745,6 +868,7 @@ public java.lang.String getChannelPartnerId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -756,8 +880,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -810,12 +933,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_); @@ -824,12 +945,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_); @@ -838,8 +957,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_); @@ -852,52 +970,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -948,118 +1054,126 @@ 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() @@ -1067,16 +1181,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1128,9 +1241,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 @@ -1190,38 +1303,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; @@ -1304,19 +1418,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; @@ -1325,21 +1441,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 { @@ -1347,57 +1464,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; @@ -1405,18 +1529,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; @@ -1425,20 +1551,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 { @@ -1446,54 +1573,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; @@ -1501,8 +1635,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
                  @@ -1510,13 +1649,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
                  @@ -1524,17 +1668,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
                  @@ -1542,7 +1693,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) { @@ -1558,6 +1711,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
                  @@ -1565,10 +1720,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(); @@ -1579,6 +1735,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
                  @@ -1586,13 +1744,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; } @@ -1604,6 +1766,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
                  @@ -1611,7 +1775,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) { @@ -1625,6 +1791,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
                  @@ -1632,14 +1800,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
                  @@ -1647,17 +1819,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
                  @@ -1665,17 +1842,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_; @@ -1683,34 +1865,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.
                        * 
                  @@ -1731,6 +1926,8 @@ public Builder setPrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo val return this; } /** + * + * *
                        * Primary contact info.
                        * 
                  @@ -1749,6 +1946,8 @@ public Builder setPrimaryContactInfo( return this; } /** + * + * *
                        * Primary contact info.
                        * 
                  @@ -1759,7 +1958,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; } @@ -1771,6 +1972,8 @@ public Builder mergePrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo v return this; } /** + * + * *
                        * Primary contact info.
                        * 
                  @@ -1789,6 +1992,8 @@ public Builder clearPrimaryContactInfo() { return this; } /** + * + * *
                        * Primary contact info.
                        * 
                  @@ -1796,11 +2001,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.
                        * 
                  @@ -1811,11 +2018,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.
                        * 
                  @@ -1823,14 +2033,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_; @@ -1838,6 +2051,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
                  @@ -1847,13 +2062,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; @@ -1862,6 +2077,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
                  @@ -1871,15 +2088,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 { @@ -1887,6 +2103,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
                  @@ -1896,20 +2114,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
                  @@ -1919,15 +2139,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
                  @@ -1937,16 +2160,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; @@ -1954,19 +2177,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; @@ -1975,21 +2200,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 { @@ -1997,57 +2223,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; @@ -2055,39 +2288,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) { @@ -2103,14 +2355,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(); @@ -2121,17 +2376,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; } @@ -2143,11 +2402,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) { @@ -2161,48 +2424,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_; @@ -2210,39 +2489,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) { @@ -2258,14 +2556,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(); @@ -2276,17 +2577,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; } @@ -2298,11 +2603,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) { @@ -2316,48 +2625,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_; @@ -2365,19 +2690,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; @@ -2386,21 +2713,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 { @@ -2408,57 +2736,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; @@ -2466,6 +2801,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
                  @@ -2473,13 +2810,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; @@ -2488,6 +2825,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
                        * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
                        * information, see
                  @@ -2495,15 +2834,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 { @@ -2511,6 +2849,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
                        * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
                        * information, see
                  @@ -2518,20 +2858,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
                  @@ -2539,15 +2881,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
                  @@ -2555,16 +2900,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; @@ -2572,42 +2917,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) { @@ -2623,12 +2987,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) { @@ -2642,18 +3010,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; } @@ -2665,12 +3039,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) { @@ -2684,51 +3062,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_; @@ -2736,19 +3130,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; @@ -2757,21 +3153,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 { @@ -2779,64 +3176,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); } @@ -2846,12 +3250,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(); } @@ -2860,16 +3264,16 @@ 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 { - return new Customer(input, extensionRegistry); - } - }; + 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 { + return new Customer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2884,6 +3288,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Customer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java index 05a359bc..66bbea20 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java +++ b/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,16 +45,15 @@ 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; } + private CustomerConstraints( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,68 +73,73 @@ private CustomerConstraints( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedRegions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - allowedRegions_.add(s); - break; - } - case 16: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - allowedCustomerTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedRegions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + allowedRegions_.add(s); + break; } - allowedCustomerTypes_.add(rawValue); - break; - } - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 16: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { allowedCustomerTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } allowedCustomerTypes_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - promotionalOrderTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + allowedCustomerTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + allowedCustomerTypes_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - promotionalOrderTypes_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { promotionalOrderTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } promotionalOrderTypes_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + promotionalOrderTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + promotionalOrderTypes_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,8 +147,7 @@ private CustomerConstraints( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedRegions_ = allowedRegions_.getUnmodifiableView(); @@ -141,50 +162,61 @@ private CustomerConstraints( makeExtensionsImmutable(); } } - 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. */ @@ -192,50 +224,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 @@ -243,37 +294,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. */ @@ -281,39 +347,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 @@ -321,11 +403,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. */ @@ -334,24 +420,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. */ @@ -359,9 +452,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; @@ -373,8 +468,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); @@ -413,26 +507,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -442,15 +540,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; @@ -481,118 +579,127 @@ 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() @@ -600,16 +707,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +729,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 @@ -644,7 +750,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(); @@ -669,38 +776,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; @@ -708,7 +816,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_; @@ -767,44 +876,55 @@ public Builder mergeFrom( } 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. */ @@ -812,80 +932,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() { @@ -895,20 +1025,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(); @@ -916,7 +1048,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_); @@ -924,46 +1057,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. @@ -979,15 +1135,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(); } @@ -997,16 +1159,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()); @@ -1015,11 +1183,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() { @@ -1029,23 +1202,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. */ @@ -1053,28 +1235,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 of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. * @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. */ @@ -1085,16 +1276,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); @@ -1104,7 +1299,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_); @@ -1112,34 +1308,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. */ @@ -1147,11 +1357,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. @@ -1167,15 +1381,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(); } @@ -1185,11 +1404,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. */ @@ -1203,11 +1426,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() { @@ -1217,23 +1444,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. */ @@ -1241,28 +1475,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 of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. * @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. */ @@ -1273,16 +1514,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); @@ -1290,9 +1534,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); } @@ -1302,12 +1546,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(); } @@ -1316,16 +1560,16 @@ 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 { - return new CustomerConstraints(input, extensionRegistry); - } - }; + 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 { + return new CustomerConstraints(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1340,6 +1584,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerConstraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java index df9fa18e..5107108d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java index 8613edae..21783233 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java +++ b/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,16 +44,15 @@ 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; } + private CustomerEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CustomerEvent( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + customer_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - eventType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + eventType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private CustomerEvent( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                        * 
                  @@ -118,6 +142,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
                        * Primary domain for customer was changed.
                        * 
                  @@ -126,6 +152,8 @@ public enum Type */ PRIMARY_DOMAIN_CHANGED(1), /** + * + * *
                        * Primary domain of the customer has been verified.
                        * 
                  @@ -137,6 +165,8 @@ public enum Type ; /** + * + * *
                        * Not used.
                        * 
                  @@ -145,6 +175,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Primary domain for customer was changed.
                        * 
                  @@ -153,6 +185,8 @@ public enum Type */ public static final int PRIMARY_DOMAIN_CHANGED_VALUE = 1; /** + * + * *
                        * Primary domain of the customer has been verified.
                        * 
                  @@ -161,7 +195,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( @@ -186,49 +219,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; @@ -248,12 +281,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 @@ -262,30 +298,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 { @@ -296,31 +332,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; @@ -332,8 +378,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -353,8 +398,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -364,15 +408,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -394,118 +438,127 @@ 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() @@ -513,16 +566,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +586,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 @@ -555,7 +607,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(); @@ -566,38 +619,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; @@ -644,19 +698,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; @@ -665,21 +721,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 { @@ -687,57 +744,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; @@ -745,51 +809,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. */ @@ -797,28 +875,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); } @@ -828,12 +909,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(); } @@ -842,16 +923,16 @@ 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 { - return new CustomerEvent(input, extensionRegistry); - } - }; + 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 { + return new CustomerEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java index d637b572..89016c0b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java index 3fe2fa84..e7501b72 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java index 96fc166c..f0780aa1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private CustomerRepricingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private CustomerRepricingConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null; - if (repricingConfig_ != null) { - subBuilder = repricingConfig_.toBuilder(); - } - repricingConfig_ = input.readMessage(com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repricingConfig_); - repricingConfig_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.cloud.channel.v1.RepricingConfig.Builder subBuilder = null; + if (repricingConfig_ != null) { + subBuilder = repricingConfig_.toBuilder(); + } + repricingConfig_ = + input.readMessage( + com.google.cloud.channel.v1.RepricingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repricingConfig_); + repricingConfig_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private CustomerRepricingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -129,6 +156,7 @@ private CustomerRepricingConfig(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -137,14 +165,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:
                  @@ -152,16 +181,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 { @@ -172,12 +200,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 @@ -185,25 +218,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() { @@ -213,13 +257,17 @@ 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.
                      * 
                  * - * .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 @@ -227,13 +275,17 @@ 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.
                      * 
                  * - * .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 @@ -241,13 +293,16 @@ 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.
                      * 
                  * - * .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() { @@ -255,6 +310,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -290,12 +345,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -305,24 +358,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -351,117 +402,126 @@ 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() @@ -469,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +559,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 @@ -521,7 +580,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_; @@ -541,38 +601,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; @@ -580,7 +641,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(); @@ -610,7 +672,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.CustomerRepricingConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.CustomerRepricingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,6 +685,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
                        * Output only. Resource name of the CustomerRepricingConfig.
                        * Format:
                  @@ -629,13 +694,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; @@ -644,6 +709,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Output only. Resource name of the CustomerRepricingConfig.
                        * Format:
                  @@ -651,15 +718,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 { @@ -667,6 +733,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Output only. Resource name of the CustomerRepricingConfig.
                        * Format:
                  @@ -674,20 +742,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:
                  @@ -695,15 +765,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:
                  @@ -711,16 +784,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; @@ -728,42 +801,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) { @@ -779,12 +871,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) { @@ -798,18 +894,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; } @@ -821,12 +923,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) { @@ -840,51 +946,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_; @@ -892,45 +1014,64 @@ 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.
                        * 
                  * - * .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.
                        * 
                  * - * .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.
                        * 
                  * - * .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) { @@ -946,16 +1087,19 @@ 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.
                        * 
                  * - * .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(); @@ -966,19 +1110,23 @@ public Builder setUpdateTime( 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.
                        * 
                  * - * .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; } @@ -990,13 +1138,17 @@ 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.
                        * 
                  * - * .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) { @@ -1010,61 +1162,77 @@ 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.
                        * 
                  * - * .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.
                        * 
                  * - * .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.
                        * 
                  * - * .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); } @@ -1074,12 +1242,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(); } @@ -1088,16 +1256,16 @@ 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 { - return new CustomerRepricingConfig(input, extensionRegistry); - } - }; + 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 { + return new CustomerRepricingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1112,6 +1280,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java index 65a35fe1..8df6c80a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java +++ b/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,71 +47,96 @@ 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
                      * [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.
                      * 
                  * - * .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.
                      * 
                  * - * .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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java new file mode 100644 index 00000000..737c9507 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java index ef9aaeb2..34180835 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private DeleteChannelPartnerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +72,20 @@ private DeleteChannelPartnerRepricingConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +93,41 @@ private DeleteChannelPartnerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -109,29 +136,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 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 { @@ -140,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +233,145 @@ 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() + // Construct using + // com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +381,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); } @@ -362,7 +405,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; @@ -372,46 +416,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(); @@ -435,7 +484,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +498,22 @@ 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; @@ -467,20 +522,23 @@ 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 { @@ -488,61 +546,74 @@ 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); } @@ -552,30 +623,33 @@ 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 { - return new DeleteChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +661,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..ab2928b2 --- /dev/null +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.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 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java index 98619bef..f8bf0cb5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private DeleteCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +72,20 @@ private DeleteCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +93,43 @@ private DeleteCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -111,31 +138,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 { @@ -144,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +237,127 @@ 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].
                      * 
                  * * 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() @@ -326,16 +365,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,13 +383,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(); } @@ -366,7 +405,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; @@ -376,46 +416,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(); @@ -439,7 +483,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +497,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; @@ -473,22 +523,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 { @@ -496,67 +549,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); } @@ -566,30 +632,32 @@ 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 { - return new DeleteCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +669,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..ed2b6d70 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java index 78c937e1..30204376 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private DeleteCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteCustomerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,126 @@ 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].
                      * 
                  * * 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() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,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 @@ -362,7 +397,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; @@ -372,38 +408,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; @@ -411,7 +448,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(); @@ -435,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.DeleteCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.DeleteCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,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; @@ -467,20 +510,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 { @@ -488,61 +534,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); } @@ -552,12 +611,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(); } @@ -566,16 +625,16 @@ 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 { - return new DeleteCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.DeleteCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java new file mode 100644 index 00000000..33c36302 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java index 42201edc..cf2f7b89 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java +++ b/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,16 +45,15 @@ 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; } + private EduData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private EduData( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - instituteType_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + instituteType_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - instituteSize_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + instituteSize_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - website_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + website_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,36 +107,41 @@ private EduData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                        * 
                  @@ -125,6 +150,8 @@ public enum InstituteType */ INSTITUTE_TYPE_UNSPECIFIED(0), /** + * + * *
                        * Elementary/Secondary Schools & Districts
                        * 
                  @@ -133,6 +160,8 @@ public enum InstituteType */ K12(1), /** + * + * *
                        * Higher Education Universities & Colleges
                        * 
                  @@ -144,6 +173,8 @@ public enum InstituteType ; /** + * + * *
                        * Not used.
                        * 
                  @@ -152,6 +183,8 @@ public enum InstituteType */ public static final int INSTITUTE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Elementary/Secondary Schools & Districts
                        * 
                  @@ -160,6 +193,8 @@ public enum InstituteType */ public static final int K12_VALUE = 1; /** + * + * *
                        * Higher Education Universities & Colleges
                        * 
                  @@ -168,7 +203,6 @@ public enum InstituteType */ public static final int UNIVERSITY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -193,49 +227,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; @@ -253,15 +287,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.
                        * 
                  @@ -270,6 +307,8 @@ public enum InstituteSize */ INSTITUTE_SIZE_UNSPECIFIED(0), /** + * + * *
                        * 1 - 100
                        * 
                  @@ -278,6 +317,8 @@ public enum InstituteSize */ SIZE_1_100(1), /** + * + * *
                        * 101 - 500
                        * 
                  @@ -286,6 +327,8 @@ public enum InstituteSize */ SIZE_101_500(2), /** + * + * *
                        * 501 - 1,000
                        * 
                  @@ -294,6 +337,8 @@ public enum InstituteSize */ SIZE_501_1000(3), /** + * + * *
                        * 1,001 - 2,000
                        * 
                  @@ -302,6 +347,8 @@ public enum InstituteSize */ SIZE_1001_2000(4), /** + * + * *
                        * 2,001 - 5,000
                        * 
                  @@ -310,6 +357,8 @@ public enum InstituteSize */ SIZE_2001_5000(5), /** + * + * *
                        * 5,001 - 10,000
                        * 
                  @@ -318,6 +367,8 @@ public enum InstituteSize */ SIZE_5001_10000(6), /** + * + * *
                        * 10,001 +
                        * 
                  @@ -329,6 +380,8 @@ public enum InstituteSize ; /** + * + * *
                        * Not used.
                        * 
                  @@ -337,6 +390,8 @@ public enum InstituteSize */ public static final int INSTITUTE_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * 1 - 100
                        * 
                  @@ -345,6 +400,8 @@ public enum InstituteSize */ public static final int SIZE_1_100_VALUE = 1; /** + * + * *
                        * 101 - 500
                        * 
                  @@ -353,6 +410,8 @@ public enum InstituteSize */ public static final int SIZE_101_500_VALUE = 2; /** + * + * *
                        * 501 - 1,000
                        * 
                  @@ -361,6 +420,8 @@ public enum InstituteSize */ public static final int SIZE_501_1000_VALUE = 3; /** + * + * *
                        * 1,001 - 2,000
                        * 
                  @@ -369,6 +430,8 @@ public enum InstituteSize */ public static final int SIZE_1001_2000_VALUE = 4; /** + * + * *
                        * 2,001 - 5,000
                        * 
                  @@ -377,6 +440,8 @@ public enum InstituteSize */ public static final int SIZE_2001_5000_VALUE = 5; /** + * + * *
                        * 5,001 - 10,000
                        * 
                  @@ -385,6 +450,8 @@ public enum InstituteSize */ public static final int SIZE_5001_10000_VALUE = 6; /** + * + * *
                        * 10,001 +
                        * 
                  @@ -393,7 +460,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( @@ -418,54 +484,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; @@ -485,65 +556,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 @@ -552,29 +644,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 { @@ -583,6 +675,7 @@ public java.lang.String getWebsite() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -594,12 +687,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_)) { @@ -614,13 +710,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_); @@ -633,7 +731,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); @@ -642,8 +740,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -666,118 +763,126 @@ 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() @@ -785,16 +890,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -808,9 +912,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 @@ -841,38 +945,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; @@ -922,51 +1027,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. */ @@ -974,21 +1095,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; @@ -996,51 +1120,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. */ @@ -1048,21 +1188,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; @@ -1070,18 +1213,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; @@ -1090,20 +1235,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 { @@ -1111,61 +1257,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); } @@ -1175,12 +1328,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(); } @@ -1189,16 +1342,16 @@ 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 { - return new EduData(input, extensionRegistry); - } - }; + 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 { + return new EduData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1213,6 +1366,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EduData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java index 3b7e5155..03d095dc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java index 984b7ba8..4ef3d393 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java +++ b/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,16 +48,15 @@ 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; } + private Entitlement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,147 +76,171 @@ private Entitlement( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - offer_ = s; - break; - } - case 98: { - com.google.cloud.channel.v1.CommitmentSettings.Builder subBuilder = null; - if (commitmentSettings_ != null) { - subBuilder = commitmentSettings_.toBuilder(); - } - commitmentSettings_ = input.readMessage(com.google.cloud.channel.v1.CommitmentSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitmentSettings_); - commitmentSettings_ = subBuilder.buildPartial(); + break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 104: { - int rawValue = input.readEnum(); + offer_ = s; + break; + } + case 98: + { + com.google.cloud.channel.v1.CommitmentSettings.Builder subBuilder = null; + if (commitmentSettings_ != null) { + subBuilder = commitmentSettings_.toBuilder(); + } + commitmentSettings_ = + input.readMessage( + com.google.cloud.channel.v1.CommitmentSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitmentSettings_); + commitmentSettings_ = subBuilder.buildPartial(); + } - provisioningState_ = rawValue; - break; - } - case 130: { - com.google.cloud.channel.v1.ProvisionedService.Builder subBuilder = null; - if (provisionedService_ != null) { - subBuilder = provisionedService_.toBuilder(); + break; } - provisionedService_ = input.readMessage(com.google.cloud.channel.v1.ProvisionedService.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(provisionedService_); - provisionedService_ = subBuilder.buildPartial(); + case 104: + { + int rawValue = input.readEnum(); + + provisioningState_ = rawValue; + break; } + case 130: + { + com.google.cloud.channel.v1.ProvisionedService.Builder subBuilder = null; + if (provisionedService_ != null) { + subBuilder = provisionedService_.toBuilder(); + } + provisionedService_ = + input.readMessage( + com.google.cloud.channel.v1.ProvisionedService.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(provisionedService_); + provisionedService_ = subBuilder.buildPartial(); + } - break; - } - case 144: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - suspensionReasons_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - suspensionReasons_.add(rawValue); - break; - } - case 146: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 144: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { suspensionReasons_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } suspensionReasons_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 154: { - java.lang.String s = input.readStringRequireUtf8(); - - purchaseOrderId_ = s; - break; - } - case 170: { - com.google.cloud.channel.v1.TrialSettings.Builder subBuilder = null; - if (trialSettings_ != null) { - subBuilder = trialSettings_.toBuilder(); - } - trialSettings_ = input.readMessage(com.google.cloud.channel.v1.TrialSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trialSettings_); - trialSettings_ = subBuilder.buildPartial(); + case 146: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + suspensionReasons_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + suspensionReasons_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 154: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 186: { - com.google.cloud.channel.v1.AssociationInfo.Builder subBuilder = null; - if (associationInfo_ != null) { - subBuilder = associationInfo_.toBuilder(); + purchaseOrderId_ = s; + break; } - associationInfo_ = input.readMessage(com.google.cloud.channel.v1.AssociationInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(associationInfo_); - associationInfo_ = subBuilder.buildPartial(); + case 170: + { + com.google.cloud.channel.v1.TrialSettings.Builder subBuilder = null; + if (trialSettings_ != null) { + subBuilder = trialSettings_.toBuilder(); + } + trialSettings_ = + input.readMessage( + com.google.cloud.channel.v1.TrialSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trialSettings_); + trialSettings_ = subBuilder.buildPartial(); + } + + break; } + case 186: + { + com.google.cloud.channel.v1.AssociationInfo.Builder subBuilder = null; + if (associationInfo_ != null) { + subBuilder = associationInfo_.toBuilder(); + } + associationInfo_ = + input.readMessage( + com.google.cloud.channel.v1.AssociationInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(associationInfo_); + associationInfo_ = subBuilder.buildPartial(); + } - break; - } - case 210: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - parameters_.add( - input.readMessage(com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 210: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + parameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + parameters_.add( + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -207,8 +248,7 @@ private Entitlement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { suspensionReasons_ = java.util.Collections.unmodifiableList(suspensionReasons_); @@ -220,29 +260,35 @@ private Entitlement( makeExtensionsImmutable(); } } - 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.
                        * 
                  @@ -251,6 +297,8 @@ public enum ProvisioningState */ PROVISIONING_STATE_UNSPECIFIED(0), /** + * + * *
                        * The entitlement is currently active.
                        * 
                  @@ -259,6 +307,8 @@ public enum ProvisioningState */ ACTIVE(1), /** + * + * *
                        * The entitlement is currently suspended.
                        * 
                  @@ -270,6 +320,8 @@ public enum ProvisioningState ; /** + * + * *
                        * Not used.
                        * 
                  @@ -278,6 +330,8 @@ public enum ProvisioningState */ public static final int PROVISIONING_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * The entitlement is currently active.
                        * 
                  @@ -286,6 +340,8 @@ public enum ProvisioningState */ public static final int ACTIVE_VALUE = 1; /** + * + * *
                        * The entitlement is currently suspended.
                        * 
                  @@ -294,7 +350,6 @@ public enum ProvisioningState */ public static final int SUSPENDED_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -319,10 +374,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; } } @@ -330,28 +389,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); } @@ -360,8 +419,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; @@ -379,15 +437,18 @@ private ProvisioningState(int value) { } /** + * + * *
                      * 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.
                        * 
                  @@ -396,6 +457,8 @@ public enum SuspensionReason */ SUSPENSION_REASON_UNSPECIFIED(0), /** + * + * *
                        * Entitlement was manually suspended by the Reseller.
                        * 
                  @@ -404,6 +467,8 @@ public enum SuspensionReason */ RESELLER_INITIATED(1), /** + * + * *
                        * Trial ended.
                        * 
                  @@ -412,6 +477,8 @@ public enum SuspensionReason */ TRIAL_ENDED(2), /** + * + * *
                        * Entitlement renewal was canceled.
                        * 
                  @@ -420,6 +487,8 @@ public enum SuspensionReason */ RENEWAL_WITH_TYPE_CANCEL(3), /** + * + * *
                        * Entitlement was automatically suspended on creation for pending ToS
                        * acceptance on customer.
                  @@ -429,6 +498,8 @@ public enum SuspensionReason
                        */
                       PENDING_TOS_ACCEPTANCE(4),
                       /**
                  +     *
                  +     *
                        * 
                        * Other reasons (internal reasons, abuse, etc.).
                        * 
                  @@ -440,6 +511,8 @@ public enum SuspensionReason ; /** + * + * *
                        * Not used.
                        * 
                  @@ -448,6 +521,8 @@ public enum SuspensionReason */ public static final int SUSPENSION_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Entitlement was manually suspended by the Reseller.
                        * 
                  @@ -456,6 +531,8 @@ public enum SuspensionReason */ public static final int RESELLER_INITIATED_VALUE = 1; /** + * + * *
                        * Trial ended.
                        * 
                  @@ -464,6 +541,8 @@ public enum SuspensionReason */ public static final int TRIAL_ENDED_VALUE = 2; /** + * + * *
                        * Entitlement renewal was canceled.
                        * 
                  @@ -472,6 +551,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.
                  @@ -481,6 +562,8 @@ public enum SuspensionReason
                        */
                       public static final int PENDING_TOS_ACCEPTANCE_VALUE = 4;
                       /**
                  +     *
                  +     *
                        * 
                        * Other reasons (internal reasons, abuse, etc.).
                        * 
                  @@ -489,7 +572,6 @@ public enum SuspensionReason */ public static final int OTHER_VALUE = 100; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -514,42 +596,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); } @@ -558,8 +646,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; @@ -579,12 +666,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 @@ -593,30 +683,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 { @@ -627,11 +717,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 @@ -639,11 +733,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 @@ -651,11 +749,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() { @@ -665,11 +766,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 @@ -677,11 +782,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 @@ -689,11 +798,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() { @@ -703,12 +815,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 @@ -717,30 +834,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 { @@ -751,12 +870,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 @@ -764,19 +886,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.
                  @@ -792,38 +921,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 @@ -831,23 +980,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() { @@ -857,34 +1017,51 @@ 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 @@ -892,11 +1069,16 @@ 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. */ @@ -905,24 +1087,33 @@ 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. */ @@ -930,11 +1121,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 appears in
                  @@ -944,6 +1138,7 @@ public int getSuspensionReasonsValue(int index) {
                      * 
                  * * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ @java.lang.Override @@ -952,14 +1147,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 appears in
                  @@ -969,16 +1165,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 { @@ -989,11 +1184,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 @@ -1001,23 +1201,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() { @@ -1027,11 +1238,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 @@ -1039,18 +1253,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.
                      * 
                  @@ -1065,6 +1286,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
                  @@ -1082,6 +1305,8 @@ public java.util.List getParametersList()
                       return parameters_;
                     }
                     /**
                  +   *
                  +   *
                      * 
                      * Extended entitlement parameters. When creating an entitlement, valid
                      * parameter names and values are defined in the
                  @@ -1095,11 +1320,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
                  @@ -1117,6 +1344,8 @@ public int getParametersCount() {
                       return parameters_.size();
                     }
                     /**
                  +   *
                  +   *
                      * 
                      * Extended entitlement parameters. When creating an entitlement, valid
                      * parameter names and values are defined in the
                  @@ -1134,6 +1363,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
                  @@ -1147,12 +1378,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;
                  @@ -1164,8 +1395,7 @@ public final boolean isInitialized() {
                     }
                   
                     @java.lang.Override
                  -  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_);
                  @@ -1182,7 +1412,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) {
                  @@ -1220,54 +1452,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 += unknownFields.getSerializedSize();
                       memoizedSize = size;
                  @@ -1277,53 +1504,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 (!unknownFields.equals(other.unknownFields)) return false;
                       return true;
                     }
                  @@ -1380,118 +1597,127 @@ 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() @@ -1499,17 +1725,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1569,9 +1795,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 @@ -1590,7 +1816,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) { @@ -1648,38 +1875,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; @@ -1749,9 +1977,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_); } @@ -1785,23 +2014,26 @@ public Builder mergeFrom( } 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; @@ -1810,21 +2042,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 { @@ -1832,57 +2065,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; @@ -1890,39 +2130,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) { @@ -1938,14 +2197,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(); @@ -1956,17 +2218,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; } @@ -1978,11 +2244,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) { @@ -1996,48 +2266,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_; @@ -2045,39 +2331,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) { @@ -2093,14 +2398,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(); @@ -2111,17 +2419,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; } @@ -2133,11 +2445,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) { @@ -2151,48 +2467,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_; @@ -2200,19 +2532,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; @@ -2221,21 +2557,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 { @@ -2243,57 +2582,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; @@ -2301,36 +2653,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.
                  @@ -2352,6 +2717,8 @@ public Builder setCommitmentSettings(com.google.cloud.channel.v1.CommitmentSetti
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Commitment settings for a commitment-based Offer.
                        * Required for commitment based offers.
                  @@ -2371,6 +2738,8 @@ public Builder setCommitmentSettings(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Commitment settings for a commitment-based Offer.
                        * Required for commitment based offers.
                  @@ -2382,7 +2751,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;
                           }
                  @@ -2394,6 +2765,8 @@ public Builder mergeCommitmentSettings(com.google.cloud.channel.v1.CommitmentSet
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Commitment settings for a commitment-based Offer.
                        * Required for commitment based offers.
                  @@ -2413,6 +2786,8 @@ public Builder clearCommitmentSettings() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Commitment settings for a commitment-based Offer.
                        * Required for commitment based offers.
                  @@ -2421,11 +2796,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.
                  @@ -2433,15 +2810,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.
                  @@ -2450,14 +2831,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_;
                  @@ -2465,73 +2849,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; @@ -2539,39 +2953,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) { @@ -2587,11 +3020,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) { @@ -2605,17 +3042,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; } @@ -2627,11 +3070,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) { @@ -2645,55 +3092,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_); @@ -2701,46 +3166,69 @@ 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. @@ -2756,15 +3244,21 @@ 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(); } @@ -2774,16 +3268,22 @@ 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()); @@ -2792,11 +3292,16 @@ 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() { @@ -2806,23 +3311,32 @@ 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. */ @@ -2830,28 +3344,37 @@ 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 of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. * @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. */ @@ -2862,16 +3385,20 @@ 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); @@ -2882,6 +3409,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 appears in
                  @@ -2891,13 +3420,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; @@ -2906,6 +3435,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 appears in
                  @@ -2915,15 +3446,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 { @@ -2931,6 +3461,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 appears in
                  @@ -2940,20 +3472,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 appears in
                  @@ -2963,15 +3497,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 appears in
                  @@ -2981,16 +3518,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; @@ -2998,39 +3535,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) { @@ -3046,11 +3602,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) { @@ -3064,17 +3624,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; } @@ -3086,11 +3652,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) { @@ -3104,48 +3674,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_; @@ -3153,34 +3739,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.
                        * 
                  @@ -3201,6 +3800,8 @@ public Builder setAssociationInfo(com.google.cloud.channel.v1.AssociationInfo va return this; } /** + * + * *
                        * Association information to other entitlements.
                        * 
                  @@ -3219,6 +3820,8 @@ public Builder setAssociationInfo( return this; } /** + * + * *
                        * Association information to other entitlements.
                        * 
                  @@ -3229,7 +3832,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; } @@ -3241,6 +3846,8 @@ public Builder mergeAssociationInfo(com.google.cloud.channel.v1.AssociationInfo return this; } /** + * + * *
                        * Association information to other entitlements.
                        * 
                  @@ -3259,6 +3866,8 @@ public Builder clearAssociationInfo() { return this; } /** + * + * *
                        * Association information to other entitlements.
                        * 
                  @@ -3266,11 +3875,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.
                        * 
                  @@ -3281,11 +3892,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.
                        * 
                  @@ -3293,32 +3907,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
                  @@ -3339,6 +3962,8 @@ public java.util.List getParametersList()
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3359,6 +3984,8 @@ public int getParametersCount() {
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3379,6 +4006,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
                  @@ -3391,8 +4020,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();
                  @@ -3406,6 +4034,8 @@ public Builder setParameters(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3430,6 +4060,8 @@ public Builder setParameters(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3456,6 +4088,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
                  @@ -3468,8 +4102,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();
                  @@ -3483,6 +4116,8 @@ public Builder addParameters(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3495,8 +4130,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());
                  @@ -3507,6 +4141,8 @@ public Builder addParameters(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3531,6 +4167,8 @@ public Builder addParameters(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3547,8 +4185,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);
                  @@ -3556,6 +4193,8 @@ public Builder addAllParameters(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3579,6 +4218,8 @@ public Builder clearParameters() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3602,6 +4243,8 @@ public Builder removeParameters(int index) {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Extended entitlement parameters. When creating an entitlement, valid
                        * parameter names and values are defined in the
                  @@ -3614,11 +4257,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
                  @@ -3631,14 +4275,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
                  @@ -3651,8 +4297,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 {
                  @@ -3660,6 +4306,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
                  @@ -3673,10 +4321,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
                  @@ -3689,12 +4339,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
                  @@ -3707,27 +4358,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);
                       }
                   
                  @@ -3737,12 +4391,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();
                     }
                  @@ -3751,16 +4405,16 @@ 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 {
                  -      return new Entitlement(input, extensionRegistry);
                  -    }
                  -  };
                  +  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 {
                  +          return new Entitlement(input, extensionRegistry);
                  +        }
                  +      };
                   
                     public static com.google.protobuf.Parser parser() {
                       return PARSER;
                  @@ -3775,6 +4429,4 @@ public com.google.protobuf.Parser getParserForType() {
                     public com.google.cloud.channel.v1.Entitlement getDefaultInstanceForType() {
                       return DEFAULT_INSTANCE;
                     }
                  -
                   }
                  -
                  diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
                  similarity index 73%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
                  index d36860e3..ab4d32a0 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
                  +++ b/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,16 +44,15 @@ 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; } + private EntitlementEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private EntitlementEvent( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + entitlement_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - eventType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + eventType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private EntitlementEvent( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                        * 
                  @@ -118,6 +142,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
                        * A new entitlement was created.
                        * 
                  @@ -126,6 +152,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
                  @@ -136,6 +164,8 @@ public enum Type
                        */
                       PRICE_PLAN_SWITCHED(3),
                       /**
                  +     *
                  +     *
                        * 
                        * Annual commitment for a commit plan was changed.
                        * 
                  @@ -144,6 +174,8 @@ public enum Type */ COMMITMENT_CHANGED(4), /** + * + * *
                        * An annual entitlement was renewed.
                        * 
                  @@ -152,6 +184,8 @@ public enum Type */ RENEWED(5), /** + * + * *
                        * Entitlement was suspended.
                        * 
                  @@ -160,6 +194,8 @@ public enum Type */ SUSPENDED(6), /** + * + * *
                        * Entitlement was unsuspended.
                        * 
                  @@ -168,6 +204,8 @@ public enum Type */ ACTIVATED(7), /** + * + * *
                        * Entitlement was cancelled.
                        * 
                  @@ -176,6 +214,8 @@ public enum Type */ CANCELLED(8), /** + * + * *
                        * Entitlement was upgraded or downgraded (e.g. from Google Workspace
                        * Business Standard to Google Workspace Business Plus).
                  @@ -185,6 +225,8 @@ public enum Type
                        */
                       SKU_CHANGED(9),
                       /**
                  +     *
                  +     *
                        * 
                        * The renewal settings of an entitlement has changed.
                        * 
                  @@ -193,6 +235,8 @@ public enum Type */ RENEWAL_SETTING_CHANGED(10), /** + * + * *
                        * Paid service has started on trial entitlement.
                        * 
                  @@ -201,6 +245,8 @@ public enum Type */ PAID_SERVICE_STARTED(11), /** + * + * *
                        * License was assigned to or revoked from a user.
                        * 
                  @@ -209,6 +255,8 @@ public enum Type */ LICENSE_ASSIGNMENT_CHANGED(12), /** + * + * *
                        * License cap was changed for the entitlement.
                        * 
                  @@ -220,6 +268,8 @@ public enum Type ; /** + * + * *
                        * Not used.
                        * 
                  @@ -228,6 +278,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * A new entitlement was created.
                        * 
                  @@ -236,6 +288,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
                  @@ -246,6 +300,8 @@ public enum Type
                        */
                       public static final int PRICE_PLAN_SWITCHED_VALUE = 3;
                       /**
                  +     *
                  +     *
                        * 
                        * Annual commitment for a commit plan was changed.
                        * 
                  @@ -254,6 +310,8 @@ public enum Type */ public static final int COMMITMENT_CHANGED_VALUE = 4; /** + * + * *
                        * An annual entitlement was renewed.
                        * 
                  @@ -262,6 +320,8 @@ public enum Type */ public static final int RENEWED_VALUE = 5; /** + * + * *
                        * Entitlement was suspended.
                        * 
                  @@ -270,6 +330,8 @@ public enum Type */ public static final int SUSPENDED_VALUE = 6; /** + * + * *
                        * Entitlement was unsuspended.
                        * 
                  @@ -278,6 +340,8 @@ public enum Type */ public static final int ACTIVATED_VALUE = 7; /** + * + * *
                        * Entitlement was cancelled.
                        * 
                  @@ -286,6 +350,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).
                  @@ -295,6 +361,8 @@ public enum Type
                        */
                       public static final int SKU_CHANGED_VALUE = 9;
                       /**
                  +     *
                  +     *
                        * 
                        * The renewal settings of an entitlement has changed.
                        * 
                  @@ -303,6 +371,8 @@ public enum Type */ public static final int RENEWAL_SETTING_CHANGED_VALUE = 10; /** + * + * *
                        * Paid service has started on trial entitlement.
                        * 
                  @@ -311,6 +381,8 @@ public enum Type */ public static final int PAID_SERVICE_STARTED_VALUE = 11; /** + * + * *
                        * License was assigned to or revoked from a user.
                        * 
                  @@ -319,6 +391,8 @@ public enum Type */ public static final int LICENSE_ASSIGNMENT_CHANGED_VALUE = 12; /** + * + * *
                        * License cap was changed for the entitlement.
                        * 
                  @@ -327,7 +401,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( @@ -352,59 +425,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; @@ -424,12 +507,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 @@ -438,30 +524,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 { @@ -472,31 +558,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; @@ -508,12 +604,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_); } unknownFields.writeTo(output); @@ -528,9 +624,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -540,15 +636,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -570,118 +666,127 @@ 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() @@ -689,16 +794,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -710,9 +814,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 @@ -731,7 +835,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(); @@ -742,38 +847,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; @@ -820,19 +926,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; @@ -841,21 +949,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 { @@ -863,57 +972,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; @@ -921,51 +1037,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. */ @@ -973,28 +1105,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); } @@ -1004,12 +1139,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(); } @@ -1018,16 +1153,16 @@ 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 { - return new EntitlementEvent(input, extensionRegistry); - } - }; + 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 { + return new EntitlementEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,6 +1177,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EntitlementEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java index 976156ef..2292bc4a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java index 6f192e3f..04858c84 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java +++ b/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,101 +196,152 @@ 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 appears in
                  @@ -240,10 +351,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 appears in
                  @@ -253,57 +367,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.
                      * 
                  @@ -313,6 +449,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
                  @@ -325,9 +463,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
                  @@ -342,6 +481,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
                  @@ -356,6 +497,8 @@ public interface EntitlementOrBuilder extends
                      */
                     int getParametersCount();
                     /**
                  +   *
                  +   *
                      * 
                      * Extended entitlement parameters. When creating an entitlement, valid
                      * parameter names and values are defined in the
                  @@ -368,9 +511,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
                  @@ -383,6 +528,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
                  new file mode 100644
                  index 00000000..a2ac7d42
                  --- /dev/null
                  +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
                  similarity index 68%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
                  index c2dce3f7..a2314a3c 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
                  +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.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.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; @@ -26,16 +44,15 @@ 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; } + private GetChannelPartnerLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetChannelPartnerLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private GetChannelPartnerLinkRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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}
                  @@ -110,6 +133,7 @@ private GetChannelPartnerLinkRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -118,14 +142,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}
                  @@ -133,16 +158,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 { @@ -153,31 +177,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; @@ -189,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -210,8 +249,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -221,15 +259,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -252,117 +290,127 @@ 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].
                      * 
                  * * 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() @@ -370,16 +418,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +438,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 @@ -412,7 +459,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(); @@ -423,38 +471,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; @@ -462,7 +511,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(); @@ -489,7 +539,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,6 +552,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}
                  @@ -508,13 +561,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; @@ -523,6 +576,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}
                  @@ -530,15 +585,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 { @@ -546,6 +600,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}
                  @@ -553,20 +609,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}
                  @@ -574,15 +632,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}
                  @@ -590,16 +651,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; @@ -607,51 +668,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. */ @@ -659,28 +744,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); } @@ -690,12 +780,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(); } @@ -704,16 +794,16 @@ 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 { - return new GetChannelPartnerLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new GetChannelPartnerLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -728,6 +818,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java index 2eec289f..a026f314 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java index ae79c74c..a6ab884f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private GetChannelPartnerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +72,20 @@ private GetChannelPartnerRepricingConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +93,43 @@ private GetChannelPartnerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -111,31 +138,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 { @@ -144,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +237,145 @@ 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]
                      * 
                  * * 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() + // Construct using + // com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,14 +385,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 @@ -366,7 +408,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; @@ -376,46 +419,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(); @@ -439,7 +487,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +501,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; @@ -473,22 +527,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 { @@ -496,67 +553,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); } @@ -566,30 +636,32 @@ 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 { - return new GetChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +673,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..4bf78069 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java index 73b1d5a4..d13d919a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private GetCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private GetCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +92,43 @@ private GetCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -111,31 +137,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 { @@ -144,6 +172,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +208,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +236,127 @@ 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].
                      * 
                  * * 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() @@ -326,16 +364,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,13 +382,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(); } @@ -366,7 +404,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; @@ -376,38 +415,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; @@ -415,7 +455,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(); @@ -439,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +495,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; @@ -473,22 +521,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 { @@ -496,67 +547,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); } @@ -566,12 +630,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(); } @@ -580,16 +645,16 @@ 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 { - return new GetCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +669,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..032f9aad --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java index 8d50126b..a2ad01b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private GetCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCustomerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -110,30 +135,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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ 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].
                      * 
                  * * 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() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.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 @@ -364,7 +399,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; @@ -374,38 +410,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; @@ -449,19 +486,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; @@ -470,21 +511,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 { @@ -492,64 +536,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); } @@ -559,12 +616,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(); } @@ -573,16 +630,16 @@ 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 { - return new GetCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java new file mode 100644 index 00000000..b153896b --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java index 2c2271e9..2a831fc6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private GetEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetEntitlementRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,43 @@ private GetEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,126 @@ 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].
                      * 
                  * * 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() @@ -326,16 +362,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +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_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 @@ -366,7 +401,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; @@ -376,38 +412,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; @@ -415,7 +452,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(); @@ -439,7 +477,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.GetEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.GetEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +490,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; @@ -473,22 +516,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 { @@ -496,67 +542,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); } @@ -566,12 +625,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(); } @@ -580,16 +639,16 @@ 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 { - return new GetEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new GetEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +663,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java new file mode 100644 index 00000000..92ac2af0 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java index 85d4a9b6..ea93b36a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.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.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_ = ""; @@ -28,16 +46,15 @@ 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; } + private ImportCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,54 +73,60 @@ private ImportCustomerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - customerIdentityCase_ = 2; - customerIdentity_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - customerIdentityCase_ = 3; - customerIdentity_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - authToken_ = s; - break; - } - case 40: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + customerIdentityCase_ = 2; + customerIdentity_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + customerIdentityCase_ = 3; + customerIdentity_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - overwriteIfExists_ = input.readBool(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + authToken_ = s; + break; + } + case 40: + { + overwriteIfExists_ = input.readBool(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - channelPartnerId_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + channelPartnerId_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + customer_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,35 +134,40 @@ private ImportCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; } @@ -155,41 +183,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() { @@ -200,8 +237,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; @@ -210,23 +246,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; } @@ -238,22 +275,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() { @@ -264,8 +307,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; @@ -274,23 +316,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; } @@ -303,6 +346,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
                  @@ -310,6 +355,7 @@ public java.lang.String getCloudIdentityId() {
                      * 
                  * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -318,14 +364,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
                  @@ -333,16 +380,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 { @@ -353,6 +399,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
                  @@ -361,6 +409,7 @@ public java.lang.String getParent() {
                      * 
                  * * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ @java.lang.Override @@ -369,14 +418,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
                  @@ -385,16 +435,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 { @@ -405,6 +454,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
                  @@ -412,6 +463,7 @@ public java.lang.String getAuthToken() {
                      * 
                  * * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The overwriteIfExists. */ @java.lang.Override @@ -422,6 +474,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 transfer scenarios
                  @@ -429,6 +483,7 @@ public boolean getOverwriteIfExists() {
                      * 
                  * * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The channelPartnerId. */ @java.lang.Override @@ -437,14 +492,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 transfer scenarios
                  @@ -452,16 +508,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 { @@ -472,13 +527,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 @@ -487,31 +547,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 { @@ -520,6 +582,7 @@ public java.lang.String getCustomer() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -531,8 +594,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -576,8 +638,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_); @@ -593,32 +654,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: @@ -639,8 +694,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; @@ -663,117 +717,126 @@ 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]
                      * 
                  * * 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() @@ -781,16 +844,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -810,9 +872,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 @@ -831,7 +893,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_; } @@ -852,38 +915,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; @@ -891,7 +955,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(); @@ -912,21 +977,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.unknownFields); onChanged(); @@ -947,7 +1015,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ImportCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ImportCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -956,12 +1025,12 @@ public Builder mergeFrom( } 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() { @@ -971,13 +1040,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 @@ -985,11 +1056,14 @@ public boolean hasDomain() { return customerIdentityCase_ == 2; } /** + * + * *
                        * Required. Customer domain.
                        * 
                  * * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ @java.lang.Override @@ -999,8 +1073,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; @@ -1011,24 +1084,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; } @@ -1038,30 +1112,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() { @@ -1073,20 +1152,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(); @@ -1094,11 +1175,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 @@ -1106,11 +1190,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 @@ -1120,8 +1207,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; @@ -1132,24 +1218,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; } @@ -1159,30 +1246,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() { @@ -1194,20 +1286,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(); @@ -1216,6 +1310,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
                  @@ -1223,13 +1319,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; @@ -1238,6 +1334,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller's account.
                        * Parent takes the format: accounts/{account_id} or
                  @@ -1245,15 +1343,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 { @@ -1261,6 +1358,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller's account.
                        * Parent takes the format: accounts/{account_id} or
                  @@ -1268,20 +1367,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
                  @@ -1289,15 +1390,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
                  @@ -1305,16 +1409,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; @@ -1322,6 +1426,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
                  @@ -1330,13 +1436,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; @@ -1345,6 +1451,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
                  @@ -1353,15 +1461,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 { @@ -1369,6 +1476,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
                  @@ -1377,20 +1486,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
                  @@ -1399,15 +1510,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
                  @@ -1416,23 +1530,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
                  @@ -1440,6 +1556,7 @@ public Builder setAuthTokenBytes(
                        * 
                  * * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The overwriteIfExists. */ @java.lang.Override @@ -1447,6 +1564,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
                  @@ -1454,16 +1573,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
                  @@ -1471,10 +1593,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; @@ -1482,6 +1605,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 transfer scenarios
                  @@ -1489,13 +1614,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; @@ -1504,6 +1629,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 transfer scenarios
                  @@ -1511,15 +1638,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 { @@ -1527,6 +1653,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 transfer scenarios
                  @@ -1534,20 +1662,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 transfer scenarios
                  @@ -1555,15 +1685,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 transfer scenarios
                  @@ -1571,16 +1704,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; @@ -1588,20 +1721,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; @@ -1610,22 +1747,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 { @@ -1633,67 +1773,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); } @@ -1703,12 +1856,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(); } @@ -1717,16 +1870,16 @@ 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 { - return new ImportCustomerRequest(input, extensionRegistry); - } - }; + 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 { + return new ImportCustomerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1741,6 +1894,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ImportCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java index f69c8a3c..0f23504c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java +++ b/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 transfer scenarios
                  @@ -135,10 +182,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 transfer scenarios
                  @@ -146,34 +196,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java index b3cb203e..4e894930 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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_ = ""; @@ -27,16 +46,15 @@ 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; } + private ListChannelPartnerLinksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +73,39 @@ private ListChannelPartnerLinksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private ListChannelPartnerLinksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                  @@ -122,6 +147,7 @@ private ListChannelPartnerLinksRequest(
                      * 
                  * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -130,14 +156,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
                      * Required. The resource name of the reseller account for listing channel partner
                      * links.
                  @@ -145,16 +172,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 { @@ -165,6 +191,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).
                  @@ -172,6 +200,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -182,6 +211,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
                  @@ -190,6 +221,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -198,14 +230,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
                  @@ -214,16 +247,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 { @@ -234,31 +266,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; @@ -270,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -297,15 +344,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -315,19 +360,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -354,117 +397,127 @@ 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]
                      * 
                  * * 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() @@ -472,16 +525,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,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_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 @@ -518,7 +570,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_; @@ -531,38 +584,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; @@ -570,7 +624,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(); @@ -604,7 +659,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -616,6 +672,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
                        * Required. The resource name of the reseller account for listing channel partner
                        * links.
                  @@ -623,13 +681,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; @@ -638,6 +696,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller account for listing channel partner
                        * links.
                  @@ -645,15 +705,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 { @@ -661,6 +720,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller account for listing channel partner
                        * links.
                  @@ -668,20 +729,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 account for listing channel partner
                        * links.
                  @@ -689,15 +752,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 account for listing channel partner
                        * links.
                  @@ -705,23 +771,25 @@ 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 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).
                  @@ -729,6 +797,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -736,6 +805,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).
                  @@ -743,16 +814,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).
                  @@ -760,10 +834,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; @@ -771,6 +846,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * Optional. A token for a page of results other than the first page.
                        * Obtained using
                  @@ -779,13 +856,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; @@ -794,6 +871,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token for a page of results other than the first page.
                        * Obtained using
                  @@ -802,15 +881,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 { @@ -818,6 +896,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token for a page of results other than the first page.
                        * Obtained using
                  @@ -826,20 +906,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
                  @@ -848,15 +930,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
                  @@ -865,16 +950,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; @@ -882,51 +967,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. */ @@ -934,28 +1043,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); } @@ -965,12 +1079,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(); } @@ -979,16 +1093,16 @@ 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 { - return new ListChannelPartnerLinksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerLinksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1003,6 +1117,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java index 03856888..d06af6b7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.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 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.
                  @@ -15,10 +33,13 @@ public interface ListChannelPartnerLinksRequestOrBuilder extends
                      * 
                  * * 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.
                  @@ -26,12 +47,14 @@ public interface ListChannelPartnerLinksRequestOrBuilder 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. Requested page size. Server might return fewer results than requested.
                      * If unspecified, server will pick a default size (25).
                  @@ -39,11 +62,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
                  @@ -64,26 +93,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java index 77ab6187..d393be1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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_ = ""; @@ -26,16 +45,15 @@ 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; } + private ListChannelPartnerLinksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,32 @@ private ListChannelPartnerLinksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelPartnerLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelPartnerLinks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + channelPartnerLinks_.add( + input.readMessage( + com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry)); + break; } - channelPartnerLinks_.add( - input.readMessage(com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListChannelPartnerLinksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelPartnerLinks_ = java.util.Collections.unmodifiableList(channelPartnerLinks_); @@ -94,22 +115,27 @@ private ListChannelPartnerLinksResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -117,10 +143,13 @@ private ListChannelPartnerLinksResponse( * 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.
                      * 
                  @@ -128,11 +157,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.
                      * 
                  @@ -144,6 +175,8 @@ public int getChannelPartnerLinksCount() { return channelPartnerLinks_.size(); } /** + * + * *
                      * The Channel partner links for a reseller.
                      * 
                  @@ -155,6 +188,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int return channelPartnerLinks_.get(index); } /** + * + * *
                      * The Channel partner links for a reseller.
                      * 
                  @@ -170,12 +205,15 @@ 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.
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +222,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 to retrieve the next page of results.
                      * 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 { @@ -216,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < channelPartnerLinks_.size(); i++) { output.writeMessage(1, channelPartnerLinks_.get(i)); } @@ -245,8 +283,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_); @@ -259,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +330,127 @@ 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].
                      * 
                  * * 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() @@ -411,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getChannelPartnerLinksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,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 @@ -458,7 +505,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)) { @@ -478,38 +526,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; @@ -517,7 +566,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()) { @@ -536,9 +586,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_); } @@ -567,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +628,38 @@ public Builder mergeFrom( } 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 { @@ -605,6 +667,8 @@ public java.util.List getChannel } } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -619,6 +683,8 @@ public int getChannelPartnerLinksCount() { } } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -633,6 +699,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int } } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -654,6 +722,8 @@ public Builder setChannelPartnerLinks( return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -672,6 +742,8 @@ public Builder setChannelPartnerLinks( return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -692,6 +764,8 @@ public Builder addChannelPartnerLinks(com.google.cloud.channel.v1.ChannelPartner return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -713,6 +787,8 @@ public Builder addChannelPartnerLinks( return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -731,6 +807,8 @@ public Builder addChannelPartnerLinks( return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -749,6 +827,8 @@ public Builder addChannelPartnerLinks( return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -759,8 +839,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); @@ -768,6 +847,8 @@ public Builder addAllChannelPartnerLinks( return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -785,6 +866,8 @@ public Builder clearChannelPartnerLinks() { return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -802,6 +885,8 @@ public Builder removeChannelPartnerLinks(int index) { return this; } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -813,6 +898,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL return getChannelPartnerLinksFieldBuilder().getBuilder(index); } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -822,19 +909,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 { @@ -842,6 +932,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } } /** + * + * *
                        * The Channel partner links for a reseller.
                        * 
                  @@ -849,10 +941,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.
                        * 
                  @@ -861,26 +955,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(), @@ -892,19 +994,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.
                        * 
                  * * 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; @@ -913,21 +1017,22 @@ 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.
                        * 
                  * * 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 { @@ -935,64 +1040,71 @@ 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.
                        * 
                  * * 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.
                        * 
                  * * 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.
                        * 
                  * * 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); } @@ -1002,12 +1114,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(); } @@ -1016,16 +1128,16 @@ 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 { - return new ListChannelPartnerLinksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerLinksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1152,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java index 7a261e3b..f17e913d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java +++ b/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,24 +77,29 @@ 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.
                      * 
                  * * 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.
                      * 
                  * * 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java index ca369e28..0c344cf3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java +++ b/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,16 +48,15 @@ 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;
                     }
                  +
                     private ListChannelPartnerRepricingConfigsRequest(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -56,36 +75,39 @@ private ListChannelPartnerRepricingConfigsRequest(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  -
                  -            parent_ = s;
                  -            break;
                  -          }
                  -          case 16: {
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            pageSize_ = input.readInt32();
                  -            break;
                  -          }
                  -          case 26: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +              parent_ = s;
                  +              break;
                  +            }
                  +          case 16:
                  +            {
                  +              pageSize_ = input.readInt32();
                  +              break;
                  +            }
                  +          case 26:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            pageToken_ = s;
                  -            break;
                  -          }
                  -          case 34: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +              pageToken_ = s;
                  +              break;
                  +            }
                  +          case 34:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            filter_ = s;
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +              filter_ = s;
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -93,29 +115,33 @@ private ListChannelPartnerRepricingConfigsRequest(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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:
                  @@ -124,7 +150,10 @@ private ListChannelPartnerRepricingConfigsRequest(
                      * 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 @@ -133,14 +162,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 uses the format:
                  @@ -149,17 +179,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 { @@ -170,6 +201,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 rules. The
                  @@ -177,6 +210,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -187,6 +221,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
                  @@ -195,6 +231,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -203,14 +240,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
                  @@ -219,16 +257,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 { @@ -239,6 +276,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 (channel_partner_link only). You can use this filter when you
                  @@ -251,6 +290,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -259,14 +299,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 (channel_partner_link only). You can use this filter when you
                  @@ -279,16 +320,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 { @@ -297,6 +337,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,8 +349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -335,8 +375,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_); @@ -352,21 +391,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -392,96 +428,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].
                  @@ -489,38 +534,40 @@ 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()
                  +    // Construct using
                  +    // com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.newBuilder()
                       private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -536,14 +583,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
                  @@ -557,7 +606,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_;
                  @@ -570,46 +620,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();
                  @@ -644,7 +699,9 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)
                  +                e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -656,6 +713,8 @@ 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:
                  @@ -664,14 +723,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; @@ -680,6 +741,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
                        * Parent uses the format:
                  @@ -688,16 +751,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 { @@ -705,6 +769,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
                        * Parent uses the format:
                  @@ -713,21 +779,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 uses the format:
                  @@ -736,16 +806,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 uses the format:
                  @@ -754,24 +829,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 rules. The
                  @@ -779,6 +858,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -786,6 +866,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 rules. The
                  @@ -793,16 +875,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 rules. The
                  @@ -810,10 +895,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; @@ -821,6 +907,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * Optional. A token identifying a page of results beyond the first page.
                        * Obtained through
                  @@ -829,13 +917,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; @@ -844,6 +932,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token identifying a page of results beyond the first page.
                        * Obtained through
                  @@ -852,15 +942,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 { @@ -868,6 +957,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token identifying a page of results beyond the first page.
                        * Obtained through
                  @@ -876,20 +967,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
                  @@ -898,15 +991,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
                  @@ -915,16 +1011,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; @@ -932,6 +1028,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
                        * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
                        * results (channel_partner_link only). You can use this filter when you
                  @@ -944,13 +1042,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; @@ -959,6 +1057,8 @@ public java.lang.String getFilter() { } } /** + * + * *
                        * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
                        * results (channel_partner_link only). You can use this filter when you
                  @@ -971,15 +1071,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 { @@ -987,6 +1086,8 @@ public java.lang.String getFilter() { } } /** + * + * *
                        * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
                        * results (channel_partner_link only). You can use this filter when you
                  @@ -999,20 +1100,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 (channel_partner_link only). You can use this filter when you
                  @@ -1025,15 +1128,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 (channel_partner_link only). You can use this filter when you
                  @@ -1046,23 +1152,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); } @@ -1072,30 +1178,33 @@ 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 { - return new ListChannelPartnerRepricingConfigsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerRepricingConfigsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,9 +1216,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java index a90a02a0..57830ea1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java +++ b/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 uses the format:
                  @@ -16,11 +34,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 uses the format:
                  @@ -29,13 +52,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 rules. The
                  @@ -43,11 +70,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
                  @@ -56,10 +86,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
                  @@ -68,12 +101,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 (channel_partner_link only). You can use this filter when you
                  @@ -86,10 +121,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 (channel_partner_link only). You can use this filter when you
                  @@ -102,8 +140,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java index 7eb5bd06..df8a2dc8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java +++ b/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,16 +47,15 @@ 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;
                     }
                  +
                     private ListChannelPartnerRepricingConfigsResponse(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -56,28 +75,34 @@ private ListChannelPartnerRepricingConfigsResponse(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  -              channelPartnerRepricingConfigs_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000001;
                  +          case 10:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  +                channelPartnerRepricingConfigs_ =
                  +                    new java.util.ArrayList<
                  +                        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>();
                  +                mutable_bitField0_ |= 0x00000001;
                  +              }
                  +              channelPartnerRepricingConfigs_.add(
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
                  +                      extensionRegistry));
                  +              break;
                               }
                  -            channelPartnerRepricingConfigs_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          case 18: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 18:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            nextPageToken_ = s;
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +              nextPageToken_ = s;
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -85,92 +110,121 @@ private ListChannelPartnerRepricingConfigsResponse(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         if (((mutable_bitField0_ & 0x00000001) != 0)) {
                  -        channelPartnerRepricingConfigs_ = java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
                  +        channelPartnerRepricingConfigs_ =
                  +            java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
                         }
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -178,6 +232,7 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getCha
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -186,14 +241,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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -201,16 +257,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 { @@ -219,6 +274,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < channelPartnerRepricingConfigs_.size(); i++) { output.writeMessage(1, channelPartnerRepricingConfigs_.get(i)); } @@ -248,8 +303,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_); @@ -262,17 +318,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,96 +352,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].
                  @@ -393,39 +458,42 @@ 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()
                  +    // Construct using
                  +    // com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.newBuilder()
                       private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
                           getChannelPartnerRepricingConfigsFieldBuilder();
                         }
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -441,19 +509,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);
                         }
                  @@ -462,11 +533,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_;
                  @@ -482,46 +555,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()) {
                  @@ -540,11 +618,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_);
                             }
                           }
                         }
                  @@ -571,7 +651,9 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)
                  +                e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -580,28 +662,40 @@ public Builder mergeFrom(
                         }
                         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 { @@ -609,11 +703,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) { @@ -623,13 +721,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 { @@ -637,11 +740,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) { @@ -658,14 +765,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()); @@ -676,13 +788,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(); @@ -696,11 +813,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) { @@ -717,11 +838,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) { @@ -735,14 +860,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()); @@ -753,14 +883,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( @@ -772,11 +907,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) { @@ -789,11 +928,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) { @@ -806,39 +949,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 { @@ -846,45 +1003,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(), @@ -896,6 +1075,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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -903,13 +1084,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; @@ -918,6 +1099,8 @@ 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
                  @@ -925,15 +1108,14 @@ public java.lang.String getNextPageToken() {
                        * 
                  * * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -941,6 +1123,8 @@ 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
                  @@ -948,20 +1132,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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -969,15 +1155,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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -985,23 +1174,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); } @@ -1011,30 +1200,33 @@ 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 { - return new ListChannelPartnerRepricingConfigsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListChannelPartnerRepricingConfigsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1046,9 +1238,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java index a5b6d688..9e057194 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java +++ b/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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -59,10 +98,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 [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
                  @@ -70,8 +112,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java index 3cd06d93..62955bde 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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_ = ""; @@ -27,16 +47,15 @@ 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; } + private ListCustomerRepricingConfigsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +74,39 @@ private ListCustomerRepricingConfigsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +114,33 @@ private ListCustomerRepricingConfigsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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}.
                  @@ -122,7 +148,10 @@ private ListCustomerRepricingConfigsRequest(
                      * 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 @@ -131,14 +160,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}.
                  @@ -146,17 +176,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 { @@ -167,6 +198,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 rules. The
                  @@ -174,6 +207,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +218,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
                  @@ -192,6 +228,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +237,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
                  @@ -216,16 +254,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 { @@ -236,6 +273,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
                  @@ -246,6 +285,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -254,14 +294,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
                  @@ -272,16 +313,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 { @@ -290,6 +330,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -328,8 +368,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_); @@ -345,21 +384,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,117 +421,127 @@ 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].
                      * 
                  * * 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() @@ -503,16 +549,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -528,13 +573,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(); } @@ -549,7 +595,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_; @@ -562,46 +609,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(); @@ -636,7 +687,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -648,6 +701,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}.
                  @@ -655,14 +710,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; @@ -671,6 +728,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the customer.
                        * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
                  @@ -678,16 +737,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 { @@ -695,6 +755,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the customer.
                        * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
                  @@ -702,21 +764,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}.
                  @@ -724,16 +790,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}.
                  @@ -741,24 +812,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 rules. The
                  @@ -766,6 +841,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -773,6 +849,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 rules. The
                  @@ -780,16 +858,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 rules. The
                  @@ -797,10 +878,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; @@ -808,6 +890,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * Optional. A token identifying a page of results beyond the first page.
                        * Obtained through
                  @@ -816,13 +900,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; @@ -831,6 +915,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token identifying a page of results beyond the first page.
                        * Obtained through
                  @@ -839,15 +925,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 { @@ -855,6 +940,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token identifying a page of results beyond the first page.
                        * Obtained through
                  @@ -863,20 +950,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
                  @@ -885,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 +994,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 +1011,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
                  @@ -929,13 +1023,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; @@ -944,6 +1038,8 @@ public java.lang.String getFilter() { } } /** + * + * *
                        * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
                        * results (customer only). You can use this filter when you support
                  @@ -954,15 +1050,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 +1065,8 @@ public java.lang.String getFilter() { } } /** + * + * *
                        * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
                        * results (customer only). You can use this filter when you support
                  @@ -980,20 +1077,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
                  @@ -1004,15 +1103,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
                  @@ -1023,23 +1125,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); } @@ -1049,30 +1151,32 @@ 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 { - return new ListCustomerRepricingConfigsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomerRepricingConfigsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1084,9 +1188,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java index 1e087877..4d54fe30 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java +++ b/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 rules. The
                  @@ -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
                  @@ -54,10 +84,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
                  @@ -66,12 +99,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
                  @@ -82,10 +117,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
                  @@ -96,8 +134,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java index c710519a..7a3be824 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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_ = ""; @@ -26,16 +46,15 @@ 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; } + private ListCustomerRepricingConfigsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,33 @@ private ListCustomerRepricingConfigsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customerRepricingConfigs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customerRepricingConfigs_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + customerRepricingConfigs_.add( + input.readMessage( + com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), + extensionRegistry)); + break; } - customerRepricingConfigs_.add( - input.readMessage(com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,92 +108,115 @@ private ListCustomerRepricingConfigsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - customerRepricingConfigs_ = java.util.Collections.unmodifiableList(customerRepricingConfigs_); + customerRepricingConfigs_ = + java.util.Collections.unmodifiableList(customerRepricingConfigs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
                  @@ -177,6 +224,7 @@ public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerR
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,14 +233,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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
                  @@ -200,16 +249,15 @@ public java.lang.String getNextPageToken() {
                      * 
                  * * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -218,6 +266,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customerRepricingConfigs_.size(); i++) { output.writeMessage(1, customerRepricingConfigs_.get(i)); } @@ -247,8 +295,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_); @@ -261,17 +310,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,117 +344,127 @@ 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].
                      * 
                  * * 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() @@ -413,17 +472,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCustomerRepricingConfigsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +498,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(); } @@ -460,11 +520,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_; @@ -480,46 +542,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()) { @@ -538,9 +604,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_); } @@ -569,7 +636,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,28 +647,40 @@ public Builder mergeFrom( } 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 { @@ -607,11 +688,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) { @@ -621,13 +706,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 { @@ -635,11 +725,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) { @@ -656,11 +750,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) { @@ -674,13 +772,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(); @@ -694,11 +797,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) { @@ -715,11 +822,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) { @@ -733,11 +844,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) { @@ -751,18 +866,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); @@ -770,11 +888,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) { @@ -787,11 +909,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) { @@ -804,39 +930,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 { @@ -844,45 +983,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(), @@ -894,6 +1053,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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
                  @@ -901,13 +1062,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; @@ -916,6 +1077,8 @@ 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
                  @@ -923,15 +1086,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 { @@ -939,6 +1101,8 @@ 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
                  @@ -946,20 +1110,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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
                  @@ -967,15 +1133,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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
                  @@ -983,23 +1152,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,30 +1178,32 @@ 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 { - return new ListCustomerRepricingConfigsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomerRepricingConfigsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,9 +1215,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java index 33bb4339..6526a225 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java +++ b/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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
                  @@ -59,10 +92,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 [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
                  @@ -70,8 +106,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java index 7beeee98..e1fee639 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.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.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_ = ""; @@ -27,16 +45,15 @@ 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; } + private ListCustomersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListCustomersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private ListCustomersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -129,30 +154,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 { @@ -163,6 +188,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
                  @@ -170,6 +197,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -180,6 +208,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
                  @@ -188,6 +218,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -196,14 +227,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
                  @@ -212,16 +244,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 { @@ -232,6 +263,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
                      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -239,6 +272,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -247,14 +281,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
                      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -262,16 +297,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 { @@ -280,6 +314,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -318,8 +352,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_); @@ -335,21 +368,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,118 +404,127 @@ 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]
                      * 
                  * * 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() @@ -493,16 +532,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -518,9 +556,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 @@ -539,7 +577,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_; @@ -552,38 +591,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; @@ -591,7 +631,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(); @@ -638,19 +679,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; @@ -659,21 +702,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 { @@ -681,64 +725,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
                  @@ -746,6 +799,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -753,6 +807,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
                  @@ -760,16 +816,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
                  @@ -777,10 +836,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; @@ -788,6 +848,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * Optional. A token identifying a page of results other than the first page.
                        * Obtained through
                  @@ -796,13 +858,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; @@ -811,6 +873,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token identifying a page of results other than the first page.
                        * Obtained through
                  @@ -819,15 +883,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 { @@ -835,6 +898,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token identifying a page of results other than the first page.
                        * Obtained through
                  @@ -843,20 +908,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
                  @@ -865,15 +932,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
                  @@ -882,16 +952,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; @@ -899,6 +969,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
                        * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
                        * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -906,13 +978,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; @@ -921,6 +993,8 @@ public java.lang.String getFilter() { } } /** + * + * *
                        * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
                        * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -928,15 +1002,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 { @@ -944,6 +1017,8 @@ public java.lang.String getFilter() { } } /** + * + * *
                        * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
                        * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -951,20 +1026,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
                        * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -972,15 +1049,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
                        * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -988,23 +1068,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); } @@ -1014,12 +1094,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(); } @@ -1028,16 +1108,16 @@ 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 { - return new ListCustomersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCustomersRequest(input, extensionRegistry); + } + }; 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java index 10025586..9f2a5789 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java +++ b/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
                  @@ -50,10 +76,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
                  @@ -62,12 +91,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
                      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -75,10 +106,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
                      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
                  @@ -86,8 +120,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java index e02a211d..77c4c55d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.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 [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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListCustomersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListCustomersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - customers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + customers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + customers_.add( + input.readMessage( + com.google.cloud.channel.v1.Customer.parser(), extensionRegistry)); + break; } - customers_.add( - input.readMessage(com.google.cloud.channel.v1.Customer.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListCustomersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { customers_ = java.util.Collections.unmodifiableList(customers_); @@ -94,22 +113,27 @@ private ListCustomersResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +145,8 @@ public java.util.List getCustomersList() { return customers_; } /** + * + * *
                      * The customers belonging to a reseller or distributor.
                      * 
                  @@ -128,11 +154,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.
                      * 
                  @@ -144,6 +172,8 @@ public int getCustomersCount() { return customers_.size(); } /** + * + * *
                      * The customers belonging to a reseller or distributor.
                      * 
                  @@ -155,6 +185,8 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { return customers_.get(index); } /** + * + * *
                      * The customers belonging to a reseller or distributor.
                      * 
                  @@ -162,20 +194,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.
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
                      * A token to retrieve the next page of results.
                      * 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 { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customers_.size(); i++) { output.writeMessage(1, customers_.get(i)); } @@ -245,8 +279,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_); @@ -259,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,126 @@ 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].
                      * 
                  * * 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() @@ -411,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCustomersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,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_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 @@ -458,7 +499,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)) { @@ -478,38 +520,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; @@ -517,7 +560,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()) { @@ -536,9 +580,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_); } @@ -567,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListCustomersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListCustomersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +622,28 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -605,6 +658,8 @@ public java.util.List getCustomersList() { } } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -619,6 +674,8 @@ public int getCustomersCount() { } } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -633,14 +690,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(); @@ -654,6 +712,8 @@ public Builder setCustomers( return this; } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -672,6 +732,8 @@ public Builder setCustomers( return this; } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -692,14 +754,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(); @@ -713,14 +776,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()); @@ -731,6 +795,8 @@ public Builder addCustomers( return this; } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -749,6 +815,8 @@ public Builder addCustomers( return this; } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -759,8 +827,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); @@ -768,6 +835,8 @@ public Builder addAllCustomers( return this; } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -785,6 +854,8 @@ public Builder clearCustomers() { return this; } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -802,39 +873,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 { @@ -842,6 +918,8 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( } } /** + * + * *
                        * The customers belonging to a reseller or distributor.
                        * 
                  @@ -849,42 +927,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_; @@ -892,19 +975,21 @@ 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 [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; @@ -913,21 +998,22 @@ 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.
                        * 
                  * * 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 { @@ -935,64 +1021,71 @@ 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.
                        * 
                  * * 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.
                        * 
                  * * 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.
                        * 
                  * * 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); } @@ -1002,12 +1095,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(); } @@ -1016,16 +1109,16 @@ 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 { - return new ListCustomersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCustomersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1133,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java index 186f250b..fa355933 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java +++ b/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,43 +54,51 @@ 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 [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.
                      * 
                  * * 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java index 82d01a6a..ff40fd72 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListEntitlementsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListEntitlementsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,36 +104,43 @@ private ListEntitlementsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -123,31 +149,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 { @@ -158,6 +186,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.
                  @@ -165,6 +195,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -175,6 +206,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
                  @@ -183,6 +216,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -191,14 +225,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
                      * Optional. A token for a page of results other than the first page.
                      * Obtained using
                  @@ -207,16 +242,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 { @@ -225,6 +259,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -260,8 +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_); @@ -274,19 +307,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -310,117 +341,126 @@ 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]
                      * 
                  * * 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() @@ -428,16 +468,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +490,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 @@ -472,7 +511,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_; @@ -484,38 +524,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; @@ -523,7 +564,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(); @@ -554,7 +596,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListEntitlementsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListEntitlementsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -566,20 +609,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; @@ -588,22 +635,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 { @@ -611,67 +661,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.
                  @@ -679,6 +744,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -686,6 +752,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. Requested page size. Server might return fewer results than requested.
                        * If unspecified, return at most 50 entitlements.
                  @@ -693,16 +761,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.
                  @@ -710,10 +781,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; @@ -721,6 +793,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * Optional. A token for a page of results other than the first page.
                        * Obtained using
                  @@ -729,13 +803,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; @@ -744,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token for a page of results other than the first page.
                        * Obtained using
                  @@ -752,15 +828,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 { @@ -768,6 +843,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A token for a page of results other than the first page.
                        * Obtained using
                  @@ -776,20 +853,22 @@ public java.lang.String getPageToken() {
                        * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + 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
                  @@ -798,15 +877,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
                  @@ -815,23 +897,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); } @@ -841,12 +923,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(); } @@ -855,16 +937,16 @@ 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 { - return new ListEntitlementsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListEntitlementsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -879,6 +961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java index 3154b405..61bcf3b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java +++ b/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.
                  @@ -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
                  @@ -52,10 +82,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
                  @@ -64,8 +97,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java index 045b7d67..c6129775 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.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 [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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListEntitlementsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListEntitlementsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + entitlements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + entitlements_.add( + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); + break; } - entitlements_.add( - input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListEntitlementsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entitlements_ = java.util.Collections.unmodifiableList(entitlements_); @@ -94,22 +113,27 @@ private ListEntitlementsResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +145,8 @@ public java.util.List getEntitlementsLi return entitlements_; } /** + * + * *
                      * The reseller customer's entitlements.
                      * 
                  @@ -128,11 +154,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.
                      * 
                  @@ -144,6 +172,8 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** + * + * *
                      * The reseller customer's entitlements.
                      * 
                  @@ -155,6 +185,8 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** + * + * *
                      * The reseller customer's entitlements.
                      * 
                  @@ -162,20 +194,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.
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
                      * A token to list the next page of results.
                      * 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 { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -245,8 +279,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_); @@ -259,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,126 @@ 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].
                      * 
                  * * 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() @@ -411,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEntitlementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,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_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 @@ -458,7 +499,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)) { @@ -478,38 +520,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; @@ -517,7 +560,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()) { @@ -536,9 +580,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_); } @@ -567,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListEntitlementsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListEntitlementsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +622,29 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -605,6 +659,8 @@ public java.util.List getEntitlementsLi } } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -619,6 +675,8 @@ public int getEntitlementsCount() { } } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -633,14 +691,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(); @@ -654,6 +713,8 @@ public Builder setEntitlements( return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -672,6 +733,8 @@ public Builder setEntitlements( return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -692,14 +755,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(); @@ -713,6 +777,8 @@ public Builder addEntitlements( return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -731,6 +797,8 @@ public Builder addEntitlements( return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -749,6 +817,8 @@ public Builder addEntitlements( return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -759,8 +829,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); @@ -768,6 +837,8 @@ public Builder addAllEntitlements( return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -785,6 +856,8 @@ public Builder clearEntitlements() { return this; } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -802,39 +875,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 { @@ -842,6 +920,8 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** + * + * *
                        * The reseller customer's entitlements.
                        * 
                  @@ -849,42 +929,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_; @@ -892,19 +978,21 @@ 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 [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; @@ -913,21 +1001,22 @@ 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.
                        * 
                  * * 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 { @@ -935,64 +1024,71 @@ 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.
                        * 
                  * * 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.
                        * 
                  * * 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.
                        * 
                  * * 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); } @@ -1002,12 +1098,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(); } @@ -1016,16 +1112,16 @@ 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 { - return new ListEntitlementsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListEntitlementsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java index 4300d617..94ca6a76 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java +++ b/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,43 +54,51 @@ 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 [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.
                      * 
                  * * 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java index 56ab38c9..c6c70402 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListOffersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListOffersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,40 @@ private ListOffersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -136,30 +162,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 { @@ -170,6 +196,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.
                  @@ -177,6 +205,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -187,11 +216,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 @@ -200,29 +232,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 { @@ -233,6 +265,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
                  @@ -242,6 +276,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -250,14 +285,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
                  @@ -267,16 +303,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 { @@ -287,6 +322,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.
                  @@ -294,6 +331,7 @@ public java.lang.String getFilter() {
                      * 
                  * * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -302,14 +340,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.
                  @@ -317,16 +356,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 { @@ -335,6 +373,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -376,8 +414,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_); @@ -396,23 +433,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -439,118 +472,127 @@ 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() @@ -558,16 +600,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +626,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 @@ -606,7 +647,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_; @@ -620,38 +662,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; @@ -710,19 +753,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; @@ -731,21 +776,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 { @@ -753,64 +799,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.
                  @@ -818,6 +873,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -825,6 +881,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. Requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 500 Offers.
                  @@ -832,16 +890,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.
                  @@ -849,10 +910,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; @@ -860,18 +922,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; @@ -880,20 +944,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 { @@ -901,54 +966,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; @@ -956,6 +1028,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
                  @@ -965,13 +1039,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; @@ -980,6 +1054,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
                  @@ -989,15 +1065,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 { @@ -1005,6 +1080,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
                  @@ -1014,20 +1091,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
                  @@ -1037,15 +1116,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
                  @@ -1055,16 +1137,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; @@ -1072,6 +1154,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.
                  @@ -1079,13 +1163,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; @@ -1094,6 +1178,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.
                  @@ -1101,15 +1187,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 { @@ -1117,6 +1202,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.
                  @@ -1124,20 +1211,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.
                  @@ -1145,15 +1234,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.
                  @@ -1161,23 +1253,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); } @@ -1187,12 +1279,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(); } @@ -1201,16 +1293,16 @@ 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 { - return new ListOffersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListOffersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1225,6 +1317,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java index a3868659..9f25af28 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java +++ b/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.
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java index e41769aa..095c811d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListOffersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListOffersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - offers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + offers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + offers_.add( + input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry)); + break; } - offers_.add( - input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListOffersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { offers_ = java.util.Collections.unmodifiableList(offers_); @@ -94,22 +112,27 @@ private ListOffersResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +144,8 @@ public java.util.List getOffersList() { return offers_; } /** + * + * *
                      * The list of Offers requested.
                      * 
                  @@ -128,11 +153,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.
                      * 
                  @@ -144,6 +171,8 @@ public int getOffersCount() { return offers_.size(); } /** + * + * *
                      * The list of Offers requested.
                      * 
                  @@ -155,6 +184,8 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { return offers_.get(index); } /** + * + * *
                      * The list of Offers requested.
                      * 
                  @@ -162,19 +193,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 @@ -183,29 +216,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 { @@ -214,6 +247,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -243,8 +276,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_); @@ -257,17 +289,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,118 +321,127 @@ 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() @@ -409,17 +449,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOffersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +475,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 @@ -456,7 +496,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)) { @@ -476,38 +517,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; @@ -534,9 +576,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_); } @@ -574,21 +617,28 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -603,6 +653,8 @@ public java.util.List getOffersList() { } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -617,6 +669,8 @@ public int getOffersCount() { } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -631,14 +685,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(); @@ -652,14 +707,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()); @@ -670,6 +726,8 @@ public Builder setOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -690,14 +748,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(); @@ -711,14 +770,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()); @@ -729,14 +789,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()); @@ -747,6 +808,8 @@ public Builder addOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -757,8 +820,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); @@ -766,6 +828,8 @@ public Builder addAllOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -783,6 +847,8 @@ public Builder clearOffers() { return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -800,39 +866,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 { @@ -840,6 +911,8 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -847,42 +920,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_; @@ -890,18 +968,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; @@ -910,20 +990,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 { @@ -931,61 +1012,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); } @@ -995,12 +1083,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(); } @@ -1009,16 +1097,16 @@ 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 { - return new ListOffersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListOffersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1121,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java index 08bf54a7..47c050a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java index 8ba04cef..f4be2109 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListProductsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListProductsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private ListProductsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -129,30 +154,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 { @@ -163,6 +188,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.
                  @@ -170,6 +197,7 @@ public java.lang.String getAccount() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -180,11 +208,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 @@ -193,29 +224,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 { @@ -226,6 +257,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.
                  @@ -233,6 +266,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -241,14 +275,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.
                  @@ -256,16 +291,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 { @@ -274,6 +308,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,8 +320,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -312,8 +346,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_); @@ -329,21 +362,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -368,118 +398,127 @@ 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() @@ -487,16 +526,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -512,9 +550,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 @@ -533,7 +571,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_; @@ -546,38 +585,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; @@ -585,7 +625,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(); @@ -632,19 +673,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; @@ -653,21 +696,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 { @@ -675,64 +719,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.
                  @@ -740,6 +793,7 @@ public Builder setAccountBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -747,6 +801,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. Requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 100 Products.
                  @@ -754,16 +810,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.
                  @@ -771,10 +830,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; @@ -782,18 +842,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; @@ -802,20 +864,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 { @@ -823,54 +886,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; @@ -878,6 +948,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.
                  @@ -885,13 +957,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; @@ -900,6 +972,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.
                  @@ -907,15 +981,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 { @@ -923,6 +996,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.
                  @@ -930,20 +1005,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.
                  @@ -951,15 +1028,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.
                  @@ -967,23 +1047,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); } @@ -993,12 +1073,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(); } @@ -1007,16 +1087,16 @@ 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 { - return new ListProductsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListProductsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1031,6 +1111,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java index d5b648a4..060de000 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java +++ b/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.
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java index ee29d48b..504af3b3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListProductsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListProductsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - products_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + products_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + products_.add( + input.readMessage( + com.google.cloud.channel.v1.Product.parser(), extensionRegistry)); + break; } - products_.add( - input.readMessage(com.google.cloud.channel.v1.Product.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListProductsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { products_ = java.util.Collections.unmodifiableList(products_); @@ -94,22 +113,27 @@ private ListProductsResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +145,8 @@ public java.util.List getProductsList() { return products_; } /** + * + * *
                      * List of Products requested.
                      * 
                  @@ -128,11 +154,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.
                      * 
                  @@ -144,6 +172,8 @@ public int getProductsCount() { return products_.size(); } /** + * + * *
                      * List of Products requested.
                      * 
                  @@ -155,6 +185,8 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { return products_.get(index); } /** + * + * *
                      * List of Products requested.
                      * 
                  @@ -162,19 +194,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 @@ -183,29 +217,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 { @@ -214,6 +248,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < products_.size(); i++) { output.writeMessage(1, products_.get(i)); } @@ -243,8 +277,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_); @@ -257,17 +290,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,118 +322,127 @@ 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() @@ -409,17 +450,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getProductsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +476,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 @@ -456,7 +497,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)) { @@ -476,38 +518,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; @@ -515,7 +558,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()) { @@ -534,9 +578,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_); } @@ -574,21 +619,28 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -603,6 +655,8 @@ public java.util.List getProductsList() { } } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -617,6 +671,8 @@ public int getProductsCount() { } } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -631,14 +687,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(); @@ -652,6 +709,8 @@ public Builder setProducts( return this; } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -670,6 +729,8 @@ public Builder setProducts( return this; } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -690,14 +751,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(); @@ -711,14 +773,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()); @@ -729,6 +792,8 @@ public Builder addProducts( return this; } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -747,6 +812,8 @@ public Builder addProducts( return this; } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -757,8 +824,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); @@ -766,6 +832,8 @@ public Builder addAllProducts( return this; } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -783,6 +851,8 @@ public Builder clearProducts() { return this; } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -800,39 +870,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 { @@ -840,6 +915,8 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( } } /** + * + * *
                        * List of Products requested.
                        * 
                  @@ -847,42 +924,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_; @@ -890,18 +972,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; @@ -910,20 +994,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 { @@ -931,61 +1016,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); } @@ -995,12 +1087,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(); } @@ -1009,16 +1101,16 @@ 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 { - return new ListProductsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListProductsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java index b4d0a76b..cf288372 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java index 0a937767..5fd5497b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListPurchasableOffersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,64 +72,90 @@ private ListPurchasableOffersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder subBuilder = null; - if (purchaseOptionCase_ == 2) { - subBuilder = ((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_).toBuilder(); + customer_ = s; + break; } - purchaseOption_ = - input.readMessage(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder + subBuilder = null; + if (purchaseOptionCase_ == 2) { + subBuilder = + ((com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase) + purchaseOption_) + .toBuilder(); + } + purchaseOption_ = + input.readMessage( + com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase) + purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); + } + purchaseOptionCase_ = 2; + break; } - purchaseOptionCase_ = 2; - break; - } - case 26: { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder subBuilder = null; - if (purchaseOptionCase_ == 3) { - subBuilder = ((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_).toBuilder(); + case 26: + { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder + subBuilder = null; + if (purchaseOptionCase_ == 3) { + subBuilder = + ((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_) + .toBuilder(); + } + purchaseOption_ = + input.readMessage( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); + } + purchaseOptionCase_ = 3; + break; } - purchaseOption_ = - input.readMessage(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); + case 32: + { + pageSize_ = input.readInt32(); + break; } - purchaseOptionCase_ = 3; - break; - } - case 32: { - - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,84 +163,95 @@ private ListPurchasableOffersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; } + private CreateEntitlementPurchase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -216,19 +270,20 @@ private CreateEntitlementPurchase( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - sku_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + sku_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -236,35 +291,42 @@ private CreateEntitlementPurchase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -273,30 +335,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 { @@ -305,6 +367,7 @@ public java.lang.String getSku() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,8 +379,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -341,15 +403,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -368,88 +432,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 @@ -459,44 +537,53 @@ 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() + // Construct using + // com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,19 +593,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); } @@ -526,8 +617,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; @@ -537,46 +631,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(); @@ -596,11 +701,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parsedMessage = null; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,19 +720,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; @@ -633,21 +743,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 { @@ -655,61 +766,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) { @@ -722,30 +841,34 @@ 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 { - return new CreateEntitlementPurchase(input, extensionRegistry); - } - }; + 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 { + return new CreateEntitlementPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,17 +880,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:
                  @@ -775,10 +901,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:
                  @@ -786,12 +915,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:
                  @@ -799,10 +930,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:
                  @@ -810,27 +944,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_ = ""; @@ -838,16 +975,15 @@ 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; } + private ChangeOfferPurchase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -866,25 +1002,27 @@ private ChangeOfferPurchase( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + entitlement_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - newSku_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + newSku_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -892,29 +1030,34 @@ private ChangeOfferPurchase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -922,6 +1065,7 @@ private ChangeOfferPurchase(
                        * 
                  * * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ @java.lang.Override @@ -930,14 +1074,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:
                  @@ -945,16 +1090,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 { @@ -965,6 +1109,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:
                  @@ -972,6 +1118,7 @@ public java.lang.String getEntitlement() {
                        * 
                  * * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The newSku. */ @java.lang.Override @@ -980,14 +1127,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:
                  @@ -995,16 +1143,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 { @@ -1013,6 +1160,7 @@ public java.lang.String getNewSku() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1024,8 +1172,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1055,17 +1202,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1086,88 +1234,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 @@ -1177,44 +1338,51 @@ 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() + // Construct using + // com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1226,19 +1394,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); } @@ -1246,8 +1417,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(); @@ -1258,46 +1431,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(); @@ -1321,11 +1503,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parsedMessage = null; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1337,6 +1522,8 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** + * + * *
                          * Required. Resource name of the entitlement.
                          * Format:
                  @@ -1344,13 +1531,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; @@ -1359,6 +1546,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
                          * Required. Resource name of the entitlement.
                          * Format:
                  @@ -1366,15 +1555,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 { @@ -1382,6 +1570,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
                          * Required. Resource name of the entitlement.
                          * Format:
                  @@ -1389,20 +1579,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:
                  @@ -1410,15 +1602,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:
                  @@ -1426,16 +1621,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; @@ -1443,6 +1638,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:
                  @@ -1450,13 +1647,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; @@ -1465,6 +1662,8 @@ public java.lang.String getNewSku() { } } /** + * + * *
                          * Optional. Resource name of the new target SKU. Provide this SKU when
                          * upgrading or downgrading an entitlement. Format:
                  @@ -1472,15 +1671,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 { @@ -1488,6 +1686,8 @@ public java.lang.String getNewSku() { } } /** + * + * *
                          * Optional. Resource name of the new target SKU. Provide this SKU when
                          * upgrading or downgrading an entitlement. Format:
                  @@ -1495,20 +1695,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:
                  @@ -1516,15 +1718,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:
                  @@ -1532,20 +1737,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) { @@ -1558,30 +1764,34 @@ 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 { - return new ChangeOfferPurchase(input, extensionRegistry); - } - }; + 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 { + return new ChangeOfferPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1593,21 +1803,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; } @@ -1623,30 +1836,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 @@ -1654,42 +1875,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 @@ -1697,44 +1938,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 @@ -1743,30 +2004,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 { @@ -1777,6 +2040,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.
                  @@ -1784,6 +2049,7 @@ public java.lang.String getCustomer() {
                      * 
                  * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1794,11 +2060,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 @@ -1807,29 +2076,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 { @@ -1840,6 +2109,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.
                  @@ -1847,6 +2118,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -1855,14 +2127,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.
                  @@ -1870,16 +2143,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 { @@ -1888,6 +2160,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1899,16 +2172,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_); @@ -1932,16 +2210,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_); @@ -1957,30 +2240,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: @@ -2022,117 +2301,127 @@ 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() @@ -2140,16 +2429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2167,9 +2455,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 @@ -2188,7 +2476,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_; @@ -2216,38 +2505,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; @@ -2255,7 +2545,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(); @@ -2272,17 +2563,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.unknownFields); onChanged(); @@ -2303,7 +2597,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableOffersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2312,12 +2607,12 @@ public Builder mergeFrom( } 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() { @@ -2327,15 +2622,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 @@ -2343,35 +2647,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(); @@ -2385,14 +2704,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(); @@ -2403,18 +2727,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; } @@ -2430,11 +2767,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) { @@ -2453,67 +2794,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 @@ -2521,35 +2902,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(); @@ -2563,14 +2958,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(); @@ -2581,18 +2981,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; } @@ -2608,11 +3020,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) { @@ -2631,74 +3047,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; @@ -2707,21 +3154,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 { @@ -2729,64 +3179,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.
                  @@ -2794,6 +3259,7 @@ public Builder setCustomerBytes(
                        * 
                  * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2801,6 +3267,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. Requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 100 Offers.
                  @@ -2808,16 +3276,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.
                  @@ -2825,10 +3296,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; @@ -2836,18 +3308,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; @@ -2856,20 +3330,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 { @@ -2877,54 +3352,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; @@ -2932,6 +3414,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.
                  @@ -2939,13 +3423,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; @@ -2954,6 +3438,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.
                  @@ -2961,15 +3447,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 { @@ -2977,6 +3462,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.
                  @@ -2984,20 +3471,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.
                  @@ -3005,15 +3494,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.
                  @@ -3021,23 +3513,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); } @@ -3047,12 +3539,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(); } @@ -3061,16 +3553,16 @@ 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 { - return new ListPurchasableOffersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableOffersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3085,6 +3577,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListPurchasableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java index e3053d25..850718c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java +++ b/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.
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java index 6d70a3d4..909e9aa5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListPurchasableOffersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListPurchasableOffersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - purchasableOffers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + purchasableOffers_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + purchasableOffers_.add( + input.readMessage( + com.google.cloud.channel.v1.PurchasableOffer.parser(), extensionRegistry)); + break; } - purchasableOffers_.add( - input.readMessage(com.google.cloud.channel.v1.PurchasableOffer.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListPurchasableOffersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { purchasableOffers_ = java.util.Collections.unmodifiableList(purchasableOffers_); @@ -94,22 +114,27 @@ private ListPurchasableOffersResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +146,8 @@ public java.util.List getPurchasab return purchasableOffers_; } /** + * + * *
                      * The list of Offers requested.
                      * 
                  @@ -128,11 +155,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.
                      * 
                  @@ -144,6 +173,8 @@ public int getPurchasableOffersCount() { return purchasableOffers_.size(); } /** + * + * *
                      * The list of Offers requested.
                      * 
                  @@ -155,6 +186,8 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind return purchasableOffers_.get(index); } /** + * + * *
                      * The list of Offers requested.
                      * 
                  @@ -170,11 +203,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 @@ -183,29 +219,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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < purchasableOffers_.size(); i++) { output.writeMessage(1, purchasableOffers_.get(i)); } @@ -243,8 +279,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_); @@ -257,17 +293,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +326,127 @@ 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() @@ -409,17 +454,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPurchasableOffersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +480,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 @@ -456,7 +501,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)) { @@ -476,38 +522,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; @@ -515,7 +562,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()) { @@ -534,9 +582,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_); } @@ -565,7 +614,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableOffersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableOffersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +624,30 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -603,6 +662,8 @@ public java.util.List getPurchasab } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -617,6 +678,8 @@ public int getPurchasableOffersCount() { } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -631,6 +694,8 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -652,6 +717,8 @@ public Builder setPurchasableOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -670,6 +737,8 @@ public Builder setPurchasableOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -690,6 +759,8 @@ public Builder addPurchasableOffers(com.google.cloud.channel.v1.PurchasableOffer return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -711,6 +782,8 @@ public Builder addPurchasableOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -729,6 +802,8 @@ public Builder addPurchasableOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -747,6 +822,8 @@ public Builder addPurchasableOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -757,8 +834,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); @@ -766,6 +842,8 @@ public Builder addAllPurchasableOffers( return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -783,6 +861,8 @@ public Builder clearPurchasableOffers() { return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -800,6 +880,8 @@ public Builder removePurchasableOffers(int index) { return this; } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -811,6 +893,8 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder getPurchasableOffers return getPurchasableOffersFieldBuilder().getBuilder(index); } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -820,19 +904,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 { @@ -840,6 +927,8 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer } } /** + * + * *
                        * The list of Offers requested.
                        * 
                  @@ -847,10 +936,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.
                        * 
                  @@ -859,26 +950,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(), @@ -890,18 +989,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; @@ -910,20 +1011,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 { @@ -931,61 +1033,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); } @@ -995,12 +1104,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(); } @@ -1009,16 +1118,16 @@ 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 { - return new ListPurchasableOffersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableOffersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1142,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListPurchasableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java index f59f9a8b..485e62df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java index dd36b91b..bf528bdd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListPurchasableSkusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,64 +72,90 @@ private ListPurchasableSkusRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder subBuilder = null; - if (purchaseOptionCase_ == 2) { - subBuilder = ((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_).toBuilder(); + customer_ = s; + break; } - purchaseOption_ = - input.readMessage(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .Builder + subBuilder = null; + if (purchaseOptionCase_ == 2) { + subBuilder = + ((com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchase) + purchaseOption_) + .toBuilder(); + } + purchaseOption_ = + input.readMessage( + com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchase.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchase) + purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); + } + purchaseOptionCase_ = 2; + break; } - purchaseOptionCase_ = 2; - break; - } - case 26: { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder subBuilder = null; - if (purchaseOptionCase_ == 3) { - subBuilder = ((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_).toBuilder(); + case 26: + { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder + subBuilder = null; + if (purchaseOptionCase_ == 3) { + subBuilder = + ((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_) + .toBuilder(); + } + purchaseOption_ = + input.readMessage( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_); + purchaseOption_ = subBuilder.buildPartial(); + } + purchaseOptionCase_ = 3; + break; } - purchaseOption_ = - input.readMessage(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_); - purchaseOption_ = subBuilder.buildPartial(); + case 32: + { + pageSize_ = input.readInt32(); + break; } - purchaseOptionCase_ = 3; - break; - } - case 32: { - - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,31 +163,36 @@ private ListPurchasableSkusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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}.
                  @@ -152,10 +200,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}.
                  @@ -163,44 +214,47 @@ 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; } + private CreateEntitlementPurchase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -219,19 +273,20 @@ private CreateEntitlementPurchase( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - product_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + product_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -239,29 +294,35 @@ private CreateEntitlementPurchase( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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}.
                  @@ -269,6 +330,7 @@ private CreateEntitlementPurchase(
                        * 
                  * * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The product. */ @java.lang.Override @@ -277,14 +339,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}.
                  @@ -292,16 +355,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 { @@ -310,6 +372,7 @@ public java.lang.String getProduct() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,8 +384,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -346,15 +408,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,88 +437,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 @@ -464,45 +542,53 @@ 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() + // Construct using + // com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -512,19 +598,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); } @@ -532,8 +622,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; @@ -543,46 +636,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(); @@ -602,11 +705,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parsedMessage = null; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,6 +724,8 @@ public Builder mergeFrom( private java.lang.Object product_ = ""; /** + * + * *
                          * Required. List SKUs belonging to this Product.
                          * Format: products/{product_id}.
                  @@ -625,13 +733,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; @@ -640,6 +748,8 @@ public java.lang.String getProduct() { } } /** + * + * *
                          * Required. List SKUs belonging to this Product.
                          * Format: products/{product_id}.
                  @@ -647,15 +757,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 { @@ -663,6 +772,8 @@ public java.lang.String getProduct() { } } /** + * + * *
                          * Required. List SKUs belonging to this Product.
                          * Format: products/{product_id}.
                  @@ -670,20 +781,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}.
                  @@ -691,15 +804,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}.
                  @@ -707,20 +823,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) { @@ -733,30 +850,34 @@ 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 { - return new CreateEntitlementPurchase(input, extensionRegistry); - } - }; + 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 { + return new CreateEntitlementPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -768,17 +889,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:
                  @@ -786,10 +910,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:
                  @@ -797,31 +924,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 [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
                  @@ -829,15 +969,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;
                  @@ -845,16 +986,15 @@ 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;
                       }
                  +
                       private ChangeOfferPurchase(
                           com.google.protobuf.CodedInputStream input,
                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -873,25 +1013,27 @@ private ChangeOfferPurchase(
                               case 0:
                                 done = true;
                                 break;
                  -            case 10: {
                  -              java.lang.String s = input.readStringRequireUtf8();
                  +            case 10:
                  +              {
                  +                java.lang.String s = input.readStringRequireUtf8();
                   
                  -              entitlement_ = s;
                  -              break;
                  -            }
                  -            case 16: {
                  -              int rawValue = input.readEnum();
                  +                entitlement_ = s;
                  +                break;
                  +              }
                  +            case 16:
                  +              {
                  +                int rawValue = input.readEnum();
                   
                  -              changeType_ = rawValue;
                  -              break;
                  -            }
                  -            default: {
                  -              if (!parseUnknownField(
                  -                  input, unknownFields, extensionRegistry, tag)) {
                  -                done = true;
                  +                changeType_ = rawValue;
                  +                break;
                  +              }
                  +            default:
                  +              {
                  +                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                  done = true;
                  +                }
                  +                break;
                                 }
                  -              break;
                  -            }
                             }
                           }
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -899,36 +1041,43 @@ private ChangeOfferPurchase(
                         } catch (com.google.protobuf.UninitializedMessageException e) {
                           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                         } catch (java.io.IOException e) {
                  -        throw new com.google.protobuf.InvalidProtocolBufferException(
                  -            e).setUnfinishedMessage(this);
                  +        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                         } finally {
                           this.unknownFields = unknownFields.build();
                           makeExtensionsImmutable();
                         }
                       }
                  -    public static final com.google.protobuf.Descriptors.Descriptor
                  -        getDescriptor() {
                  -      return com.google.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.
                          * 
                  @@ -937,6 +1086,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
                          * SKU is an upgrade on the current entitlement.
                          * 
                  @@ -945,6 +1096,8 @@ public enum ChangeType */ UPGRADE(1), /** + * + * *
                          * SKU is a downgrade on the current entitlement.
                          * 
                  @@ -956,6 +1109,8 @@ public enum ChangeType ; /** + * + * *
                          * Not used.
                          * 
                  @@ -964,6 +1119,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                          * SKU is an upgrade on the current entitlement.
                          * 
                  @@ -972,6 +1129,8 @@ public enum ChangeType */ public static final int UPGRADE_VALUE = 1; /** + * + * *
                          * SKU is a downgrade on the current entitlement.
                          * 
                  @@ -980,7 +1139,6 @@ public enum ChangeType */ public static final int DOWNGRADE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1005,49 +1163,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; @@ -1067,6 +1228,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:
                  @@ -1074,6 +1237,7 @@ private ChangeType(int value) {
                        * 
                  * * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ @java.lang.Override @@ -1082,14 +1246,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:
                  @@ -1097,16 +1262,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 { @@ -1117,31 +1281,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; @@ -1153,12 +1336,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_); } unknownFields.writeTo(output); @@ -1173,9 +1358,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1185,15 +1372,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1215,88 +1403,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 @@ -1306,6 +1507,8 @@ 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].
                  @@ -1313,38 +1516,42 @@ 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()
                  +      // Construct using
                  +      // com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder()
                         private Builder() {
                           maybeForceBuilderInitialization();
                         }
                   
                  -      private Builder(
                  -          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                           super(parent);
                           maybeForceBuilderInitialization();
                         }
                  +
                         private void maybeForceBuilderInitialization() {
                  -        if (com.google.protobuf.GeneratedMessageV3
                  -                .alwaysUseFieldBuilders) {
                  -        }
                  +        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                         }
                  +
                         @java.lang.Override
                         public Builder clear() {
                           super.clear();
                  @@ -1356,19 +1563,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);
                           }
                  @@ -1376,8 +1586,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();
                  @@ -1388,46 +1600,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();
                  @@ -1450,11 +1670,14 @@ public Builder mergeFrom(
                             com.google.protobuf.CodedInputStream input,
                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws java.io.IOException {
                  -        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parsedMessage = null;
                  +        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parsedMessage =
                  +            null;
                           try {
                             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -          parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) e.getUnfinishedMessage();
                  +          parsedMessage =
                  +              (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)
                  +                  e.getUnfinishedMessage();
                             throw e.unwrapIOException();
                           } finally {
                             if (parsedMessage != null) {
                  @@ -1466,6 +1689,8 @@ public Builder mergeFrom(
                   
                         private java.lang.Object entitlement_ = "";
                         /**
                  +       *
                  +       *
                          * 
                          * Required. Resource name of the entitlement.
                          * Format:
                  @@ -1473,13 +1698,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; @@ -1488,6 +1713,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
                          * Required. Resource name of the entitlement.
                          * Format:
                  @@ -1495,15 +1722,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 { @@ -1511,6 +1737,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
                          * Required. Resource name of the entitlement.
                          * Format:
                  @@ -1518,20 +1746,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:
                  @@ -1539,15 +1769,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:
                  @@ -1555,16 +1788,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; @@ -1572,77 +1805,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) { @@ -1655,30 +1924,33 @@ 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 { - return new ChangeOfferPurchase(input, extensionRegistry); - } - }; + 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 { + return new ChangeOfferPurchase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1690,21 +1962,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; } @@ -1720,30 +1995,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 @@ -1751,42 +2034,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 @@ -1794,44 +2097,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 @@ -1840,30 +2163,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 { @@ -1874,6 +2199,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.
                  @@ -1881,6 +2208,7 @@ public java.lang.String getCustomer() {
                      * 
                  * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1891,11 +2219,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 @@ -1904,29 +2235,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 { @@ -1937,6 +2268,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.
                  @@ -1944,6 +2277,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -1952,14 +2286,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.
                  @@ -1967,16 +2302,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 { @@ -1985,6 +2319,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1996,16 +2331,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_); @@ -2029,16 +2369,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_); @@ -2054,30 +2399,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: @@ -2119,117 +2460,127 @@ 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() @@ -2237,16 +2588,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2264,9 +2614,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 @@ -2285,7 +2635,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_; @@ -2313,38 +2664,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; @@ -2352,7 +2704,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(); @@ -2369,17 +2722,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.unknownFields); onChanged(); @@ -2400,7 +2756,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableSkusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2409,12 +2766,12 @@ public Builder mergeFrom( } 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() { @@ -2424,15 +2781,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 @@ -2440,35 +2806,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(); @@ -2482,14 +2862,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(); @@ -2500,18 +2885,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; } @@ -2527,11 +2925,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) { @@ -2550,67 +2952,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 @@ -2618,35 +3057,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(); @@ -2660,14 +3113,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(); @@ -2678,18 +3136,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; } @@ -2705,11 +3174,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) { @@ -2728,74 +3201,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; @@ -2804,21 +3307,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 { @@ -2826,64 +3332,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.
                  @@ -2891,6 +3412,7 @@ public Builder setCustomerBytes(
                        * 
                  * * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2898,6 +3420,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. Requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 100 SKUs.
                  @@ -2905,16 +3429,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.
                  @@ -2922,10 +3449,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; @@ -2933,18 +3461,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; @@ -2953,20 +3483,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 { @@ -2974,54 +3505,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; @@ -3029,6 +3567,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.
                  @@ -3036,13 +3576,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; @@ -3051,6 +3591,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.
                  @@ -3058,15 +3600,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 { @@ -3074,6 +3615,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.
                  @@ -3081,20 +3624,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.
                  @@ -3102,15 +3647,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.
                  @@ -3118,23 +3666,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); } @@ -3144,12 +3692,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(); } @@ -3158,16 +3706,16 @@ 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 { - return new ListPurchasableSkusRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableSkusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3182,6 +3730,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ListPurchasableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java index ef8d102c..e43f580c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java +++ b/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.
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java index b0e37255..9f781285 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListPurchasableSkusResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListPurchasableSkusResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - purchasableSkus_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + purchasableSkus_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + purchasableSkus_.add( + input.readMessage( + com.google.cloud.channel.v1.PurchasableSku.parser(), extensionRegistry)); + break; } - purchasableSkus_.add( - input.readMessage(com.google.cloud.channel.v1.PurchasableSku.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListPurchasableSkusResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { purchasableSkus_ = java.util.Collections.unmodifiableList(purchasableSkus_); @@ -94,22 +114,27 @@ private ListPurchasableSkusResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +146,8 @@ public java.util.List getPurchasable return purchasableSkus_; } /** + * + * *
                      * The list of SKUs requested.
                      * 
                  @@ -128,11 +155,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.
                      * 
                  @@ -144,6 +173,8 @@ public int getPurchasableSkusCount() { return purchasableSkus_.size(); } /** + * + * *
                      * The list of SKUs requested.
                      * 
                  @@ -155,6 +186,8 @@ public com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index) return purchasableSkus_.get(index); } /** + * + * *
                      * The list of SKUs requested.
                      * 
                  @@ -170,11 +203,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 @@ -183,29 +219,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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < purchasableSkus_.size(); i++) { output.writeMessage(1, purchasableSkus_.get(i)); } @@ -243,8 +279,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_); @@ -257,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +325,127 @@ 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() @@ -409,17 +453,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPurchasableSkusFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,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_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 @@ -456,7 +500,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)) { @@ -476,38 +521,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; @@ -515,7 +561,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()) { @@ -534,9 +581,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_); } @@ -565,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListPurchasableSkusResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListPurchasableSkusResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +623,29 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -603,6 +660,8 @@ public java.util.List getPurchasable } } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -617,6 +676,8 @@ public int getPurchasableSkusCount() { } } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -631,14 +692,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(); @@ -652,6 +714,8 @@ public Builder setPurchasableSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -670,6 +734,8 @@ public Builder setPurchasableSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -690,14 +756,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(); @@ -711,6 +778,8 @@ public Builder addPurchasableSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -729,6 +798,8 @@ public Builder addPurchasableSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -747,6 +818,8 @@ public Builder addPurchasableSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -757,8 +830,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); @@ -766,6 +838,8 @@ public Builder addAllPurchasableSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -783,6 +857,8 @@ public Builder clearPurchasableSkus() { return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -800,17 +876,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.
                        * 
                  @@ -820,19 +899,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 { @@ -840,6 +922,8 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB } } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -847,38 +931,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(), @@ -890,18 +983,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; @@ -910,20 +1005,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 { @@ -931,61 +1027,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); } @@ -995,12 +1098,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(); } @@ -1009,16 +1112,16 @@ 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 { - return new ListPurchasableSkusResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPurchasableSkusResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListPurchasableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java index 13738b4f..be43459a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java index d81da2b3..ec6264c6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListSkusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListSkusRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,36 +120,43 @@ private ListSkusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -137,31 +165,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 { @@ -172,12 +202,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 @@ -186,30 +219,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 { @@ -220,6 +253,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.
                  @@ -227,6 +262,7 @@ public java.lang.String getAccount() {
                      * 
                  * * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -237,12 +273,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 @@ -251,30 +290,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 { @@ -285,6 +324,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.
                  @@ -292,6 +333,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -300,14 +342,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.
                  @@ -315,16 +358,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 { @@ -333,6 +375,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -377,8 +419,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_); @@ -394,23 +435,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -437,118 +474,127 @@ 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() @@ -556,16 +602,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +628,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 @@ -604,7 +649,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_; @@ -618,38 +664,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; @@ -708,20 +755,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; @@ -730,22 +781,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 { @@ -753,60 +807,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; @@ -814,19 +881,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; @@ -835,21 +904,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 { @@ -857,64 +927,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.
                  @@ -922,6 +1001,7 @@ public Builder setAccountBytes(
                        * 
                  * * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -929,6 +1009,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. Requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 100 SKUs.
                  @@ -936,16 +1018,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.
                  @@ -953,10 +1038,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; @@ -964,19 +1050,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; @@ -985,21 +1073,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 { @@ -1007,57 +1096,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; @@ -1065,6 +1161,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.
                  @@ -1072,13 +1170,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; @@ -1087,6 +1185,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.
                  @@ -1094,15 +1194,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 { @@ -1110,6 +1209,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.
                  @@ -1117,20 +1218,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.
                  @@ -1138,15 +1241,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.
                  @@ -1154,23 +1260,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); } @@ -1180,12 +1286,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(); } @@ -1194,16 +1300,16 @@ 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 { - return new ListSkusRequest(input, extensionRegistry); - } - }; + 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 { + return new ListSkusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1324,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java index 66a1040f..c315d541 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java +++ b/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.
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java index 711c8cbb..031d318d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListSkusResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListSkusResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - skus_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + skus_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + skus_.add( + input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry)); + break; } - skus_.add( - input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListSkusResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { skus_ = java.util.Collections.unmodifiableList(skus_); @@ -94,22 +112,27 @@ private ListSkusResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +144,8 @@ public java.util.List getSkusList() { return skus_; } /** + * + * *
                      * The list of SKUs requested.
                      * 
                  @@ -128,11 +153,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.
                      * 
                  @@ -144,6 +170,8 @@ public int getSkusCount() { return skus_.size(); } /** + * + * *
                      * The list of SKUs requested.
                      * 
                  @@ -155,6 +183,8 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { return skus_.get(index); } /** + * + * *
                      * The list of SKUs requested.
                      * 
                  @@ -162,19 +192,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 @@ -183,29 +215,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 { @@ -214,6 +246,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < skus_.size(); i++) { output.writeMessage(1, skus_.get(i)); } @@ -243,8 +275,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_); @@ -257,17 +288,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,118 +320,127 @@ 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() @@ -409,17 +448,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getSkusFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +474,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 @@ -456,7 +495,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)) { @@ -476,38 +516,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; @@ -534,9 +575,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_); } @@ -574,21 +616,28 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -603,6 +652,8 @@ public java.util.List getSkusList() { } } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -617,6 +668,8 @@ public int getSkusCount() { } } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -631,14 +684,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(); @@ -652,14 +706,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()); @@ -670,6 +725,8 @@ public Builder setSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -690,14 +747,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(); @@ -711,14 +769,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()); @@ -729,14 +788,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()); @@ -747,6 +807,8 @@ public Builder addSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -757,8 +819,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); @@ -766,6 +827,8 @@ public Builder addAllSkus( return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -783,6 +846,8 @@ public Builder clearSkus() { return this; } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -800,39 +865,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 { @@ -840,6 +910,8 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( } } /** + * + * *
                        * The list of SKUs requested.
                        * 
                  @@ -847,42 +919,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_; @@ -890,18 +966,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; @@ -910,20 +988,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 { @@ -931,61 +1010,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); } @@ -995,12 +1081,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(); } @@ -1009,16 +1095,16 @@ 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 { - return new ListSkusResponse(input, extensionRegistry); - } - }; + 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 { + return new ListSkusResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java index 7f465a8a..0af82b1b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java index f6827703..e9a41d9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java +++ b/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,16 +44,15 @@ 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; } + private ListSubscribersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListSubscribersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - account_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListSubscribersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -121,29 +145,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 { @@ -154,6 +178,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.
                  @@ -162,6 +188,7 @@ public java.lang.String getAccount() {
                      * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -172,6 +199,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.
                  @@ -180,6 +209,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -188,14 +218,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.
                  @@ -204,16 +235,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 { @@ -222,6 +252,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -257,8 +287,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_); @@ -271,19 +300,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,117 +334,126 @@ 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() @@ -425,16 +461,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +483,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 @@ -469,7 +504,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_; @@ -481,38 +517,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; @@ -520,7 +557,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(); @@ -551,7 +589,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListSubscribersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListSubscribersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,18 +602,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; @@ -583,20 +624,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 { @@ -604,61 +646,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.
                  @@ -667,6 +718,7 @@ public Builder setAccountBytes(
                        * 
                  * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -674,6 +726,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Optional. The maximum number of service accounts to return. The service may return
                        * fewer than this value.
                  @@ -682,16 +736,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.
                  @@ -700,10 +757,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; @@ -711,6 +769,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.
                  @@ -719,13 +779,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 +794,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A page token, received from a previous `ListSubscribers` call.
                        * Provide this to retrieve the subsequent page.
                  @@ -742,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 { @@ -758,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * Optional. A page token, received from a previous `ListSubscribers` call.
                        * Provide this to retrieve the subsequent page.
                  @@ -766,20 +829,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.
                  @@ -788,15 +853,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.
                  @@ -805,23 +873,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); } @@ -831,12 +899,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(); } @@ -845,16 +913,16 @@ 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 { - return new ListSubscribersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListSubscribersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +937,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java index d5eb7d1b..5426586d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java +++ b/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.
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java index faba6abb..bfaa8722 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java +++ b/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,16 +45,15 @@ 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; } + private ListSubscribersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,34 +73,37 @@ private ListSubscribersResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceAccounts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + topic_ = s; + break; } - serviceAccounts_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceAccounts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + serviceAccounts_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,8 +111,7 @@ private ListSubscribersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serviceAccounts_ = serviceAccounts_.getUnmodifiableView(); @@ -101,27 +120,33 @@ private ListSubscribersResponse( makeExtensionsImmutable(); } } - 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 @@ -130,29 +155,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 { @@ -163,34 +188,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. */ @@ -198,28 +231,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 @@ -228,30 +266,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 { @@ -260,6 +298,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -313,19 +351,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,117 +387,126 @@ 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() @@ -469,16 +514,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -492,9 +536,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 @@ -513,7 +557,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)) { @@ -530,38 +575,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; @@ -569,7 +615,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(); @@ -607,7 +654,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListSubscribersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListSubscribersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -616,22 +664,25 @@ public Builder mergeFrom( } 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; @@ -640,20 +691,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 { @@ -661,95 +713,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. */ @@ -757,80 +826,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() { @@ -840,20 +919,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(); @@ -862,19 +943,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; @@ -883,21 +966,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 { @@ -905,64 +989,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); } @@ -972,12 +1063,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(); } @@ -986,16 +1077,16 @@ 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 { - return new ListSubscribersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListSubscribersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1010,6 +1101,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java index 21c49ff2..9993f1af 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java index ae856c5d..e5fc08b2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.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.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_ = ""; @@ -28,16 +46,15 @@ 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; } + private ListTransferableOffersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,54 +73,60 @@ private ListTransferableOffersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 5; - transferredCustomerIdentity_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 5; + transferredCustomerIdentity_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - sku_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + sku_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,35 +134,40 @@ private ListTransferableOffersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; } @@ -155,41 +183,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() { @@ -200,8 +237,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; @@ -210,23 +246,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; } @@ -238,24 +275,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() { @@ -266,8 +309,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; @@ -276,24 +318,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; } @@ -306,11 +349,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 @@ -319,29 +365,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 { @@ -352,6 +398,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.
                  @@ -359,6 +407,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -369,6 +418,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
                  @@ -377,6 +428,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -385,14 +437,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
                  @@ -401,16 +454,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 { @@ -421,11 +473,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 @@ -434,29 +489,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 { @@ -467,6 +522,8 @@ public java.lang.String getSku() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 7; 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.
                  @@ -474,6 +531,7 @@ public java.lang.String getSku() {
                      * 
                  * * string language_code = 7; + * * @return The languageCode. */ @java.lang.Override @@ -482,14 +540,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.
                  @@ -497,16 +556,15 @@ public java.lang.String getLanguageCode() {
                      * 
                  * * string language_code = 7; + * * @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 { @@ -515,6 +573,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -526,8 +585,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -562,17 +620,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_); @@ -588,32 +647,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: @@ -657,117 +711,127 @@ 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]
                      * 
                  * * 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() @@ -775,16 +839,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -804,9 +867,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 @@ -825,7 +888,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_; } @@ -846,38 +910,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; @@ -885,7 +950,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(); @@ -906,21 +972,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.unknownFields); onChanged(); @@ -941,7 +1010,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListTransferableOffersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListTransferableOffersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -950,12 +1020,12 @@ public Builder mergeFrom( } 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() { @@ -965,13 +1035,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 @@ -979,11 +1051,14 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** + * + * *
                        * Customer's Cloud Identity ID
                        * 
                  * * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ @java.lang.Override @@ -993,8 +1068,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; @@ -1005,24 +1079,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; } @@ -1032,30 +1107,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() { @@ -1067,20 +1147,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(); @@ -1088,12 +1170,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 @@ -1101,12 +1186,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 @@ -1116,8 +1204,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; @@ -1128,25 +1215,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; } @@ -1156,32 +1244,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() { @@ -1193,21 +1286,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(); @@ -1216,18 +1311,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; @@ -1236,20 +1333,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 { @@ -1257,61 +1355,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.
                  @@ -1319,6 +1426,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1326,6 +1434,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * Requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 100 offers.
                  @@ -1333,16 +1443,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.
                  @@ -1350,10 +1463,11 @@ public Builder setPageSize(int value) {
                        * 
                  * * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1361,6 +1475,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * A token for a page of results other than the first page.
                        * Obtained using
                  @@ -1369,13 +1485,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; @@ -1384,6 +1500,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * A token for a page of results other than the first page.
                        * Obtained using
                  @@ -1392,15 +1510,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 { @@ -1408,6 +1525,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * A token for a page of results other than the first page.
                        * Obtained using
                  @@ -1416,20 +1535,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
                  @@ -1438,15 +1559,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
                  @@ -1455,16 +1579,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; @@ -1472,18 +1596,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; @@ -1492,20 +1618,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 { @@ -1513,54 +1640,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; @@ -1568,6 +1702,8 @@ public Builder setSkuBytes( 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.
                  @@ -1575,13 +1711,13 @@ public Builder setSkuBytes(
                        * 
                  * * string language_code = 7; + * * @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; @@ -1590,6 +1726,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.
                  @@ -1597,15 +1735,14 @@ public java.lang.String getLanguageCode() {
                        * 
                  * * string language_code = 7; + * * @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 { @@ -1613,6 +1750,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.
                  @@ -1620,20 +1759,22 @@ public java.lang.String getLanguageCode() {
                        * 
                  * * string language_code = 7; + * * @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.
                  @@ -1641,15 +1782,18 @@ public Builder setLanguageCode(
                        * 
                  * * string language_code = 7; + * * @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.
                  @@ -1657,23 +1801,23 @@ public Builder clearLanguageCode() {
                        * 
                  * * string language_code = 7; + * * @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); } @@ -1683,12 +1827,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(); } @@ -1697,16 +1841,16 @@ 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 { - return new ListTransferableOffersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableOffersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1721,6 +1865,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListTransferableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java index adb61fd0..53b7240f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java +++ b/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
                  @@ -109,10 +151,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
                  @@ -121,32 +166,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(); /** + * + * *
                      * The BCP-47 language code. For example, "en-US". The
                      * response will localize in the corresponding language code, if specified.
                  @@ -154,10 +206,13 @@ public interface ListTransferableOffersRequestOrBuilder extends
                      * 
                  * * string language_code = 7; + * * @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.
                  @@ -165,10 +220,11 @@ public interface ListTransferableOffersRequestOrBuilder extends
                      * 
                  * * string language_code = 7; + * * @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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java index bf764158..71ba0cce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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_ = ""; @@ -26,16 +45,15 @@ 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; } + private ListTransferableOffersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,32 @@ private ListTransferableOffersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transferableOffers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transferableOffers_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + transferableOffers_.add( + input.readMessage( + com.google.cloud.channel.v1.TransferableOffer.parser(), extensionRegistry)); + break; } - transferableOffers_.add( - input.readMessage(com.google.cloud.channel.v1.TransferableOffer.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListTransferableOffersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transferableOffers_ = java.util.Collections.unmodifiableList(transferableOffers_); @@ -94,22 +115,27 @@ private ListTransferableOffersResponse( makeExtensionsImmutable(); } } - 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.
                  @@ -122,6 +148,8 @@ public java.util.List getTransfer
                       return transferableOffers_;
                     }
                     /**
                  +   *
                  +   *
                      * 
                      * Information about Offers for a customer that can be used for
                      * transfer.
                  @@ -130,11 +158,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.
                  @@ -147,6 +177,8 @@ public int getTransferableOffersCount() {
                       return transferableOffers_.size();
                     }
                     /**
                  +   *
                  +   *
                      * 
                      * Information about Offers for a customer that can be used for
                      * transfer.
                  @@ -159,6 +191,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.
                  @@ -175,6 +209,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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -182,6 +218,7 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -190,14 +227,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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -205,16 +243,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 { @@ -223,6 +260,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferableOffers_.size(); i++) { output.writeMessage(1, transferableOffers_.get(i)); } @@ -252,8 +289,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_); @@ -266,17 +303,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +336,127 @@ 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].
                      * 
                  * * 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() @@ -418,17 +464,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTransferableOffersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +490,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 @@ -465,7 +511,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)) { @@ -485,38 +532,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; @@ -524,7 +572,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()) { @@ -543,9 +592,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_); } @@ -574,7 +624,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListTransferableOffersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListTransferableOffersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,21 +634,30 @@ public Builder mergeFrom( } 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.
                  @@ -605,7 +665,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 {
                  @@ -613,6 +674,8 @@ public java.util.List getTransfer
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -628,6 +691,8 @@ public int getTransferableOffersCount() {
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -643,6 +708,8 @@ public com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int i
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -665,6 +732,8 @@ public Builder setTransferableOffers(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -684,6 +753,8 @@ public Builder setTransferableOffers(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -705,6 +776,8 @@ public Builder addTransferableOffers(com.google.cloud.channel.v1.TransferableOff
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -727,6 +800,8 @@ public Builder addTransferableOffers(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -746,6 +821,8 @@ public Builder addTransferableOffers(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -765,6 +842,8 @@ public Builder addTransferableOffers(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -776,8 +855,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);
                  @@ -785,6 +863,8 @@ public Builder addAllTransferableOffers(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -803,6 +883,8 @@ public Builder clearTransferableOffers() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -821,6 +903,8 @@ public Builder removeTransferableOffers(int index) {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -833,6 +917,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.
                  @@ -843,11 +929,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.
                  @@ -855,8 +944,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 {
                  @@ -864,6 +953,8 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Information about Offers for a customer that can be used for
                        * transfer.
                  @@ -872,10 +963,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.
                  @@ -885,10 +978,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.
                  @@ -896,16 +991,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(),
                  @@ -917,6 +1018,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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -924,13 +1027,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; @@ -939,6 +1042,8 @@ 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
                  @@ -946,15 +1051,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 { @@ -962,6 +1066,8 @@ 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
                  @@ -969,20 +1075,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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -990,15 +1098,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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -1006,23 +1117,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); } @@ -1032,12 +1143,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(); } @@ -1046,16 +1157,16 @@ 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 { - return new ListTransferableOffersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableOffersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1181,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListTransferableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java index 87bee9e1..36f0dddb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java +++ b/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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -64,10 +90,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 [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
                  @@ -75,8 +104,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java index fb9f3b34..89e61d16 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.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.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_ = ""; @@ -28,16 +46,15 @@ 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; } + private ListTransferableSkusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,54 +73,60 @@ private ListTransferableSkusRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - authToken_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + authToken_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 7; - transferredCustomerIdentity_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 7; + transferredCustomerIdentity_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,35 +134,40 @@ private ListTransferableSkusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; } @@ -155,41 +183,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() { @@ -200,8 +237,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; @@ -210,23 +246,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; } @@ -238,6 +275,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.
                  @@ -246,12 +285,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.
                  @@ -260,6 +302,7 @@ public boolean hasCustomerName() {
                      * 
                  * * string customer_name = 7; + * * @return The customerName. */ public java.lang.String getCustomerName() { @@ -270,8 +313,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; @@ -280,6 +322,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
                      * A reseller is required to create a customer and use the resource name of
                      * the created customer here.
                  @@ -288,18 +332,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; } @@ -312,12 +355,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 @@ -326,30 +372,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 { @@ -360,6 +406,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.
                  @@ -368,6 +416,7 @@ public java.lang.String getParent() {
                      * 
                  * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -378,6 +427,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
                  @@ -387,6 +438,7 @@ public int getPageSize() {
                      * 
                  * * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -395,14 +447,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
                  @@ -412,16 +465,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 { @@ -432,6 +484,8 @@ public java.lang.String getPageToken() { public static final int AUTH_TOKEN_FIELD_NUMBER = 5; 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
                  @@ -440,6 +494,7 @@ public java.lang.String getPageToken() {
                      * 
                  * * string auth_token = 5; + * * @return The authToken. */ @java.lang.Override @@ -448,14 +503,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
                  @@ -464,16 +520,15 @@ public java.lang.String getAuthToken() {
                      * 
                  * * string auth_token = 5; + * * @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 { @@ -484,6 +539,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.
                  @@ -492,6 +549,7 @@ public java.lang.String getAuthToken() {
                      * 
                  * * string language_code = 6; + * * @return The languageCode. */ @java.lang.Override @@ -500,14 +558,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.
                  @@ -516,16 +575,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 { @@ -534,6 +592,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -545,8 +604,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -581,14 +639,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_); @@ -597,7 +655,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -607,32 +666,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: @@ -676,117 +730,127 @@ 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]
                      * 
                  * * 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() @@ -794,16 +858,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -823,9 +886,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 @@ -844,7 +907,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_; } @@ -865,38 +929,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; @@ -904,7 +969,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(); @@ -925,21 +991,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.unknownFields); onChanged(); @@ -960,7 +1029,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListTransferableSkusRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListTransferableSkusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -969,12 +1039,12 @@ public Builder mergeFrom( } 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() { @@ -984,13 +1054,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 @@ -998,11 +1070,14 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** + * + * *
                        * Customer's Cloud Identity ID
                        * 
                  * * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ @java.lang.Override @@ -1012,8 +1087,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; @@ -1024,24 +1098,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; } @@ -1051,30 +1126,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() { @@ -1086,20 +1166,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(); @@ -1107,6 +1189,8 @@ public Builder setCloudIdentityIdBytes( } /** + * + * *
                        * A reseller is required to create a customer and use the resource name of
                        * the created customer here.
                  @@ -1115,6 +1199,7 @@ public Builder setCloudIdentityIdBytes(
                        * 
                  * * string customer_name = 7; + * * @return Whether the customerName field is set. */ @java.lang.Override @@ -1122,6 +1207,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.
                  @@ -1130,6 +1217,7 @@ public boolean hasCustomerName() {
                        * 
                  * * string customer_name = 7; + * * @return The customerName. */ @java.lang.Override @@ -1139,8 +1227,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; @@ -1151,6 +1238,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
                        * A reseller is required to create a customer and use the resource name of
                        * the created customer here.
                  @@ -1159,19 +1248,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; } @@ -1181,6 +1269,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
                        * A reseller is required to create a customer and use the resource name of
                        * the created customer here.
                  @@ -1189,20 +1279,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.
                  @@ -1211,6 +1303,7 @@ public Builder setCustomerName(
                        * 
                  * * string customer_name = 7; + * * @return This builder for chaining. */ public Builder clearCustomerName() { @@ -1222,6 +1315,8 @@ public Builder clearCustomerName() { return this; } /** + * + * *
                        * A reseller is required to create a customer and use the resource name of
                        * the created customer here.
                  @@ -1230,15 +1325,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(); @@ -1247,19 +1342,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; @@ -1268,21 +1365,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 { @@ -1290,64 +1388,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.
                  @@ -1356,6 +1463,7 @@ public Builder setParentBytes(
                        * 
                  * * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1363,6 +1471,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
                        * The requested page size. Server might return fewer results than requested.
                        * If unspecified, returns at most 100 SKUs.
                  @@ -1371,16 +1481,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.
                  @@ -1389,10 +1502,11 @@ public Builder setPageSize(int value) {
                        * 
                  * * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1400,6 +1514,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
                        * A token for a page of results other than the first page.
                        * Obtained using
                  @@ -1409,13 +1525,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; @@ -1424,6 +1540,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * A token for a page of results other than the first page.
                        * Obtained using
                  @@ -1433,15 +1551,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 { @@ -1449,6 +1566,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
                        * A token for a page of results other than the first page.
                        * Obtained using
                  @@ -1458,20 +1577,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
                  @@ -1481,15 +1602,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
                  @@ -1499,16 +1623,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; @@ -1516,6 +1640,8 @@ public Builder setPageTokenBytes( 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
                  @@ -1524,13 +1650,13 @@ public Builder setPageTokenBytes(
                        * 
                  * * string auth_token = 5; + * * @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; @@ -1539,6 +1665,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
                  @@ -1547,15 +1675,14 @@ public java.lang.String getAuthToken() {
                        * 
                  * * string auth_token = 5; + * * @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 { @@ -1563,6 +1690,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
                  @@ -1571,20 +1700,22 @@ public java.lang.String getAuthToken() {
                        * 
                  * * string auth_token = 5; + * * @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
                  @@ -1593,15 +1724,18 @@ public Builder setAuthToken(
                        * 
                  * * string auth_token = 5; + * * @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
                  @@ -1610,16 +1744,16 @@ public Builder clearAuthToken() {
                        * 
                  * * string auth_token = 5; + * * @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; @@ -1627,6 +1761,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.
                  @@ -1635,13 +1771,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; @@ -1650,6 +1786,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.
                  @@ -1658,15 +1796,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 { @@ -1674,6 +1811,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.
                  @@ -1682,20 +1821,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.
                  @@ -1704,15 +1845,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.
                  @@ -1721,23 +1865,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); } @@ -1747,12 +1891,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(); } @@ -1761,16 +1905,16 @@ 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 { - return new ListTransferableSkusRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableSkusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1785,6 +1929,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListTransferableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java index cf0e9c91..7acea2a3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java +++ b/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
                  @@ -119,10 +161,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
                  @@ -132,12 +177,14 @@ public interface ListTransferableSkusRequestOrBuilder extends
                      * 
                  * * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
                      * The super admin of the resold customer generates this token to
                      * authorize a reseller to access their Cloud Identity and purchase
                  @@ -146,10 +193,13 @@ public interface ListTransferableSkusRequestOrBuilder extends
                      * 
                  * * string auth_token = 5; + * * @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
                  @@ -158,12 +208,14 @@ public interface ListTransferableSkusRequestOrBuilder extends
                      * 
                  * * string auth_token = 5; + * * @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.
                  @@ -172,10 +224,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.
                  @@ -184,10 +239,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java index 1a76efb7..9566b46e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.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 [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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTransferableSkusResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListTransferableSkusResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transferableSkus_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transferableSkus_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + transferableSkus_.add( + input.readMessage( + com.google.cloud.channel.v1.TransferableSku.parser(), extensionRegistry)); + break; } - transferableSkus_.add( - input.readMessage(com.google.cloud.channel.v1.TransferableSku.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListTransferableSkusResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transferableSkus_ = java.util.Collections.unmodifiableList(transferableSkus_); @@ -94,22 +114,27 @@ private ListTransferableSkusResponse( makeExtensionsImmutable(); } } - 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.
                      * 
                  @@ -121,6 +146,8 @@ public java.util.List getTransferab return transferableSkus_; } /** + * + * *
                      * Information about existing SKUs for a customer that needs a transfer.
                      * 
                  @@ -128,11 +155,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.
                      * 
                  @@ -144,6 +173,8 @@ public int getTransferableSkusCount() { return transferableSkus_.size(); } /** + * + * *
                      * Information about existing SKUs for a customer that needs a transfer.
                      * 
                  @@ -155,6 +186,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.
                      * 
                  @@ -170,6 +203,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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -177,6 +212,7 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO
                      * 
                  * * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,14 +221,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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -200,16 +237,15 @@ public java.lang.String getNextPageToken() {
                      * 
                  * * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -218,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferableSkus_.size(); i++) { output.writeMessage(1, transferableSkus_.get(i)); } @@ -247,8 +283,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_); @@ -261,17 +296,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,117 +329,127 @@ 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].
                      * 
                  * * 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() @@ -413,17 +457,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTransferableSkusFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +483,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 @@ -460,7 +504,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)) { @@ -480,38 +525,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; @@ -519,7 +565,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()) { @@ -538,9 +585,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_); } @@ -569,7 +617,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ListTransferableSkusResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ListTransferableSkusResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,21 +627,29 @@ public Builder mergeFrom( } 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.
                        * 
                  @@ -607,6 +664,8 @@ public java.util.List getTransferab } } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -621,6 +680,8 @@ public int getTransferableSkusCount() { } } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -635,6 +696,8 @@ public com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index } } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -656,6 +719,8 @@ public Builder setTransferableSkus( return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -674,6 +739,8 @@ public Builder setTransferableSkus( return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -694,6 +761,8 @@ public Builder addTransferableSkus(com.google.cloud.channel.v1.TransferableSku v return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -715,6 +784,8 @@ public Builder addTransferableSkus( return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -733,6 +804,8 @@ public Builder addTransferableSkus( return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -751,6 +824,8 @@ public Builder addTransferableSkus( return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -761,8 +836,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); @@ -770,6 +844,8 @@ public Builder addAllTransferableSkus( return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -787,6 +863,8 @@ public Builder clearTransferableSkus() { return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -804,6 +882,8 @@ public Builder removeTransferableSkus(int index) { return this; } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -815,6 +895,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.
                        * 
                  @@ -824,19 +906,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 { @@ -844,6 +929,8 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO } } /** + * + * *
                        * Information about existing SKUs for a customer that needs a transfer.
                        * 
                  @@ -851,10 +938,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.
                        * 
                  @@ -863,26 +952,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(), @@ -894,6 +991,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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -901,13 +1000,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; @@ -916,6 +1015,8 @@ 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
                  @@ -923,15 +1024,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 { @@ -939,6 +1039,8 @@ 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
                  @@ -946,20 +1048,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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -967,15 +1071,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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -983,23 +1090,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 +1116,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(); } @@ -1023,16 +1130,16 @@ 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 { - return new ListTransferableSkusResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTransferableSkusResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListTransferableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java index 926c9cda..d959f016 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java +++ b/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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -59,10 +85,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 [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
                  @@ -70,8 +99,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java index b459c0ab..a5958852 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private LookupOfferRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private LookupOfferRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + entitlement_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,43 @@ private LookupOfferRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getEntitlement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,118 +234,127 @@ 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() @@ -326,16 +362,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +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_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 @@ -366,7 +401,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; @@ -376,38 +412,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; @@ -451,20 +488,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; @@ -473,22 +514,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 { @@ -496,67 +540,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); } @@ -566,12 +623,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(); } @@ -580,16 +637,16 @@ 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 { - return new LookupOfferRequest(input, extensionRegistry); - } - }; + 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 { + return new LookupOfferRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.LookupOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java new file mode 100644 index 00000000..b39bed90 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java index a568e3a8..af797bdd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java +++ b/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,16 +44,15 @@ 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; } + private MarketingInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,42 @@ private MarketingInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - com.google.cloud.channel.v1.Media.Builder subBuilder = null; - if (defaultLogo_ != null) { - subBuilder = defaultLogo_.toBuilder(); + displayName_ = s; + break; } - defaultLogo_ = input.readMessage(com.google.cloud.channel.v1.Media.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(defaultLogo_); - defaultLogo_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } + case 26: + { + com.google.cloud.channel.v1.Media.Builder subBuilder = null; + if (defaultLogo_ != null) { + subBuilder = defaultLogo_.toBuilder(); + } + defaultLogo_ = + input.readMessage(com.google.cloud.channel.v1.Media.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(defaultLogo_); + defaultLogo_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +114,39 @@ private MarketingInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -129,29 +155,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 { @@ -162,11 +188,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 @@ -175,29 +204,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 { @@ -208,11 +237,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 @@ -220,18 +252,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.
                      * 
                  @@ -244,6 +283,7 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +295,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -282,8 +321,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +331,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -333,118 +369,127 @@ 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() @@ -452,16 +497,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +523,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 @@ -500,7 +544,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) { @@ -516,38 +561,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; @@ -598,18 +644,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; @@ -618,20 +666,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 { @@ -639,54 +688,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; @@ -694,18 +750,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; @@ -714,20 +772,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 { @@ -735,54 +794,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; @@ -790,34 +856,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.
                        * 
                  @@ -838,14 +917,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(); @@ -856,6 +936,8 @@ public Builder setDefaultLogo( return this; } /** + * + * *
                        * Default logo.
                        * 
                  @@ -866,7 +948,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; } @@ -878,6 +962,8 @@ public Builder mergeDefaultLogo(com.google.cloud.channel.v1.Media value) { return this; } /** + * + * *
                        * Default logo.
                        * 
                  @@ -896,6 +982,8 @@ public Builder clearDefaultLogo() { return this; } /** + * + * *
                        * Default logo.
                        * 
                  @@ -903,11 +991,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.
                        * 
                  @@ -918,11 +1008,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.
                        * 
                  @@ -930,21 +1023,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); } @@ -954,12 +1050,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(); } @@ -968,16 +1064,16 @@ 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 { - return new MarketingInfo(input, extensionRegistry); - } - }; + 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 { + return new MarketingInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1088,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.MarketingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java index 100bef7a..43db2fbd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java index a8984aa8..b9ac8cbf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java +++ b/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,16 +45,15 @@ 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; } + private Media( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Media( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + title_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - content_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + content_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,39 @@ private Media( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -123,29 +148,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 { @@ -156,11 +181,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 @@ -169,29 +197,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 { @@ -202,31 +230,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; @@ -238,8 +276,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -265,8 +302,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,17 +312,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -310,118 +344,126 @@ 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() @@ -429,16 +471,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +493,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 @@ -485,38 +526,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; @@ -567,18 +609,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; @@ -587,20 +631,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 { @@ -608,54 +653,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; @@ -663,18 +715,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; @@ -683,20 +737,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 { @@ -704,54 +759,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; @@ -759,51 +821,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. */ @@ -811,28 +887,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); } @@ -842,12 +921,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(); } @@ -856,16 +935,16 @@ 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 { - return new Media(input, extensionRegistry); - } - }; + 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 { + return new Media(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -880,6 +959,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Media getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java index 9a308ba2..8c8622d8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java index 6feb49dd..81c8e6fe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java index 349841bd..20321be3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java +++ b/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 for payment, a price, and
                  @@ -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();
                  @@ -29,16 +47,15 @@ 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;
                     }
                  +
                     private Offer(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -58,115 +75,135 @@ private Offer(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            name_ = s;
                  -            break;
                  -          }
                  -          case 18: {
                  -            com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
                  -            if (marketingInfo_ != null) {
                  -              subBuilder = marketingInfo_.toBuilder();
                  +              name_ = s;
                  +              break;
                               }
                  -            marketingInfo_ = input.readMessage(com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(marketingInfo_);
                  -              marketingInfo_ = subBuilder.buildPartial();
                  -            }
                  -
                  -            break;
                  -          }
                  -          case 26: {
                  -            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  -            if (sku_ != null) {
                  -              subBuilder = sku_.toBuilder();
                  +          case 18:
                  +            {
                  +              com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
                  +              if (marketingInfo_ != null) {
                  +                subBuilder = marketingInfo_.toBuilder();
                  +              }
                  +              marketingInfo_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(marketingInfo_);
                  +                marketingInfo_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(sku_);
                  -              sku_ = subBuilder.buildPartial();
                  +          case 26:
                  +            {
                  +              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  +              if (sku_ != null) {
                  +                subBuilder = sku_.toBuilder();
                  +              }
                  +              sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(sku_);
                  +                sku_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          case 34: {
                  -            com.google.cloud.channel.v1.Plan.Builder subBuilder = null;
                  -            if (plan_ != null) {
                  -              subBuilder = plan_.toBuilder();
                  +          case 34:
                  +            {
                  +              com.google.cloud.channel.v1.Plan.Builder subBuilder = null;
                  +              if (plan_ != null) {
                  +                subBuilder = plan_.toBuilder();
                  +              }
                  +              plan_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Plan.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(plan_);
                  +                plan_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            plan_ = input.readMessage(com.google.cloud.channel.v1.Plan.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(plan_);
                  -              plan_ = subBuilder.buildPartial();
                  +          case 42:
                  +            {
                  +              com.google.cloud.channel.v1.Constraints.Builder subBuilder = null;
                  +              if (constraints_ != null) {
                  +                subBuilder = constraints_.toBuilder();
                  +              }
                  +              constraints_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.Constraints.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(constraints_);
                  +                constraints_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          case 42: {
                  -            com.google.cloud.channel.v1.Constraints.Builder subBuilder = null;
                  -            if (constraints_ != null) {
                  -              subBuilder = constraints_.toBuilder();
                  +          case 50:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  +                priceByResources_ =
                  +                    new java.util.ArrayList();
                  +                mutable_bitField0_ |= 0x00000001;
                  +              }
                  +              priceByResources_.add(
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.PriceByResource.parser(), extensionRegistry));
                  +              break;
                               }
                  -            constraints_ = input.readMessage(com.google.cloud.channel.v1.Constraints.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(constraints_);
                  -              constraints_ = subBuilder.buildPartial();
                  +          case 58:
                  +            {
                  +              com.google.protobuf.Timestamp.Builder subBuilder = null;
                  +              if (startTime_ != null) {
                  +                subBuilder = startTime_.toBuilder();
                  +              }
                  +              startTime_ =
                  +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(startTime_);
                  +                startTime_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          case 50: {
                  -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  -              priceByResources_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000001;
                  +          case 66:
                  +            {
                  +              com.google.protobuf.Timestamp.Builder subBuilder = null;
                  +              if (endTime_ != null) {
                  +                subBuilder = endTime_.toBuilder();
                  +              }
                  +              endTime_ =
                  +                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(endTime_);
                  +                endTime_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            priceByResources_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.PriceByResource.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          case 58: {
                  -            com.google.protobuf.Timestamp.Builder subBuilder = null;
                  -            if (startTime_ != null) {
                  -              subBuilder = startTime_.toBuilder();
                  +          case 74:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  +                parameterDefinitions_ =
                  +                    new java.util.ArrayList();
                  +                mutable_bitField0_ |= 0x00000002;
                  +              }
                  +              parameterDefinitions_.add(
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.ParameterDefinition.parser(), extensionRegistry));
                  +              break;
                               }
                  -            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(startTime_);
                  -              startTime_ = subBuilder.buildPartial();
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          case 66: {
                  -            com.google.protobuf.Timestamp.Builder subBuilder = null;
                  -            if (endTime_ != null) {
                  -              subBuilder = endTime_.toBuilder();
                  -            }
                  -            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(endTime_);
                  -              endTime_ = subBuilder.buildPartial();
                  -            }
                  -
                  -            break;
                  -          }
                  -          case 74: {
                  -            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  -              parameterDefinitions_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000002;
                  -            }
                  -            parameterDefinitions_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.ParameterDefinition.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  -            }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -174,8 +211,7 @@ private Offer(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         if (((mutable_bitField0_ & 0x00000001) != 0)) {
                           priceByResources_ = java.util.Collections.unmodifiableList(priceByResources_);
                  @@ -187,28 +223,34 @@ private Offer(
                         makeExtensionsImmutable();
                       }
                     }
                  -  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 @@ -217,30 +259,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 { @@ -251,11 +293,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 @@ -263,18 +308,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.
                      * 
                  @@ -289,11 +341,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 @@ -301,11 +356,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 @@ -313,6 +371,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.
                      * 
                  @@ -327,11 +387,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 @@ -339,11 +402,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 @@ -351,6 +417,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.
                      * 
                  @@ -365,11 +433,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 @@ -377,18 +448,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.
                      * 
                  @@ -403,6 +481,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.
                      * 
                  @@ -414,6 +494,8 @@ public java.util.List getPriceByRes return priceByResources_; } /** + * + * *
                      * Price for each monetizable resource type.
                      * 
                  @@ -421,11 +503,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.
                      * 
                  @@ -437,6 +521,8 @@ public int getPriceByResourcesCount() { return priceByResources_.size(); } /** + * + * *
                      * Price for each monetizable resource type.
                      * 
                  @@ -448,6 +534,8 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index return priceByResources_.get(index); } /** + * + * *
                      * Price for each monetizable resource type.
                      * 
                  @@ -463,11 +551,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 @@ -475,11 +566,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 @@ -487,6 +581,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
                      * Start of the Offer validity time.
                      * 
                  @@ -501,11 +597,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 @@ -513,11 +613,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 @@ -525,11 +629,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() { @@ -539,6 +646,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.
                      * 
                  @@ -546,10 +655,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.
                      * 
                  @@ -557,11 +669,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.
                      * 
                  @@ -573,6 +687,8 @@ public int getParameterDefinitionsCount() { return parameterDefinitions_.size(); } /** + * + * *
                      * Parameters required to use current Offer to purchase.
                      * 
                  @@ -584,6 +700,8 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i return parameterDefinitions_.get(index); } /** + * + * *
                      * Parameters required to use current Offer to purchase.
                      * 
                  @@ -597,6 +715,7 @@ public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefi } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -608,8 +727,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -650,36 +768,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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -689,49 +800,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.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 (!getParameterDefinitionsList().equals(other.getParameterDefinitionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -782,97 +884,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 for payment, a price, and
                  @@ -881,21 +989,23 @@ 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()
                  @@ -903,18 +1013,18 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
                           getPriceByResourcesFieldBuilder();
                           getParameterDefinitionsFieldBuilder();
                         }
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -972,9 +1082,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
                  @@ -1052,38 +1162,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;
                  @@ -1126,9 +1237,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_);
                             }
                  @@ -1158,9 +1270,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_);
                             }
                  @@ -1194,23 +1307,26 @@ public Builder mergeFrom(
                         }
                         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; @@ -1219,21 +1335,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 { @@ -1241,57 +1358,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; @@ -1299,34 +1423,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.
                        * 
                  @@ -1347,6 +1484,8 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** + * + * *
                        * Marketing information for the Offer.
                        * 
                  @@ -1365,6 +1504,8 @@ public Builder setMarketingInfo( return this; } /** + * + * *
                        * Marketing information for the Offer.
                        * 
                  @@ -1375,7 +1516,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; } @@ -1387,6 +1530,8 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** + * + * *
                        * Marketing information for the Offer.
                        * 
                  @@ -1405,6 +1550,8 @@ public Builder clearMarketingInfo() { return this; } /** + * + * *
                        * Marketing information for the Offer.
                        * 
                  @@ -1412,11 +1559,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.
                        * 
                  @@ -1427,11 +1576,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.
                        * 
                  @@ -1439,14 +1591,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_; @@ -1454,24 +1609,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() { @@ -1482,6 +1646,8 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** + * + * *
                        * SKU the offer is associated with.
                        * 
                  @@ -1502,14 +1668,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(); @@ -1520,6 +1687,8 @@ public Builder setSku( return this; } /** + * + * *
                        * SKU the offer is associated with.
                        * 
                  @@ -1529,8 +1698,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; } @@ -1542,6 +1710,8 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
                        * SKU the offer is associated with.
                        * 
                  @@ -1560,6 +1730,8 @@ public Builder clearSku() { return this; } /** + * + * *
                        * SKU the offer is associated with.
                        * 
                  @@ -1567,11 +1739,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.
                        * 
                  @@ -1582,11 +1756,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.
                        * 
                  @@ -1594,14 +1769,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_; @@ -1609,24 +1787,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() { @@ -1637,6 +1824,8 @@ public com.google.cloud.channel.v1.Plan getPlan() { } } /** + * + * *
                        * Describes the payment plan for the Offer.
                        * 
                  @@ -1657,14 +1846,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(); @@ -1675,6 +1865,8 @@ public Builder setPlan( return this; } /** + * + * *
                        * Describes the payment plan for the Offer.
                        * 
                  @@ -1685,7 +1877,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; } @@ -1697,6 +1889,8 @@ public Builder mergePlan(com.google.cloud.channel.v1.Plan value) { return this; } /** + * + * *
                        * Describes the payment plan for the Offer.
                        * 
                  @@ -1715,6 +1909,8 @@ public Builder clearPlan() { return this; } /** + * + * *
                        * Describes the payment plan for the Offer.
                        * 
                  @@ -1722,11 +1918,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.
                        * 
                  @@ -1737,11 +1935,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.
                        * 
                  @@ -1749,14 +1948,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_; @@ -1764,34 +1966,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.
                        * 
                  @@ -1812,14 +2027,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(); @@ -1830,6 +2046,8 @@ public Builder setConstraints( return this; } /** + * + * *
                        * Constraints on transacting the Offer.
                        * 
                  @@ -1840,7 +2058,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; } @@ -1852,6 +2072,8 @@ public Builder mergeConstraints(com.google.cloud.channel.v1.Constraints value) { return this; } /** + * + * *
                        * Constraints on transacting the Offer.
                        * 
                  @@ -1870,6 +2092,8 @@ public Builder clearConstraints() { return this; } /** + * + * *
                        * Constraints on transacting the Offer.
                        * 
                  @@ -1877,11 +2101,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.
                        * 
                  @@ -1892,11 +2118,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.
                        * 
                  @@ -1904,32 +2133,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.
                        * 
                  @@ -1944,6 +2183,8 @@ public java.util.List getPriceByRes } } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -1958,6 +2199,8 @@ public int getPriceByResourcesCount() { } } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -1972,6 +2215,8 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index } } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -1993,6 +2238,8 @@ public Builder setPriceByResources( return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2011,6 +2258,8 @@ public Builder setPriceByResources( return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2031,6 +2280,8 @@ public Builder addPriceByResources(com.google.cloud.channel.v1.PriceByResource v return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2052,6 +2303,8 @@ public Builder addPriceByResources( return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2070,6 +2323,8 @@ public Builder addPriceByResources( return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2088,6 +2343,8 @@ public Builder addPriceByResources( return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2098,8 +2355,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); @@ -2107,6 +2363,8 @@ public Builder addAllPriceByResources( return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2124,6 +2382,8 @@ public Builder clearPriceByResources() { return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2141,6 +2401,8 @@ public Builder removePriceByResources(int index) { return this; } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2152,6 +2414,8 @@ public com.google.cloud.channel.v1.PriceByResource.Builder getPriceByResourcesBu return getPriceByResourcesFieldBuilder().getBuilder(index); } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2161,19 +2425,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 { @@ -2181,6 +2448,8 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO } } /** + * + * *
                        * Price for each monetizable resource type.
                        * 
                  @@ -2188,10 +2457,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.
                        * 
                  @@ -2200,26 +2471,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(), @@ -2231,24 +2510,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() { @@ -2259,6 +2547,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
                        * Start of the Offer validity time.
                        * 
                  @@ -2279,14 +2569,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(); @@ -2297,6 +2588,8 @@ public Builder setStartTime( return this; } /** + * + * *
                        * Start of the Offer validity time.
                        * 
                  @@ -2307,7 +2600,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; } @@ -2319,6 +2612,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
                        * Start of the Offer validity time.
                        * 
                  @@ -2337,6 +2632,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
                        * Start of the Offer validity time.
                        * 
                  @@ -2344,11 +2641,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.
                        * 
                  @@ -2359,11 +2658,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.
                        * 
                  @@ -2371,14 +2671,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_; @@ -2386,24 +2689,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() { @@ -2414,11 +2728,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) { @@ -2434,14 +2751,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(); @@ -2452,17 +2771,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; } @@ -2474,11 +2796,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) { @@ -2492,73 +2817,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 { @@ -2566,6 +2911,8 @@ public java.util.List getParame } } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2580,6 +2927,8 @@ public int getParameterDefinitionsCount() { } } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2594,6 +2943,8 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i } } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2615,6 +2966,8 @@ public Builder setParameterDefinitions( return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2633,6 +2986,8 @@ public Builder setParameterDefinitions( return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2653,6 +3008,8 @@ public Builder addParameterDefinitions(com.google.cloud.channel.v1.ParameterDefi return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2674,6 +3031,8 @@ public Builder addParameterDefinitions( return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2692,6 +3051,8 @@ public Builder addParameterDefinitions( return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2710,6 +3071,8 @@ public Builder addParameterDefinitions( return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2720,8 +3083,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); @@ -2729,6 +3091,8 @@ public Builder addAllParameterDefinitions( return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2746,6 +3110,8 @@ public Builder clearParameterDefinitions() { return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2763,6 +3129,8 @@ public Builder removeParameterDefinitions(int index) { return this; } /** + * + * *
                        * Parameters required to use current Offer to purchase.
                        * 
                  @@ -2774,28 +3142,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 { @@ -2803,17 +3176,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.
                        * 
                  @@ -2822,26 +3200,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(), @@ -2850,9 +3236,9 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefin } return parameterDefinitionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2862,12 +3248,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(); } @@ -2876,16 +3262,16 @@ 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 { - return new Offer(input, extensionRegistry); - } - }; + 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 { + return new Offer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2900,6 +3286,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Offer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java index bda722ab..90f25a6d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java +++ b/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.
                      * 
                  diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java new file mode 100644 index 00000000..50cce82c --- /dev/null +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java @@ -0,0 +1,273 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\251\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:I\352AF\n!cloudchannel." + + "googleapis.com/Offer\022!accounts/{account}" + + "/offers/{offer}\"\373\002\n\023ParameterDefinition\022" + + "\014\n\004name\030\001 \001(\t\022R\n\016parameter_type\030\002 \001(\0162:." + + "google.cloud.channel.v1.ParameterDefinit" + + "ion.ParameterType\0221\n\tmin_value\030\003 \001(\0132\036.g" + + "oogle.cloud.channel.v1.Value\0221\n\tmax_valu" + + "e\030\004 \001(\0132\036.google.cloud.channel.v1.Value\022" + + "6\n\016allowed_values\030\005 \003(\0132\036.google.cloud.c" + + "hannel.v1.Value\022\020\n\010optional\030\006 \001(\010\"R\n\rPar" + + "ameterType\022\036\n\032PARAMETER_TYPE_UNSPECIFIED" + + "\020\000\022\t\n\005INT64\020\001\022\n\n\006STRING\020\002\022\n\n\006DOUBLE\020\003\"Y\n" + + "\013Constraints\022J\n\024customer_constraints\030\001 \001" + + "(\0132,.google.cloud.channel.v1.CustomerCon" + + "straints\"\327\001\n\023CustomerConstraints\022\027\n\017allo" + + "wed_regions\030\001 \003(\t\022W\n\026allowed_customer_ty" + + "pes\030\002 \003(\01627.google.cloud.channel.v1.Clou" + + "dIdentityInfo.CustomerType\022N\n\027promotiona" + + "l_order_types\030\003 \003(\0162-.google.cloud.chann" + + "el.v1.PromotionalOrderType\"\206\002\n\004Plan\022:\n\014p" + + "ayment_plan\030\001 \001(\0162$.google.cloud.channel" + + ".v1.PaymentPlan\022:\n\014payment_type\030\002 \001(\0162$." + + "google.cloud.channel.v1.PaymentType\0226\n\rp" + + "ayment_cycle\030\003 \001(\0132\037.google.cloud.channe" + + "l.v1.Period\0225\n\014trial_period\030\004 \001(\0132\037.goog" + + "le.cloud.channel.v1.Period\022\027\n\017billing_ac" + + "count\030\005 \001(\t\"\271\001\n\017PriceByResource\022<\n\rresou" + + "rce_type\030\001 \001(\0162%.google.cloud.channel.v1" + + ".ResourceType\022-\n\005price\030\002 \001(\0132\036.google.cl" + + "oud.channel.v1.Price\0229\n\014price_phases\030\003 \003" + + "(\0132#.google.cloud.channel.v1.PricePhase\"" + + "\212\001\n\005Price\022&\n\nbase_price\030\001 \001(\0132\022.google.t" + + "ype.Money\022\020\n\010discount\030\002 \001(\001\022+\n\017effective" + + "_price\030\003 \001(\0132\022.google.type.Money\022\032\n\022exte" + + "rnal_price_uri\030\004 \001(\t\"\331\001\n\nPricePhase\0228\n\013p" + + "eriod_type\030\001 \001(\0162#.google.cloud.channel." + + "v1.PeriodType\022\024\n\014first_period\030\002 \001(\005\022\023\n\013l" + + "ast_period\030\003 \001(\005\022-\n\005price\030\004 \001(\0132\036.google" + + ".cloud.channel.v1.Price\0227\n\013price_tiers\030\005" + + " \003(\0132\".google.cloud.channel.v1.PriceTier" + + "\"i\n\tPriceTier\022\026\n\016first_resource\030\001 \001(\005\022\025\n" + + "\rlast_resource\030\002 \001(\005\022-\n\005price\030\003 \001(\0132\036.go" + + "ogle.cloud.channel.v1.Price\"T\n\006Period\022\020\n" + + "\010duration\030\001 \001(\005\0228\n\013period_type\030\002 \001(\0162#.g" + + "oogle.cloud.channel.v1.PeriodType*m\n\024Pro" + + "motionalOrderType\022 \n\034PROMOTIONAL_TYPE_UN" + + "SPECIFIED\020\000\022\017\n\013NEW_UPGRADE\020\001\022\014\n\010TRANSFER" + + "\020\002\022\024\n\020PROMOTION_SWITCH\020\003*k\n\013PaymentPlan\022" + + "\034\n\030PAYMENT_PLAN_UNSPECIFIED\020\000\022\016\n\nCOMMITM" + + "ENT\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\013PaymentType\022\034\n\030PAYMENT_" + + "TYPE_UNSPECIFIED\020\000\022\n\n\006PREPAY\020\001\022\013\n\007POSTPA" + + "Y\020\002*\212\001\n\014ResourceType\022\035\n\031RESOURCE_TYPE_UN" + + "SPECIFIED\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\007MINUTES\020\005\022\016\n\nIAAS_U" + + "SAGE\020\006\022\020\n\014SUBSCRIPTION\020\007*G\n\nPeriodType\022\033" + + "\n\027PERIOD_TYPE_UNSPECIFIED\020\000\022\007\n\003DAY\020\001\022\t\n\005" + + "MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033com.google.cloud.ch" + + "annel.v1B\013OffersProtoP\001Z>google.golang.o" + + "rg/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.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", + }); + 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java index 252594b2..adff3ebd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/operations.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private OperationMetadata( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - operationType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + operationType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,41 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                        * 
                  @@ -111,6 +134,8 @@ public enum OperationType */ OPERATION_TYPE_UNSPECIFIED(0), /** + * + * *
                        * Long Running Operation was triggered by CreateEntitlement.
                        * 
                  @@ -119,6 +144,8 @@ public enum OperationType */ CREATE_ENTITLEMENT(1), /** + * + * *
                        * Long Running Operation was triggered by ChangeRenewalSettings.
                        * 
                  @@ -127,6 +154,8 @@ public enum OperationType */ CHANGE_RENEWAL_SETTINGS(3), /** + * + * *
                        * Long Running Operation was triggered by StartPaidService.
                        * 
                  @@ -135,6 +164,8 @@ public enum OperationType */ START_PAID_SERVICE(5), /** + * + * *
                        * Long Running Operation was triggered by ActivateEntitlement.
                        * 
                  @@ -143,6 +174,8 @@ public enum OperationType */ ACTIVATE_ENTITLEMENT(7), /** + * + * *
                        * Long Running Operation was triggered by SuspendEntitlement.
                        * 
                  @@ -151,6 +184,8 @@ public enum OperationType */ SUSPEND_ENTITLEMENT(8), /** + * + * *
                        * Long Running Operation was triggered by CancelEntitlement.
                        * 
                  @@ -159,6 +194,8 @@ public enum OperationType */ CANCEL_ENTITLEMENT(9), /** + * + * *
                        * Long Running Operation was triggered by TransferEntitlements.
                        * 
                  @@ -167,6 +204,8 @@ public enum OperationType */ TRANSFER_ENTITLEMENTS(10), /** + * + * *
                        * Long Running Operation was triggered by TransferEntitlementsToGoogle.
                        * 
                  @@ -175,6 +214,8 @@ public enum OperationType */ TRANSFER_ENTITLEMENTS_TO_GOOGLE(11), /** + * + * *
                        * Long Running Operation was triggered by ChangeOffer.
                        * 
                  @@ -183,6 +224,8 @@ public enum OperationType */ CHANGE_OFFER(14), /** + * + * *
                        * Long Running Operation was triggered by ChangeParameters.
                        * 
                  @@ -191,6 +234,8 @@ public enum OperationType */ CHANGE_PARAMETERS(15), /** + * + * *
                        * Long Running Operation was triggered by ProvisionCloudIdentity.
                        * 
                  @@ -202,6 +247,8 @@ public enum OperationType ; /** + * + * *
                        * Not used.
                        * 
                  @@ -210,6 +257,8 @@ public enum OperationType */ public static final int OPERATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Long Running Operation was triggered by CreateEntitlement.
                        * 
                  @@ -218,6 +267,8 @@ public enum OperationType */ public static final int CREATE_ENTITLEMENT_VALUE = 1; /** + * + * *
                        * Long Running Operation was triggered by ChangeRenewalSettings.
                        * 
                  @@ -226,6 +277,8 @@ public enum OperationType */ public static final int CHANGE_RENEWAL_SETTINGS_VALUE = 3; /** + * + * *
                        * Long Running Operation was triggered by StartPaidService.
                        * 
                  @@ -234,6 +287,8 @@ public enum OperationType */ public static final int START_PAID_SERVICE_VALUE = 5; /** + * + * *
                        * Long Running Operation was triggered by ActivateEntitlement.
                        * 
                  @@ -242,6 +297,8 @@ public enum OperationType */ public static final int ACTIVATE_ENTITLEMENT_VALUE = 7; /** + * + * *
                        * Long Running Operation was triggered by SuspendEntitlement.
                        * 
                  @@ -250,6 +307,8 @@ public enum OperationType */ public static final int SUSPEND_ENTITLEMENT_VALUE = 8; /** + * + * *
                        * Long Running Operation was triggered by CancelEntitlement.
                        * 
                  @@ -258,6 +317,8 @@ public enum OperationType */ public static final int CANCEL_ENTITLEMENT_VALUE = 9; /** + * + * *
                        * Long Running Operation was triggered by TransferEntitlements.
                        * 
                  @@ -266,6 +327,8 @@ public enum OperationType */ public static final int TRANSFER_ENTITLEMENTS_VALUE = 10; /** + * + * *
                        * Long Running Operation was triggered by TransferEntitlementsToGoogle.
                        * 
                  @@ -274,6 +337,8 @@ public enum OperationType */ public static final int TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE = 11; /** + * + * *
                        * Long Running Operation was triggered by ChangeOffer.
                        * 
                  @@ -282,6 +347,8 @@ public enum OperationType */ public static final int CHANGE_OFFER_VALUE = 14; /** + * + * *
                        * Long Running Operation was triggered by ChangeParameters.
                        * 
                  @@ -290,6 +357,8 @@ public enum OperationType */ public static final int CHANGE_PARAMETERS_VALUE = 15; /** + * + * *
                        * Long Running Operation was triggered by ProvisionCloudIdentity.
                        * 
                  @@ -298,7 +367,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( @@ -323,58 +391,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; @@ -394,31 +471,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; @@ -430,9 +519,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_); } unknownFields.writeTo(output); @@ -444,9 +534,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -456,12 +547,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -482,118 +574,127 @@ 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].
                      * 
                  * * 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() @@ -601,16 +702,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +720,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 @@ -641,7 +741,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; @@ -651,38 +752,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; @@ -725,80 +827,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); } @@ -808,12 +930,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(); } @@ -822,16 +944,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,6 +968,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java index dacf2ba1..02e241df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java +++ b/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java new file mode 100644 index 00000000..67b76d21 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java index cd0a97e0..f4601292 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private Parameter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,37 +70,40 @@ private Parameter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.Value.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); + name_ = s; + break; } - value_ = input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.Value.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 24: { - - editable_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 24: + { + editable_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,34 +111,39 @@ private Parameter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -127,29 +152,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 { @@ -160,11 +185,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 @@ -172,11 +200,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
                      * Value of the parameter.
                      * 
                  * * .google.cloud.channel.v1.Value value = 2; + * * @return The value. */ @java.lang.Override @@ -184,6 +215,8 @@ public com.google.cloud.channel.v1.Value getValue() { return value_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; } /** + * + * *
                      * Value of the parameter.
                      * 
                  @@ -198,6 +231,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 plan,
                  @@ -205,6 +240,7 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() {
                      * 
                  * * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The editable. */ @java.lang.Override @@ -213,6 +249,7 @@ public boolean getEditable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -248,12 +284,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -263,22 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,125 +328,132 @@ 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) + unknownFields.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() @@ -423,16 +461,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +487,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 @@ -471,7 +508,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_; @@ -487,38 +525,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; @@ -568,18 +607,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; @@ -588,20 +629,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 { @@ -609,54 +651,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; @@ -664,24 +713,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() { @@ -692,6 +750,8 @@ public com.google.cloud.channel.v1.Value getValue() { } } /** + * + * *
                        * Value of the parameter.
                        * 
                  @@ -712,14 +772,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(); @@ -730,6 +791,8 @@ public Builder setValue( return this; } /** + * + * *
                        * Value of the parameter.
                        * 
                  @@ -740,7 +803,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; } @@ -752,6 +815,8 @@ public Builder mergeValue(com.google.cloud.channel.v1.Value value) { return this; } /** + * + * *
                        * Value of the parameter.
                        * 
                  @@ -770,6 +835,8 @@ public Builder clearValue() { return this; } /** + * + * *
                        * Value of the parameter.
                        * 
                  @@ -777,11 +844,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.
                        * 
                  @@ -792,11 +861,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.
                        * 
                  @@ -804,21 +874,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 plan,
                  @@ -826,6 +901,7 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() {
                        * 
                  * * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The editable. */ @java.lang.Override @@ -833,6 +909,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 plan,
                  @@ -840,16 +918,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 plan,
                  @@ -857,17 +938,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); } @@ -877,12 +959,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(); } @@ -891,16 +973,16 @@ 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 { - return new Parameter(input, extensionRegistry); - } - }; + 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 { + return new Parameter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,6 +997,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java index aabbccf3..5d1c422a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java +++ b/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,16 +46,15 @@ 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;
                     }
                  +
                     private ParameterDefinition(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -57,65 +74,72 @@ private ParameterDefinition(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            name_ = s;
                  -            break;
                  -          }
                  -          case 16: {
                  -            int rawValue = input.readEnum();
                  +              name_ = s;
                  +              break;
                  +            }
                  +          case 16:
                  +            {
                  +              int rawValue = input.readEnum();
                   
                  -            parameterType_ = rawValue;
                  -            break;
                  -          }
                  -          case 26: {
                  -            com.google.cloud.channel.v1.Value.Builder subBuilder = null;
                  -            if (minValue_ != null) {
                  -              subBuilder = minValue_.toBuilder();
                  +              parameterType_ = rawValue;
                  +              break;
                               }
                  -            minValue_ = input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(minValue_);
                  -              minValue_ = subBuilder.buildPartial();
                  +          case 26:
                  +            {
                  +              com.google.cloud.channel.v1.Value.Builder subBuilder = null;
                  +              if (minValue_ != null) {
                  +                subBuilder = minValue_.toBuilder();
                  +              }
                  +              minValue_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(minValue_);
                  +                minValue_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          case 34: {
                  -            com.google.cloud.channel.v1.Value.Builder subBuilder = null;
                  -            if (maxValue_ != null) {
                  -              subBuilder = maxValue_.toBuilder();
                  +          case 34:
                  +            {
                  +              com.google.cloud.channel.v1.Value.Builder subBuilder = null;
                  +              if (maxValue_ != null) {
                  +                subBuilder = maxValue_.toBuilder();
                  +              }
                  +              maxValue_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(maxValue_);
                  +                maxValue_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            maxValue_ = input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(maxValue_);
                  -              maxValue_ = subBuilder.buildPartial();
                  +          case 42:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  +                allowedValues_ = new java.util.ArrayList();
                  +                mutable_bitField0_ |= 0x00000001;
                  +              }
                  +              allowedValues_.add(
                  +                  input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry));
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          case 42: {
                  -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  -              allowedValues_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000001;
                  +          case 48:
                  +            {
                  +              optional_ = input.readBool();
                  +              break;
                               }
                  -            allowedValues_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.Value.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          case 48: {
                  -
                  -            optional_ = input.readBool();
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -123,8 +147,7 @@ private ParameterDefinition(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         if (((mutable_bitField0_ & 0x00000001) != 0)) {
                           allowedValues_ = java.util.Collections.unmodifiableList(allowedValues_);
                  @@ -133,29 +156,35 @@ private ParameterDefinition(
                         makeExtensionsImmutable();
                       }
                     }
                  -  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.
                        * 
                  @@ -164,6 +193,8 @@ public enum ParameterType */ PARAMETER_TYPE_UNSPECIFIED(0), /** + * + * *
                        * Int64 type.
                        * 
                  @@ -172,6 +203,8 @@ public enum ParameterType */ INT64(1), /** + * + * *
                        * String type.
                        * 
                  @@ -180,6 +213,8 @@ public enum ParameterType */ STRING(2), /** + * + * *
                        * Double type.
                        * 
                  @@ -191,6 +226,8 @@ public enum ParameterType ; /** + * + * *
                        * Not used.
                        * 
                  @@ -199,6 +236,8 @@ public enum ParameterType */ public static final int PARAMETER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Int64 type.
                        * 
                  @@ -207,6 +246,8 @@ public enum ParameterType */ public static final int INT64_VALUE = 1; /** + * + * *
                        * String type.
                        * 
                  @@ -215,6 +256,8 @@ public enum ParameterType */ public static final int STRING_VALUE = 2; /** + * + * *
                        * Double type.
                        * 
                  @@ -223,7 +266,6 @@ public enum ParameterType */ public static final int DOUBLE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -248,50 +290,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; @@ -311,11 +354,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 @@ -324,29 +370,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 { @@ -357,35 +403,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.
                  @@ -393,6 +452,7 @@ public java.lang.String getName() {
                      * 
                  * * .google.cloud.channel.v1.Value min_value = 3; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -400,6 +460,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.
                  @@ -407,6 +469,7 @@ public boolean hasMinValue() {
                      * 
                  * * .google.cloud.channel.v1.Value min_value = 3; + * * @return The minValue. */ @java.lang.Override @@ -414,6 +477,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.
                  @@ -430,6 +495,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.
                  @@ -437,6 +504,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 @@ -444,6 +512,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.
                  @@ -451,6 +521,7 @@ public boolean hasMaxValue() {
                      * 
                  * * .google.cloud.channel.v1.Value max_value = 4; + * * @return The maxValue. */ @java.lang.Override @@ -458,6 +529,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.
                  @@ -474,6 +547,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, ...]
                  @@ -487,6 +562,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, ...]
                  @@ -496,11 +573,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, ...]
                  @@ -514,6 +593,8 @@ public int getAllowedValuesCount() {
                       return allowedValues_.size();
                     }
                     /**
                  +   *
                  +   *
                      * 
                      * If not empty, parameter values must be drawn from this list.
                      * For example, [us-west1, us-west2, ...]
                  @@ -527,6 +608,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, ...]
                  @@ -536,19 +619,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 @@ -557,6 +642,7 @@ public boolean getOptional() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -568,12 +654,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) { @@ -600,25 +687,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -628,30 +712,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -680,104 +760,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) + unknownFields.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.
                  @@ -785,21 +871,23 @@ 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()
                  @@ -807,17 +895,17 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
                           getAllowedValuesFieldBuilder();
                         }
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -849,9 +937,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
                  @@ -870,7 +958,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_;
                  @@ -902,38 +991,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;
                  @@ -941,7 +1031,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();
                  @@ -973,9 +1064,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_);
                             }
                  @@ -1012,22 +1104,25 @@ public Builder mergeFrom(
                         }
                         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; @@ -1036,20 +1131,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 { @@ -1057,54 +1153,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; @@ -1112,78 +1215,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; @@ -1191,8 +1314,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.
                  @@ -1200,12 +1328,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.
                  @@ -1213,16 +1344,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.
                  @@ -1245,6 +1381,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.
                  @@ -1253,8 +1391,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();
                  @@ -1265,6 +1402,8 @@ public Builder setMinValue(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Minimal value of the parameter, if applicable. Inclusive. For example,
                        * minimal commitment when purchasing Anthos is 0.01.
                  @@ -1277,7 +1416,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;
                           }
                  @@ -1289,6 +1430,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.
                  @@ -1309,6 +1452,8 @@ public Builder clearMinValue() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Minimal value of the parameter, if applicable. Inclusive. For example,
                        * minimal commitment when purchasing Anthos is 0.01.
                  @@ -1318,11 +1463,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.
                  @@ -1335,11 +1482,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.
                  @@ -1349,14 +1499,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_;
                  @@ -1364,8 +1517,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.
                  @@ -1373,12 +1531,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.
                  @@ -1386,16 +1547,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.
                  @@ -1418,6 +1584,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.
                  @@ -1426,8 +1594,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();
                  @@ -1438,6 +1605,8 @@ public Builder setMaxValue(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Maximum value of the parameter, if applicable. Inclusive. For example,
                        * maximum seats when purchasing Google Workspace Business Standard.
                  @@ -1450,7 +1619,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;
                           }
                  @@ -1462,6 +1633,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.
                  @@ -1482,6 +1655,8 @@ public Builder clearMaxValue() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Maximum value of the parameter, if applicable. Inclusive. For example,
                        * maximum seats when purchasing Google Workspace Business Standard.
                  @@ -1491,11 +1666,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.
                  @@ -1508,11 +1685,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.
                  @@ -1522,32 +1702,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, ...]
                  @@ -1564,6 +1753,8 @@ public java.util.List getAllowedValuesList()
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1580,6 +1771,8 @@ public int getAllowedValuesCount() {
                         }
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1596,6 +1789,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, ...]
                  @@ -1604,8 +1799,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();
                  @@ -1619,6 +1813,8 @@ public Builder setAllowedValues(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1639,6 +1835,8 @@ public Builder setAllowedValues(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1661,6 +1859,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, ...]
                  @@ -1669,8 +1869,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();
                  @@ -1684,6 +1883,8 @@ public Builder addAllowedValues(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1692,8 +1893,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());
                  @@ -1704,6 +1904,8 @@ public Builder addAllowedValues(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1724,6 +1926,8 @@ public Builder addAllowedValues(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1736,8 +1940,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);
                  @@ -1745,6 +1948,8 @@ public Builder addAllAllowedValues(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1764,6 +1969,8 @@ public Builder clearAllowedValues() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * If not empty, parameter values must be drawn from this list.
                        * For example, [us-west1, us-west2, ...]
                  @@ -1783,6 +1990,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, ...]
                  @@ -1791,11 +2000,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, ...]
                  @@ -1804,14 +2014,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, ...]
                  @@ -1820,8 +2032,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 {
                  @@ -1829,6 +2041,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, ...]
                  @@ -1838,10 +2052,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, ...]
                  @@ -1850,12 +2066,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, ...]
                  @@ -1864,16 +2081,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(),
                  @@ -1883,13 +2105,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 @@ -1897,37 +2122,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); } @@ -1937,12 +2168,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(); } @@ -1951,16 +2182,16 @@ 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 { - return new ParameterDefinition(input, extensionRegistry); - } - }; + 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 { + return new ParameterDefinition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1975,6 +2206,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ParameterDefinition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java index 6d8ab439..fdfe1658 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java index 4e8a21d2..db127f56 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java +++ b/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 plan,
                  @@ -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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java index 456fbda2..494e3387 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java index 32ef3aea..818f78b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java index 673ee06d..52d23b99 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private PercentageAdjustment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,27 @@ private PercentageAdjustment( case 0: done = true; break; - case 18: { - com.google.type.Decimal.Builder subBuilder = null; - if (percentage_ != null) { - subBuilder = percentage_.toBuilder(); + case 18: + { + com.google.type.Decimal.Builder subBuilder = null; + if (percentage_ != null) { + subBuilder = percentage_.toBuilder(); + } + percentage_ = input.readMessage(com.google.type.Decimal.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(percentage_); + percentage_ = subBuilder.buildPartial(); + } + + break; } - percentage_ = input.readMessage(com.google.type.Decimal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(percentage_); - percentage_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,29 +96,33 @@ private PercentageAdjustment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -111,6 +132,7 @@ private PercentageAdjustment(
                      * 
                  * * .google.type.Decimal percentage = 2; + * * @return Whether the percentage field is set. */ @java.lang.Override @@ -118,6 +140,8 @@ public boolean hasPercentage() { return percentage_ != null; } /** + * + * *
                      * The percentage of the bill to adjust.
                      * For example:
                  @@ -127,6 +151,7 @@ public boolean hasPercentage() {
                      * 
                  * * .google.type.Decimal percentage = 2; + * * @return The percentage. */ @java.lang.Override @@ -134,6 +159,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:
                  @@ -150,6 +177,7 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
                     }
                   
                     private byte memoizedIsInitialized = -1;
                  +
                     @java.lang.Override
                     public final boolean isInitialized() {
                       byte isInitialized = memoizedIsInitialized;
                  @@ -161,8 +189,7 @@ public final boolean isInitialized() {
                     }
                   
                     @java.lang.Override
                  -  public void writeTo(com.google.protobuf.CodedOutputStream output)
                  -                      throws java.io.IOException {
                  +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
                       if (percentage_ != null) {
                         output.writeMessage(2, getPercentage());
                       }
                  @@ -176,8 +203,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 += unknownFields.getSerializedSize();
                       memoizedSize = size;
                  @@ -187,17 +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.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 (!unknownFields.equals(other.unknownFields)) return false;
                       return true;
                  @@ -219,118 +245,127 @@ 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() @@ -338,16 +373,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -361,9 +395,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 @@ -382,7 +416,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 { @@ -396,38 +431,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; @@ -435,7 +471,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()); } @@ -470,8 +507,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:
                  @@ -481,12 +523,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:
                  @@ -496,6 +541,7 @@ public boolean hasPercentage() {
                        * 
                  * * .google.type.Decimal percentage = 2; + * * @return The percentage. */ public com.google.type.Decimal getPercentage() { @@ -506,6 +552,8 @@ public com.google.type.Decimal getPercentage() { } } /** + * + * *
                        * The percentage of the bill to adjust.
                        * For example:
                  @@ -530,6 +578,8 @@ public Builder setPercentage(com.google.type.Decimal value) {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The percentage of the bill to adjust.
                        * For example:
                  @@ -540,8 +590,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();
                  @@ -552,6 +601,8 @@ public Builder setPercentage(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The percentage of the bill to adjust.
                        * For example:
                  @@ -566,7 +617,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;
                           }
                  @@ -578,6 +629,8 @@ public Builder mergePercentage(com.google.type.Decimal value) {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The percentage of the bill to adjust.
                        * For example:
                  @@ -600,6 +653,8 @@ public Builder clearPercentage() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The percentage of the bill to adjust.
                        * For example:
                  @@ -611,11 +666,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:
                  @@ -630,11 +687,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:
                  @@ -646,21 +704,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);
                       }
                   
                  @@ -670,12 +731,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();
                     }
                  @@ -684,16 +745,16 @@ 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 {
                  -      return new PercentageAdjustment(input, extensionRegistry);
                  -    }
                  -  };
                  +  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 {
                  +          return new PercentageAdjustment(input, extensionRegistry);
                  +        }
                  +      };
                   
                     public static com.google.protobuf.Parser parser() {
                       return PARSER;
                  @@ -708,6 +769,4 @@ public com.google.protobuf.Parser getParserForType() {
                     public com.google.cloud.channel.v1.PercentageAdjustment getDefaultInstanceForType() {
                       return DEFAULT_INSTANCE;
                     }
                  -
                   }
                  -
                  diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
                  similarity index 64%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
                  index 7252b227..b2988960 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
                  +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
                  similarity index 70%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
                  index bff79823..4bb92b65 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
                  +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
                  @@ -1,40 +1,57 @@
                  +/*
                  + * Copyright 2020 Google LLC
                  + *
                  + * Licensed under the Apache License, Version 2.0 (the "License");
                  + * you may not use this file except in compliance with the License.
                  + * You may obtain a copy of the License at
                  + *
                  + *     https://www.apache.org/licenses/LICENSE-2.0
                  + *
                  + * Unless required by applicable law or agreed to in writing, software
                  + * distributed under the License is distributed on an "AS IS" BASIS,
                  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                  + * See the License for the specific language governing permissions and
                  + * limitations under the License.
                  + */
                   // Generated by the protocol buffer compiler.  DO NOT EDIT!
                   // source: google/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; } + private Period( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private Period( case 0: done = true; break; - case 8: { - - duration_ = input.readInt32(); - break; - } - case 16: { - int rawValue = input.readEnum(); + case 8: + { + duration_ = input.readInt32(); + break; + } + case 16: + { + int rawValue = input.readEnum(); - periodType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + periodType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private Period( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -116,31 +139,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; @@ -152,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (duration_ != 0) { output.writeInt32(1, duration_); } @@ -170,12 +202,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -185,15 +215,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -215,118 +244,126 @@ 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() @@ -334,16 +371,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +391,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 @@ -387,38 +423,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; @@ -462,13 +499,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 @@ -476,30 +516,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; @@ -507,51 +553,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. */ @@ -559,28 +619,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); } @@ -590,12 +653,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(); } @@ -604,16 +667,16 @@ 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 { - return new Period(input, extensionRegistry); - } - }; + 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 { + return new Period(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +691,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Period getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java index 807a4b33..4a687c5f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java index 3a403c68..3ce62155 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java index 1089382c..e9d2cccf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java +++ b/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,16 +45,15 @@ 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; } + private Plan( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,64 @@ private Plan( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - paymentPlan_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - paymentType_ = rawValue; - break; - } - case 26: { - com.google.cloud.channel.v1.Period.Builder subBuilder = null; - if (paymentCycle_ != null) { - subBuilder = paymentCycle_.toBuilder(); - } - paymentCycle_ = input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(paymentCycle_); - paymentCycle_ = subBuilder.buildPartial(); + paymentPlan_ = rawValue; + break; } + case 16: + { + int rawValue = input.readEnum(); - break; - } - case 34: { - com.google.cloud.channel.v1.Period.Builder subBuilder = null; - if (trialPeriod_ != null) { - subBuilder = trialPeriod_.toBuilder(); + paymentType_ = rawValue; + break; } - trialPeriod_ = input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trialPeriod_); - trialPeriod_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.channel.v1.Period.Builder subBuilder = null; + if (paymentCycle_ != null) { + subBuilder = paymentCycle_.toBuilder(); + } + paymentCycle_ = + input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(paymentCycle_); + paymentCycle_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.cloud.channel.v1.Period.Builder subBuilder = null; + if (trialPeriod_ != null) { + subBuilder = trialPeriod_.toBuilder(); + } + trialPeriod_ = + input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trialPeriod_); + trialPeriod_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - billingAccount_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + billingAccount_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,22 +137,23 @@ private Plan( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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); } @@ -136,66 +161,87 @@ private Plan( 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 @@ -203,19 +249,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.
                  @@ -231,6 +284,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
                  @@ -241,6 +296,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 @@ -248,6 +304,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
                  @@ -258,13 +316,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
                  @@ -284,12 +347,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 @@ -298,30 +364,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 { @@ -330,6 +396,7 @@ public java.lang.String getBillingAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,12 +408,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) { @@ -367,21 +435,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_); @@ -394,7 +460,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); @@ -405,16 +471,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -445,118 +508,126 @@ 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() @@ -564,16 +635,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -599,9 +669,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 @@ -642,38 +712,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; @@ -729,51 +800,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. */ @@ -781,21 +866,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; @@ -803,51 +891,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. */ @@ -855,21 +957,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; @@ -877,36 +982,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.
                  @@ -928,6 +1046,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.
                  @@ -935,8 +1055,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();
                  @@ -947,6 +1066,8 @@ public Builder setPaymentCycle(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Describes how frequently the reseller will be billed, such as
                        * once per month.
                  @@ -958,7 +1079,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;
                           }
                  @@ -970,6 +1093,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.
                  @@ -989,6 +1114,8 @@ public Builder clearPaymentCycle() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Describes how frequently the reseller will be billed, such as
                        * once per month.
                  @@ -997,11 +1124,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.
                  @@ -1013,11 +1142,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.
                  @@ -1026,14 +1158,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_;
                  @@ -1041,8 +1176,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
                  @@ -1053,12 +1193,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
                  @@ -1069,16 +1212,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
                  @@ -1104,6 +1252,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
                  @@ -1115,8 +1265,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();
                  @@ -1127,6 +1276,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
                  @@ -1142,7 +1293,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;
                           }
                  @@ -1154,6 +1307,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
                  @@ -1177,6 +1332,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
                  @@ -1189,11 +1346,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
                  @@ -1209,11 +1368,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
                  @@ -1226,14 +1388,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_;
                  @@ -1241,19 +1406,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; @@ -1262,21 +1429,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 { @@ -1284,64 +1452,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); } @@ -1351,12 +1526,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(); } @@ -1365,16 +1540,16 @@ 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 { - return new Plan(input, extensionRegistry); - } - }; + 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 { + return new Plan(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1389,6 +1564,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Plan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java index 2604af09..c353af68 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java index c1c1d00f..2570b809 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private Price( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,54 @@ private Price( case 0: done = true; break; - case 10: { - com.google.type.Money.Builder subBuilder = null; - if (basePrice_ != null) { - subBuilder = basePrice_.toBuilder(); - } - basePrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(basePrice_); - basePrice_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.type.Money.Builder subBuilder = null; + if (basePrice_ != null) { + subBuilder = basePrice_.toBuilder(); + } + basePrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(basePrice_); + basePrice_ = subBuilder.buildPartial(); + } - break; - } - case 17: { - - discount_ = input.readDouble(); - break; - } - case 26: { - com.google.type.Money.Builder subBuilder = null; - if (effectivePrice_ != null) { - subBuilder = effectivePrice_.toBuilder(); + break; } - effectivePrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(effectivePrice_); - effectivePrice_ = subBuilder.buildPartial(); + case 17: + { + discount_ = input.readDouble(); + break; } + case 26: + { + com.google.type.Money.Builder subBuilder = null; + if (effectivePrice_ != null) { + subBuilder = effectivePrice_.toBuilder(); + } + effectivePrice_ = + input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(effectivePrice_); + effectivePrice_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - externalPriceUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + externalPriceUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,34 +125,39 @@ private Price( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -139,11 +165,14 @@ public boolean hasBasePrice() { return basePrice_ != null; } /** + * + * *
                      * Base price.
                      * 
                  * * .google.type.Money base_price = 1; + * * @return The basePrice. */ @java.lang.Override @@ -151,6 +180,8 @@ public com.google.type.Money getBasePrice() { return basePrice_ == null ? com.google.type.Money.getDefaultInstance() : basePrice_; } /** + * + * *
                      * Base price.
                      * 
                  @@ -165,12 +196,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 @@ -181,11 +215,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 @@ -193,11 +230,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 @@ -205,6 +245,8 @@ public com.google.type.Money getEffectivePrice() { return effectivePrice_ == null ? com.google.type.Money.getDefaultInstance() : effectivePrice_; } /** + * + * *
                      * Effective Price after applying the discounts.
                      * 
                  @@ -219,11 +261,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 @@ -232,29 +277,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 { @@ -263,6 +308,7 @@ public java.lang.String getExternalPriceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +320,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -298,16 +343,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_); @@ -320,7 +362,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); @@ -329,19 +371,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -358,8 +396,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(); @@ -371,118 +411,126 @@ 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() @@ -490,16 +538,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +570,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 @@ -565,38 +612,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; @@ -649,24 +697,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() { @@ -677,6 +732,8 @@ public com.google.type.Money getBasePrice() { } } /** + * + * *
                        * Base price.
                        * 
                  @@ -697,14 +754,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(); @@ -715,6 +773,8 @@ public Builder setBasePrice( return this; } /** + * + * *
                        * Base price.
                        * 
                  @@ -724,8 +784,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; } @@ -737,6 +796,8 @@ public Builder mergeBasePrice(com.google.type.Money value) { return this; } /** + * + * *
                        * Base price.
                        * 
                  @@ -755,6 +816,8 @@ public Builder clearBasePrice() { return this; } /** + * + * *
                        * Base price.
                        * 
                  @@ -762,11 +825,13 @@ public Builder clearBasePrice() { * .google.type.Money base_price = 1; */ public com.google.type.Money.Builder getBasePriceBuilder() { - + onChanged(); return getBasePriceFieldBuilder().getBuilder(); } /** + * + * *
                        * Base price.
                        * 
                  @@ -777,11 +842,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.
                        * 
                  @@ -789,27 +855,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 @@ -817,32 +886,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; @@ -850,34 +925,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.
                        * 
                  @@ -898,14 +984,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(); @@ -916,6 +1003,8 @@ public Builder setEffectivePrice( return this; } /** + * + * *
                        * Effective Price after applying the discounts.
                        * 
                  @@ -926,7 +1015,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; } @@ -938,6 +1027,8 @@ public Builder mergeEffectivePrice(com.google.type.Money value) { return this; } /** + * + * *
                        * Effective Price after applying the discounts.
                        * 
                  @@ -956,6 +1047,8 @@ public Builder clearEffectivePrice() { return this; } /** + * + * *
                        * Effective Price after applying the discounts.
                        * 
                  @@ -963,11 +1056,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.
                        * 
                  @@ -978,11 +1073,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.
                        * 
                  @@ -990,14 +1088,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_; @@ -1005,18 +1104,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; @@ -1025,20 +1126,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 { @@ -1046,61 +1148,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); } @@ -1110,12 +1219,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(); } @@ -1124,16 +1233,16 @@ 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 { - return new Price(input, extensionRegistry); - } - }; + 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 { + return new Price(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Price getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java index 2a7449f6..a351fa4a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java +++ b/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,16 +44,15 @@ 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; } + private PriceByResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,41 +72,46 @@ private PriceByResource( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - resourceType_ = rawValue; - break; - } - case 18: { - com.google.cloud.channel.v1.Price.Builder subBuilder = null; - if (price_ != null) { - subBuilder = price_.toBuilder(); - } - price_ = input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(price_); - price_ = subBuilder.buildPartial(); + resourceType_ = rawValue; + break; } + case 18: + { + com.google.cloud.channel.v1.Price.Builder subBuilder = null; + if (price_ != null) { + subBuilder = price_.toBuilder(); + } + price_ = + input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(price_); + price_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pricePhases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - pricePhases_.add( - input.readMessage(com.google.cloud.channel.v1.PricePhase.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pricePhases_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + pricePhases_.add( + input.readMessage( + com.google.cloud.channel.v1.PricePhase.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,8 +119,7 @@ private PriceByResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { pricePhases_ = java.util.Collections.unmodifiableList(pricePhases_); @@ -107,54 +128,69 @@ private PriceByResource( makeExtensionsImmutable(); } } - 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 @@ -162,11 +198,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 @@ -174,6 +213,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.
                      * 
                  @@ -188,6 +229,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.
                      * 
                  @@ -199,6 +242,8 @@ public java.util.List getPricePhasesList return pricePhases_; } /** + * + * *
                      * Specifies the price by time range.
                      * 
                  @@ -206,11 +251,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.
                      * 
                  @@ -222,6 +269,8 @@ public int getPricePhasesCount() { return pricePhases_.size(); } /** + * + * *
                      * Specifies the price by time range.
                      * 
                  @@ -233,6 +282,8 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { return pricePhases_.get(index); } /** + * + * *
                      * Specifies the price by time range.
                      * 
                  @@ -240,12 +291,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; @@ -257,9 +308,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) { @@ -277,17 +328,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,21 +346,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,118 +386,127 @@ 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() @@ -457,17 +514,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPricePhasesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +546,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 @@ -510,7 +567,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) { @@ -535,38 +593,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; @@ -599,9 +658,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_); } @@ -635,55 +695,70 @@ public Builder mergeFrom( } 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. */ @@ -691,21 +766,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; @@ -713,24 +791,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() { @@ -741,6 +828,8 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** + * + * *
                        * Price of the Offer. Present if there are no price phases.
                        * 
                  @@ -761,14 +850,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(); @@ -779,6 +869,8 @@ public Builder setPrice( return this; } /** + * + * *
                        * Price of the Offer. Present if there are no price phases.
                        * 
                  @@ -789,7 +881,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; } @@ -801,6 +893,8 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
                        * Price of the Offer. Present if there are no price phases.
                        * 
                  @@ -819,6 +913,8 @@ public Builder clearPrice() { return this; } /** + * + * *
                        * Price of the Offer. Present if there are no price phases.
                        * 
                  @@ -826,11 +922,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.
                        * 
                  @@ -841,11 +939,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.
                        * 
                  @@ -853,32 +952,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.
                        * 
                  @@ -893,6 +1002,8 @@ public java.util.List getPricePhasesList } } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -907,6 +1018,8 @@ public int getPricePhasesCount() { } } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -921,14 +1034,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(); @@ -942,6 +1056,8 @@ public Builder setPricePhases( return this; } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -960,6 +1076,8 @@ public Builder setPricePhases( return this; } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -980,14 +1098,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(); @@ -1001,14 +1120,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()); @@ -1019,6 +1139,8 @@ public Builder addPricePhases( return this; } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -1037,6 +1159,8 @@ public Builder addPricePhases( return this; } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -1047,8 +1171,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); @@ -1056,6 +1179,8 @@ public Builder addAllPricePhases( return this; } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -1073,6 +1198,8 @@ public Builder clearPricePhases() { return this; } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -1090,39 +1217,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 { @@ -1130,6 +1262,8 @@ public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( } } /** + * + * *
                        * Specifies the price by time range.
                        * 
                  @@ -1137,49 +1271,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); } @@ -1189,12 +1329,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(); } @@ -1203,16 +1343,16 @@ 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 { - return new PriceByResource(input, extensionRegistry); - } - }; + 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 { + return new PriceByResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,6 +1367,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceByResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java index 172c5381..cf2f0b92 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java index d9671660..6c5fd36e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java index 0af9ecd2..9898acd1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java +++ b/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,16 +46,15 @@ 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;
                     }
                  +
                     private PricePhase(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -57,51 +74,56 @@ private PricePhase(
                             case 0:
                               done = true;
                               break;
                  -          case 8: {
                  -            int rawValue = input.readEnum();
                  -
                  -            periodType_ = rawValue;
                  -            break;
                  -          }
                  -          case 16: {
                  -
                  -            firstPeriod_ = input.readInt32();
                  -            break;
                  -          }
                  -          case 24: {
                  +          case 8:
                  +            {
                  +              int rawValue = input.readEnum();
                   
                  -            lastPeriod_ = input.readInt32();
                  -            break;
                  -          }
                  -          case 34: {
                  -            com.google.cloud.channel.v1.Price.Builder subBuilder = null;
                  -            if (price_ != null) {
                  -              subBuilder = price_.toBuilder();
                  +              periodType_ = rawValue;
                  +              break;
                               }
                  -            price_ = input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(price_);
                  -              price_ = subBuilder.buildPartial();
                  +          case 16:
                  +            {
                  +              firstPeriod_ = input.readInt32();
                  +              break;
                               }
                  +          case 24:
                  +            {
                  +              lastPeriod_ = input.readInt32();
                  +              break;
                  +            }
                  +          case 34:
                  +            {
                  +              com.google.cloud.channel.v1.Price.Builder subBuilder = null;
                  +              if (price_ != null) {
                  +                subBuilder = price_.toBuilder();
                  +              }
                  +              price_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(price_);
                  +                price_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          case 42: {
                  -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  -              priceTiers_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000001;
                  +              break;
                               }
                  -            priceTiers_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.PriceTier.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          case 42:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  +                priceTiers_ = new java.util.ArrayList();
                  +                mutable_bitField0_ |= 0x00000001;
                  +              }
                  +              priceTiers_.add(
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.PriceTier.parser(), extensionRegistry));
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -109,8 +131,7 @@ private PricePhase(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         if (((mutable_bitField0_ & 0x00000001) != 0)) {
                           priceTiers_ = java.util.Collections.unmodifiableList(priceTiers_);
                  @@ -119,54 +140,69 @@ private PricePhase(
                         makeExtensionsImmutable();
                       }
                     }
                  -  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 @@ -177,11 +213,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 @@ -192,11 +231,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 @@ -204,11 +246,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 @@ -216,6 +261,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.
                      * 
                  @@ -230,6 +277,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.
                      * 
                  @@ -241,6 +290,8 @@ public java.util.List getPriceTiersList() return priceTiers_; } /** + * + * *
                      * Price by the resource tiers.
                      * 
                  @@ -248,11 +299,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.
                      * 
                  @@ -264,6 +317,8 @@ public int getPriceTiersCount() { return priceTiers_.size(); } /** + * + * *
                      * Price by the resource tiers.
                      * 
                  @@ -275,6 +330,8 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { return priceTiers_.get(index); } /** + * + * *
                      * Price by the resource tiers.
                      * 
                  @@ -282,12 +339,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; @@ -299,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, periodType_); } @@ -326,24 +382,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -353,7 +404,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); @@ -361,17 +412,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -402,97 +449,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
                  @@ -501,21 +555,23 @@ 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()
                  @@ -523,17 +579,17 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
                           getPriceTiersFieldBuilder();
                         }
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -559,9 +615,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
                  @@ -580,7 +636,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_;
                  @@ -607,38 +664,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;
                  @@ -677,9 +735,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_);
                             }
                  @@ -713,55 +772,70 @@ public Builder mergeFrom(
                         }
                         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. */ @@ -769,33 +843,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 @@ -803,42 +883,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 @@ -846,30 +935,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; @@ -877,24 +972,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() { @@ -905,6 +1009,8 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** + * + * *
                        * Price of the phase. Present if there are no price tiers.
                        * 
                  @@ -925,14 +1031,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(); @@ -943,6 +1050,8 @@ public Builder setPrice( return this; } /** + * + * *
                        * Price of the phase. Present if there are no price tiers.
                        * 
                  @@ -953,7 +1062,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; } @@ -965,6 +1074,8 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
                        * Price of the phase. Present if there are no price tiers.
                        * 
                  @@ -983,6 +1094,8 @@ public Builder clearPrice() { return this; } /** + * + * *
                        * Price of the phase. Present if there are no price tiers.
                        * 
                  @@ -990,11 +1103,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.
                        * 
                  @@ -1005,11 +1120,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.
                        * 
                  @@ -1017,32 +1133,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.
                        * 
                  @@ -1057,6 +1182,8 @@ public java.util.List getPriceTiersList() } } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1071,6 +1198,8 @@ public int getPriceTiersCount() { } } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1085,14 +1214,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(); @@ -1106,6 +1236,8 @@ public Builder setPriceTiers( return this; } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1124,6 +1256,8 @@ public Builder setPriceTiers( return this; } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1144,14 +1278,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(); @@ -1165,14 +1300,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()); @@ -1183,6 +1319,8 @@ public Builder addPriceTiers( return this; } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1201,6 +1339,8 @@ public Builder addPriceTiers( return this; } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1211,8 +1351,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); @@ -1220,6 +1359,8 @@ public Builder addAllPriceTiers( return this; } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1237,6 +1378,8 @@ public Builder clearPriceTiers() { return this; } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1254,39 +1397,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 { @@ -1294,6 +1442,8 @@ public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( } } /** + * + * *
                        * Price by the resource tiers.
                        * 
                  @@ -1301,49 +1451,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); } @@ -1353,12 +1509,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(); } @@ -1367,16 +1523,16 @@ 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 { - return new PricePhase(input, extensionRegistry); - } - }; + 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 { + return new PricePhase(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1391,6 +1547,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PricePhase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java index 759d9205..62aa966d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java index 469cdee7..d77c4c7b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java +++ b/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,30 +32,29 @@
                    *
                    * 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;
                     }
                  +
                     private PriceTier(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -57,36 +73,38 @@ private PriceTier(
                             case 0:
                               done = true;
                               break;
                  -          case 8: {
                  -
                  -            firstResource_ = input.readInt32();
                  -            break;
                  -          }
                  -          case 16: {
                  -
                  -            lastResource_ = input.readInt32();
                  -            break;
                  -          }
                  -          case 26: {
                  -            com.google.cloud.channel.v1.Price.Builder subBuilder = null;
                  -            if (price_ != null) {
                  -              subBuilder = price_.toBuilder();
                  +          case 8:
                  +            {
                  +              firstResource_ = input.readInt32();
                  +              break;
                               }
                  -            price_ = input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(price_);
                  -              price_ = subBuilder.buildPartial();
                  +          case 16:
                  +            {
                  +              lastResource_ = input.readInt32();
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          case 26:
                  +            {
                  +              com.google.cloud.channel.v1.Price.Builder subBuilder = null;
                  +              if (price_ != null) {
                  +                subBuilder = price_.toBuilder();
                  +              }
                  +              price_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Price.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(price_);
                  +                price_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -94,34 +112,39 @@ private PriceTier(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -132,11 +155,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 @@ -147,11 +173,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 @@ -159,11 +188,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * *
                      * Price of the tier.
                      * 
                  * * .google.cloud.channel.v1.Price price = 3; + * * @return The price. */ @java.lang.Override @@ -171,6 +203,8 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** + * + * *
                      * Price of the tier.
                      * 
                  @@ -183,6 +217,7 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,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 (firstResource_ != 0) { output.writeInt32(1, firstResource_); } @@ -215,16 +249,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -274,97 +302,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 :
                  @@ -376,21 +410,23 @@ 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()
                  @@ -398,16 +434,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -425,9 +460,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
                  @@ -446,7 +481,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) {
                  @@ -462,38 +498,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;
                  @@ -540,13 +577,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 @@ -554,42 +594,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 @@ -597,30 +646,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; @@ -628,24 +683,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() { @@ -656,6 +720,8 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** + * + * *
                        * Price of the tier.
                        * 
                  @@ -676,14 +742,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(); @@ -694,6 +761,8 @@ public Builder setPrice( return this; } /** + * + * *
                        * Price of the tier.
                        * 
                  @@ -704,7 +773,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; } @@ -716,6 +785,8 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
                        * Price of the tier.
                        * 
                  @@ -734,6 +805,8 @@ public Builder clearPrice() { return this; } /** + * + * *
                        * Price of the tier.
                        * 
                  @@ -741,11 +814,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.
                        * 
                  @@ -756,11 +831,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.
                        * 
                  @@ -768,21 +844,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); } @@ -792,12 +871,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(); } @@ -806,16 +885,16 @@ 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 { - return new PriceTier(input, extensionRegistry); - } - }; + 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 { + return new PriceTier(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,6 +909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceTier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java index d9c44078..4539e7f9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java index f6c8085a..65a736e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java +++ b/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,31 +28,31 @@
                    *
                    * 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;
                     }
                  +
                     private Product(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -54,32 +71,36 @@ private Product(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            name_ = s;
                  -            break;
                  -          }
                  -          case 18: {
                  -            com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
                  -            if (marketingInfo_ != null) {
                  -              subBuilder = marketingInfo_.toBuilder();
                  +              name_ = s;
                  +              break;
                               }
                  -            marketingInfo_ = input.readMessage(com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(marketingInfo_);
                  -              marketingInfo_ = subBuilder.buildPartial();
                  +          case 18:
                  +            {
                  +              com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
                  +              if (marketingInfo_ != null) {
                  +                subBuilder = marketingInfo_.toBuilder();
                  +              }
                  +              marketingInfo_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(marketingInfo_);
                  +                marketingInfo_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -87,35 +108,40 @@ private Product(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -124,30 +150,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 { @@ -158,11 +184,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 @@ -170,18 +199,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.
                      * 
                  @@ -194,6 +230,7 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +262,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,19 +272,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,97 +306,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.
                  @@ -371,21 +410,23 @@ 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()
                  @@ -393,16 +434,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -418,9 +458,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
                  @@ -454,38 +494,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;
                  @@ -532,19 +573,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; @@ -553,21 +596,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 { @@ -575,57 +619,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; @@ -633,34 +684,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.
                        * 
                  @@ -681,6 +745,8 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** + * + * *
                        * Marketing information for the product.
                        * 
                  @@ -699,6 +765,8 @@ public Builder setMarketingInfo( return this; } /** + * + * *
                        * Marketing information for the product.
                        * 
                  @@ -709,7 +777,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; } @@ -721,6 +791,8 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** + * + * *
                        * Marketing information for the product.
                        * 
                  @@ -739,6 +811,8 @@ public Builder clearMarketingInfo() { return this; } /** + * + * *
                        * Marketing information for the product.
                        * 
                  @@ -746,11 +820,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.
                        * 
                  @@ -761,11 +837,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.
                        * 
                  @@ -773,21 +852,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); } @@ -797,12 +879,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(); } @@ -811,16 +893,16 @@ 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 { - return new Product(input, extensionRegistry); - } - }; + 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 { + return new Product(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -835,6 +917,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Product getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java index 92bfc57b..9d65e89c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java +++ b/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java new file mode 100644 index 00000000..be281be6 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java index b9ef5d74..fc6528cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java index 05969917..10363d46 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private ProvisionCloudIdentityRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,57 @@ private ProvisionCloudIdentityRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - customer_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; - if (cloudIdentityInfo_ != null) { - subBuilder = cloudIdentityInfo_.toBuilder(); + customer_ = s; + break; } - cloudIdentityInfo_ = input.readMessage(com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cloudIdentityInfo_); - cloudIdentityInfo_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.channel.v1.CloudIdentityInfo.Builder subBuilder = null; + if (cloudIdentityInfo_ != null) { + subBuilder = cloudIdentityInfo_.toBuilder(); + } + cloudIdentityInfo_ = + input.readMessage( + com.google.cloud.channel.v1.CloudIdentityInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cloudIdentityInfo_); + cloudIdentityInfo_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + com.google.cloud.channel.v1.AdminUser.Builder subBuilder = null; + if (user_ != null) { + subBuilder = user_.toBuilder(); + } + user_ = + input.readMessage( + com.google.cloud.channel.v1.AdminUser.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(user_); + user_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.channel.v1.AdminUser.Builder subBuilder = null; - if (user_ != null) { - subBuilder = user_.toBuilder(); + break; } - user_ = input.readMessage(com.google.cloud.channel.v1.AdminUser.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(user_); - user_ = subBuilder.buildPartial(); + case 32: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 32: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +128,42 @@ private ProvisionCloudIdentityRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -141,30 +172,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 { @@ -175,11 +208,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 @@ -187,18 +223,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.
                      * 
                  @@ -213,11 +256,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 @@ -225,11 +271,14 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
                      * Admin user information.
                      * 
                  * * .google.cloud.channel.v1.AdminUser user = 3; + * * @return The user. */ @java.lang.Override @@ -237,6 +286,8 @@ public com.google.cloud.channel.v1.AdminUser getUser() { return user_ == null ? com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; } /** + * + * *
                      * Admin user information.
                      * 
                  @@ -251,11 +302,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 @@ -264,6 +318,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,16 +356,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -321,27 +372,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -364,125 +412,134 @@ 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) + unknownFields.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]
                      * 
                  * * 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() @@ -490,16 +547,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +579,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 @@ -544,7 +600,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_; @@ -565,38 +622,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; @@ -604,7 +662,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(); @@ -637,7 +696,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,19 +709,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; @@ -670,21 +734,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 { @@ -692,57 +759,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; @@ -750,34 +830,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.
                        * 
                  @@ -798,6 +891,8 @@ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInf return this; } /** + * + * *
                        * CloudIdentity-specific customer information.
                        * 
                  @@ -816,6 +911,8 @@ public Builder setCloudIdentityInfo( return this; } /** + * + * *
                        * CloudIdentity-specific customer information.
                        * 
                  @@ -826,7 +923,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; } @@ -838,6 +937,8 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI return this; } /** + * + * *
                        * CloudIdentity-specific customer information.
                        * 
                  @@ -856,6 +957,8 @@ public Builder clearCloudIdentityInfo() { return this; } /** + * + * *
                        * CloudIdentity-specific customer information.
                        * 
                  @@ -863,11 +966,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.
                        * 
                  @@ -878,11 +983,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.
                        * 
                  @@ -890,14 +998,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_; @@ -905,24 +1016,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() { @@ -933,6 +1053,8 @@ public com.google.cloud.channel.v1.AdminUser getUser() { } } /** + * + * *
                        * Admin user information.
                        * 
                  @@ -953,14 +1075,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(); @@ -971,6 +1094,8 @@ public Builder setUser( return this; } /** + * + * *
                        * Admin user information.
                        * 
                  @@ -981,7 +1106,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; } @@ -993,6 +1120,8 @@ public Builder mergeUser(com.google.cloud.channel.v1.AdminUser value) { return this; } /** + * + * *
                        * Admin user information.
                        * 
                  @@ -1011,6 +1140,8 @@ public Builder clearUser() { return this; } /** + * + * *
                        * Admin user information.
                        * 
                  @@ -1018,11 +1149,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.
                        * 
                  @@ -1033,11 +1166,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.
                        * 
                  @@ -1045,26 +1179,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 @@ -1072,37 +1212,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); } @@ -1112,12 +1258,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(); } @@ -1126,16 +1272,16 @@ 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 { - return new ProvisionCloudIdentityRequest(input, extensionRegistry); - } - }; + 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 { + return new ProvisionCloudIdentityRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1296,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java index 52d13172..86b242bb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java index 5599f193..fc8d4582 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java +++ b/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,16 +45,15 @@ 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; } + private ProvisionedService( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private ProvisionedService( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - provisioningId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + provisioningId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - productId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + productId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - skuId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + skuId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private ProvisionedService( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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
                  @@ -117,6 +141,7 @@ private ProvisionedService(
                      * 
                  * * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The provisioningId. */ @java.lang.Override @@ -125,14 +150,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
                  @@ -140,16 +166,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 { @@ -160,12 +185,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 @@ -174,30 +202,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 { @@ -208,11 +236,14 @@ 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 @@ -221,29 +252,29 @@ 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 { @@ -252,6 +283,7 @@ public java.lang.String getSkuId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +295,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(provisioningId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, provisioningId_); } @@ -300,19 +331,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,118 +364,127 @@ 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() @@ -454,16 +492,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +514,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 @@ -498,7 +535,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_; @@ -510,38 +548,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; @@ -593,6 +632,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
                  @@ -600,13 +641,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; @@ -615,6 +656,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
                  @@ -622,15 +665,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 { @@ -638,6 +680,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
                  @@ -645,20 +689,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
                  @@ -666,15 +712,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
                  @@ -682,16 +731,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; @@ -699,19 +748,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; @@ -720,21 +771,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 { @@ -742,57 +794,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; @@ -800,18 +859,20 @@ 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; @@ -820,20 +881,21 @@ 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 { @@ -841,61 +903,68 @@ 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); } @@ -905,12 +974,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(); } @@ -919,16 +988,16 @@ 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 { - return new ProvisionedService(input, extensionRegistry); - } - }; + 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 { + return new ProvisionedService(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -943,6 +1012,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ProvisionedService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java index a22aca2c..7c613a2c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java +++ b/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,50 +47,60 @@ 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java index 3cee280c..e4f50112 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java +++ b/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,30 +28,29 @@
                    *
                    * 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;
                     }
                  +
                     private PurchasableOffer(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -53,26 +69,28 @@ private PurchasableOffer(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
                  -            if (offer_ != null) {
                  -              subBuilder = offer_.toBuilder();
                  +          case 10:
                  +            {
                  +              com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
                  +              if (offer_ != null) {
                  +                subBuilder = offer_.toBuilder();
                  +              }
                  +              offer_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(offer_);
                  +                offer_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            offer_ = input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(offer_);
                  -              offer_ = subBuilder.buildPartial();
                  -            }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -80,34 +98,39 @@ private PurchasableOffer(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -115,11 +138,14 @@ public boolean hasOffer() { return offer_ != null; } /** + * + * *
                      * Offer.
                      * 
                  * * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ @java.lang.Override @@ -127,6 +153,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } /** + * + * *
                      * Offer.
                      * 
                  @@ -139,6 +167,7 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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 (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -165,8 +193,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,17 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,97 +235,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.
                  @@ -306,21 +340,23 @@ 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()
                  @@ -328,16 +364,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -351,9 +386,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
                  @@ -372,7 +407,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 {
                  @@ -386,38 +422,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;
                  @@ -460,24 +497,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() { @@ -488,6 +534,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** + * + * *
                        * Offer.
                        * 
                  @@ -508,14 +556,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(); @@ -526,6 +575,8 @@ public Builder setOffer( return this; } /** + * + * *
                        * Offer.
                        * 
                  @@ -536,7 +587,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; } @@ -548,6 +599,8 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
                        * Offer.
                        * 
                  @@ -566,6 +619,8 @@ public Builder clearOffer() { return this; } /** + * + * *
                        * Offer.
                        * 
                  @@ -573,11 +628,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.
                        * 
                  @@ -588,11 +645,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.
                        * 
                  @@ -600,21 +658,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); } @@ -624,12 +685,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(); } @@ -638,16 +699,16 @@ 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 { - return new PurchasableOffer(input, extensionRegistry); - } - }; + 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 { + return new PurchasableOffer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +723,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java index 45333d89..975a709f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java index db1bd5e7..6aaf4210 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java +++ b/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,30 +28,29 @@
                    *
                    * 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;
                     }
                  +
                     private PurchasableSku(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -53,26 +69,27 @@ private PurchasableSku(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  -            if (sku_ != null) {
                  -              subBuilder = sku_.toBuilder();
                  +          case 10:
                  +            {
                  +              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  +              if (sku_ != null) {
                  +                subBuilder = sku_.toBuilder();
                  +              }
                  +              sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(sku_);
                  +                sku_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(sku_);
                  -              sku_ = subBuilder.buildPartial();
                  -            }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -80,34 +97,39 @@ private PurchasableSku(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -115,11 +137,14 @@ public boolean hasSku() { return sku_ != null; } /** + * + * *
                      * SKU
                      * 
                  * * .google.cloud.channel.v1.Sku sku = 1; + * * @return The sku. */ @java.lang.Override @@ -127,6 +152,8 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** + * + * *
                      * SKU
                      * 
                  @@ -139,6 +166,7 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sku_ != null) { output.writeMessage(1, getSku()); } @@ -165,8 +192,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,17 +202,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,97 +234,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.
                  @@ -306,21 +339,23 @@ 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()
                  @@ -328,16 +363,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -351,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_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
                  @@ -372,7 +406,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 {
                  @@ -386,38 +421,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;
                  @@ -460,24 +496,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() { @@ -488,6 +533,8 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** + * + * *
                        * SKU
                        * 
                  @@ -508,14 +555,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(); @@ -526,6 +574,8 @@ public Builder setSku( return this; } /** + * + * *
                        * SKU
                        * 
                  @@ -535,8 +585,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; } @@ -548,6 +597,8 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
                        * SKU
                        * 
                  @@ -566,6 +617,8 @@ public Builder clearSku() { return this; } /** + * + * *
                        * SKU
                        * 
                  @@ -573,11 +626,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
                        * 
                  @@ -588,11 +643,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
                        * 
                  @@ -600,21 +656,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); } @@ -624,12 +683,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(); } @@ -638,16 +697,16 @@ 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 { - return new PurchasableSku(input, extensionRegistry); - } - }; + 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 { + return new PurchasableSku(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +721,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java index cfafdc24..02e177e7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java index 86c7170b..c2fca099 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
                  similarity index 70%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
                  index 40b1a96b..8ea79056 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
                  +++ b/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,16 +44,15 @@ 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; } + private RegisterSubscriberRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RegisterSubscriberRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + serviceAccount_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private RegisterSubscriberRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -116,29 +140,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 { @@ -149,11 +173,14 @@ 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 @@ -162,29 +189,29 @@ 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 { @@ -193,6 +220,7 @@ public java.lang.String getServiceAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -235,17 +262,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +293,127 @@ 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() @@ -385,16 +421,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +441,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 @@ -427,7 +462,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(); @@ -438,38 +474,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; @@ -477,7 +514,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(); @@ -505,7 +543,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.RegisterSubscriberRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.RegisterSubscriberRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +556,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; @@ -537,20 +578,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 { @@ -558,54 +600,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; @@ -613,18 +662,20 @@ 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; @@ -633,20 +684,21 @@ 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 { @@ -654,61 +706,68 @@ 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); } @@ -718,12 +777,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(); } @@ -732,16 +791,16 @@ 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 { - return new RegisterSubscriberRequest(input, extensionRegistry); - } - }; + 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 { + return new RegisterSubscriberRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java index 0793744e..576543cb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java @@ -1,49 +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 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java index e1b72a5d..7c5d46d5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private RegisterSubscriberResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private RegisterSubscriberResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + topic_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private RegisterSubscriberResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -176,15 +199,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ 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() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,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 @@ -362,7 +394,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; @@ -372,38 +405,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; @@ -411,7 +445,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(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.RegisterSubscriberResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.RegisterSubscriberResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,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; @@ -467,20 +505,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 { @@ -488,61 +527,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); } @@ -552,12 +598,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(); } @@ -566,16 +612,16 @@ 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 { - return new RegisterSubscriberResponse(input, extensionRegistry); - } - }; + 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 { + return new RegisterSubscriberResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java new file mode 100644 index 00000000..e5eb04a2 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java index 4264a327..4dbea035 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private RenewalSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,42 +70,45 @@ private RenewalSettings( case 0: done = true; break; - case 8: { - - enableRenewal_ = input.readBool(); - break; - } - case 16: { - - resizeUnitCount_ = input.readBool(); - break; - } - case 40: { - int rawValue = input.readEnum(); - - paymentPlan_ = rawValue; - break; - } - case 50: { - com.google.cloud.channel.v1.Period.Builder subBuilder = null; - if (paymentCycle_ != null) { - subBuilder = paymentCycle_.toBuilder(); + case 8: + { + enableRenewal_ = input.readBool(); + break; } - paymentCycle_ = input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(paymentCycle_); - paymentCycle_ = subBuilder.buildPartial(); + case 16: + { + resizeUnitCount_ = input.readBool(); + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + paymentPlan_ = rawValue; + break; + } + case 50: + { + com.google.cloud.channel.v1.Period.Builder subBuilder = null; + if (paymentCycle_ != null) { + subBuilder = paymentCycle_.toBuilder(); + } + paymentCycle_ = + input.readMessage(com.google.cloud.channel.v1.Period.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(paymentCycle_); + paymentCycle_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,34 +116,39 @@ private RenewalSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -134,12 +159,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 @@ -150,39 +178,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 @@ -190,19 +230,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.
                  @@ -216,6 +263,7 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
                     }
                   
                     private byte memoizedIsInitialized = -1;
                  +
                     @java.lang.Override
                     public final boolean isInitialized() {
                       byte isInitialized = memoizedIsInitialized;
                  @@ -227,15 +275,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) {
                  @@ -251,20 +299,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 += unknownFields.getSerializedSize();
                       memoizedSize = size;
                  @@ -274,22 +319,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 (!unknownFields.equals(other.unknownFields)) return false;
                       return true;
                  @@ -303,11 +346,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()) {
                  @@ -319,118 +360,127 @@ 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() @@ -438,16 +488,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +516,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 @@ -488,7 +537,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_; @@ -505,38 +555,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; @@ -586,13 +637,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 @@ -600,43 +654,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 @@ -644,32 +707,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; @@ -677,51 +746,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. */ @@ -729,21 +812,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; @@ -751,36 +837,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.
                  @@ -802,6 +901,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.
                  @@ -809,8 +910,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();
                  @@ -821,6 +921,8 @@ public Builder setPaymentCycle(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Describes how frequently the reseller will be billed, such as
                        * once per month.
                  @@ -832,7 +934,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;
                           }
                  @@ -844,6 +948,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.
                  @@ -863,6 +969,8 @@ public Builder clearPaymentCycle() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * Describes how frequently the reseller will be billed, such as
                        * once per month.
                  @@ -871,11 +979,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.
                  @@ -887,11 +997,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.
                  @@ -900,21 +1013,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);
                       }
                   
                  @@ -924,12 +1040,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();
                     }
                  @@ -938,16 +1054,16 @@ 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 {
                  -      return new RenewalSettings(input, extensionRegistry);
                  -    }
                  -  };
                  +  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 {
                  +          return new RenewalSettings(input, extensionRegistry);
                  +        }
                  +      };
                   
                     public static com.google.protobuf.Parser parser() {
                       return PARSER;
                  @@ -962,6 +1078,4 @@ public com.google.protobuf.Parser getParserForType() {
                     public com.google.cloud.channel.v1.RenewalSettings getDefaultInstanceForType() {
                       return DEFAULT_INSTANCE;
                     }
                  -
                   }
                  -
                  diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
                  similarity index 73%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
                  index de394439..c4e16914 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
                  +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
                  similarity index 69%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
                  index 5732c824..12e906fa 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
                  +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
                  @@ -1,39 +1,55 @@
                  +/*
                  + * Copyright 2020 Google LLC
                  + *
                  + * Licensed under the Apache License, Version 2.0 (the "License");
                  + * you may not use this file except in compliance with the License.
                  + * You may obtain a copy of the License at
                  + *
                  + *     https://www.apache.org/licenses/LICENSE-2.0
                  + *
                  + * Unless required by applicable law or agreed to in writing, software
                  + * distributed under the License is distributed on an "AS IS" BASIS,
                  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                  + * See the License for the specific language governing permissions and
                  + * limitations under the License.
                  + */
                   // Generated by the protocol buffer compiler.  DO NOT EDIT!
                   // source: google/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; } + private RepricingAdjustment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,31 @@ private RepricingAdjustment( case 0: done = true; break; - case 18: { - com.google.cloud.channel.v1.PercentageAdjustment.Builder subBuilder = null; - if (adjustmentCase_ == 2) { - subBuilder = ((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_).toBuilder(); + case 18: + { + com.google.cloud.channel.v1.PercentageAdjustment.Builder subBuilder = null; + if (adjustmentCase_ == 2) { + subBuilder = + ((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_).toBuilder(); + } + adjustment_ = + input.readMessage( + com.google.cloud.channel.v1.PercentageAdjustment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); + adjustment_ = subBuilder.buildPartial(); + } + adjustmentCase_ = 2; + break; } - adjustment_ = - input.readMessage(com.google.cloud.channel.v1.PercentageAdjustment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); - adjustment_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - adjustmentCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RepricingAdjustment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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; } @@ -123,29 +148,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 @@ -153,21 +183,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.
                      * 
                  @@ -175,14 +210,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; @@ -194,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (adjustmentCase_ == 2) { output.writeMessage(2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); } @@ -209,8 +245,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +257,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: @@ -260,118 +297,127 @@ 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() @@ -379,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +443,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 @@ -419,7 +464,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_; @@ -436,38 +482,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; @@ -475,15 +522,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.unknownFields); onChanged(); @@ -513,12 +563,12 @@ public Builder mergeFrom( } 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() { @@ -528,15 +578,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 @@ -544,11 +599,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 @@ -566,6 +624,8 @@ public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment( } } /** + * + * *
                        * Flat markup or markdown on an entire bill.
                        * 
                  @@ -586,6 +646,8 @@ public Builder setPercentageAdjustment(com.google.cloud.channel.v1.PercentageAdj return this; } /** + * + * *
                        * Flat markup or markdown on an entire bill.
                        * 
                  @@ -604,18 +666,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; } @@ -631,6 +700,8 @@ public Builder mergePercentageAdjustment(com.google.cloud.channel.v1.PercentageA return this; } /** + * + * *
                        * Flat markup or markdown on an entire bill.
                        * 
                  @@ -654,16 +725,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.
                        * 
                  @@ -671,7 +747,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 { @@ -682,6 +759,8 @@ public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAd } } /** + * + * *
                        * Flat markup or markdown on an entire bill.
                        * 
                  @@ -689,26 +768,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); } @@ -718,12 +803,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(); } @@ -732,16 +817,16 @@ 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 { - return new RepricingAdjustment(input, extensionRegistry); - } - }; + 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 { + return new RepricingAdjustment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +841,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingAdjustment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java index cfae561e..7612d68c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java index 957a89e8..fe6cc96f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } @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; } + private RepricingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,73 +70,98 @@ private RepricingConfig( case 0: done = true; break; - case 10: { - com.google.type.Date.Builder subBuilder = null; - if (effectiveInvoiceMonth_ != null) { - subBuilder = effectiveInvoiceMonth_.toBuilder(); - } - effectiveInvoiceMonth_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(effectiveInvoiceMonth_); - effectiveInvoiceMonth_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.type.Date.Builder subBuilder = null; + if (effectiveInvoiceMonth_ != null) { + subBuilder = effectiveInvoiceMonth_.toBuilder(); + } + effectiveInvoiceMonth_ = + input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(effectiveInvoiceMonth_); + effectiveInvoiceMonth_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.channel.v1.RepricingAdjustment.Builder subBuilder = null; - if (adjustment_ != null) { - subBuilder = adjustment_.toBuilder(); - } - adjustment_ = input.readMessage(com.google.cloud.channel.v1.RepricingAdjustment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(adjustment_); - adjustment_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.channel.v1.RepricingAdjustment.Builder subBuilder = null; + if (adjustment_ != null) { + subBuilder = adjustment_.toBuilder(); + } + adjustment_ = + input.readMessage( + com.google.cloud.channel.v1.RepricingAdjustment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adjustment_); + adjustment_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - - rebillingBasis_ = rawValue; - break; - } - case 34: { - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder subBuilder = null; - if (granularityCase_ == 4) { - subBuilder = ((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_).toBuilder(); + break; } - granularity_ = - input.readMessage(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_); - granularity_ = subBuilder.buildPartial(); + case 24: + { + int rawValue = input.readEnum(); + + rebillingBasis_ = rawValue; + break; } - granularityCase_ = 4; - break; - } - case 42: { - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder subBuilder = null; - if (granularityCase_ == 5) { - subBuilder = ((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_).toBuilder(); + case 34: + { + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder + subBuilder = null; + if (granularityCase_ == 4) { + subBuilder = + ((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) + granularity_) + .toBuilder(); + } + granularity_ = + input.readMessage( + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) + granularity_); + granularity_ = subBuilder.buildPartial(); + } + granularityCase_ = 4; + break; } - granularity_ = - input.readMessage(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_); - granularity_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder + subBuilder = null; + if (granularityCase_ == 5) { + subBuilder = + ((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) + granularity_) + .toBuilder(); + } + granularity_ = + input.readMessage( + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) + granularity_); + granularity_ = subBuilder.buildPartial(); + } + granularityCase_ = 5; + break; } - granularityCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,31 +169,36 @@ private RepricingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -159,10 +206,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:
                  @@ -170,43 +220,45 @@ 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; } + private EntitlementGranularity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -225,19 +277,20 @@ private EntitlementGranularity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entitlement_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + entitlement_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -245,29 +298,33 @@ private EntitlementGranularity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -275,6 +332,7 @@ private EntitlementGranularity(
                        * 
                  * * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ @java.lang.Override @@ -283,14 +341,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:
                  @@ -298,16 +357,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 { @@ -316,6 +374,7 @@ public java.lang.String getEntitlement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -327,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -352,15 +410,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -380,87 +438,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 @@ -470,44 +536,49 @@ 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() + // Construct using + // com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -517,14 +588,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 @@ -538,7 +611,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; @@ -548,46 +622,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(); @@ -611,7 +692,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,6 +706,8 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** + * + * *
                          * Resource name of the entitlement.
                          * Format:
                  @@ -630,13 +715,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; @@ -645,6 +730,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
                          * Resource name of the entitlement.
                          * Format:
                  @@ -652,15 +739,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 { @@ -668,6 +754,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
                          * Resource name of the entitlement.
                          * Format:
                  @@ -675,20 +763,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:
                  @@ -696,15 +786,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:
                  @@ -712,20 +805,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) { @@ -738,30 +832,32 @@ 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 { - return new EntitlementGranularity(input, extensionRegistry); - } - }; + 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 { + return new EntitlementGranularity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -773,17 +869,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
                  @@ -792,30 +890,29 @@ 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;
                       }
                  +
                       private ChannelPartnerGranularity(
                           com.google.protobuf.CodedInputStream input,
                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -834,13 +931,13 @@ private ChannelPartnerGranularity(
                               case 0:
                                 done = true;
                                 break;
                  -            default: {
                  -              if (!parseUnknownField(
                  -                  input, unknownFields, extensionRegistry, tag)) {
                  -                done = true;
                  +            default:
                  +              {
                  +                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                  done = true;
                  +                }
                  +                break;
                                 }
                  -              break;
                  -            }
                             }
                           }
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -848,27 +945,30 @@ private ChannelPartnerGranularity(
                         } catch (com.google.protobuf.UninitializedMessageException e) {
                           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                         } catch (java.io.IOException e) {
                  -        throw new com.google.protobuf.InvalidProtocolBufferException(
                  -            e).setUnfinishedMessage(this);
                  +        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                         } finally {
                           this.unknownFields = unknownFields.build();
                           makeExtensionsImmutable();
                         }
                       }
                  -    public static final com.google.protobuf.Descriptors.Descriptor
                  -        getDescriptor() {
                  -      return com.google.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;
                  @@ -880,8 +980,7 @@ public final boolean isInitialized() {
                       }
                   
                       @java.lang.Override
                  -    public void writeTo(com.google.protobuf.CodedOutputStream output)
                  -                        throws java.io.IOException {
                  +    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
                         unknownFields.writeTo(output);
                       }
                   
                  @@ -899,12 +998,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 (!unknownFields.equals(other.unknownFields)) return false;
                         return true;
                  @@ -923,87 +1023,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
                  @@ -1013,6 +1121,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
                  @@ -1021,38 +1131,42 @@ 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()
                  +      // Construct using
                  +      // com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder()
                         private Builder() {
                           maybeForceBuilderInitialization();
                         }
                   
                  -      private Builder(
                  -          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                           super(parent);
                           maybeForceBuilderInitialization();
                         }
                  +
                         private void maybeForceBuilderInitialization() {
                  -        if (com.google.protobuf.GeneratedMessageV3
                  -                .alwaysUseFieldBuilders) {
                  -        }
                  +        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                         }
                  +
                         @java.lang.Override
                         public Builder clear() {
                           super.clear();
                  @@ -1060,19 +1174,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);
                           }
                  @@ -1081,7 +1198,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;
                         }
                  @@ -1090,46 +1208,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.unknownFields);
                           onChanged();
                           return this;
                  @@ -1149,7 +1275,9 @@ public Builder mergeFrom(
                           try {
                             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -          parsedMessage = (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) e.getUnfinishedMessage();
                  +          parsedMessage =
                  +              (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
                  +                  e.getUnfinishedMessage();
                             throw e.unwrapIOException();
                           } finally {
                             if (parsedMessage != null) {
                  @@ -1158,6 +1286,7 @@ public Builder mergeFrom(
                           }
                           return this;
                         }
                  +
                         @java.lang.Override
                         public final Builder setUnknownFields(
                             final com.google.protobuf.UnknownFieldSet unknownFields) {
                  @@ -1170,30 +1299,33 @@ 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 {
                  -        return new ChannelPartnerGranularity(input, extensionRegistry);
                  -      }
                  -    };
                  +    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 {
                  +            return new ChannelPartnerGranularity(input, extensionRegistry);
                  +          }
                  +        };
                   
                       public static com.google.protobuf.Parser parser() {
                         return PARSER;
                  @@ -1205,21 +1337,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;
                       }
                  @@ -1235,31 +1370,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 @@ -1267,45 +1410,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 @@ -1313,46 +1472,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 @@ -1360,25 +1536,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() { @@ -1388,11 +1573,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 @@ -1400,23 +1590,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() { @@ -1426,33 +1627,47 @@ 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; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1464,22 +1679,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_); } unknownFields.writeTo(output); } @@ -1491,24 +1708,26 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1518,33 +1737,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!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: @@ -1587,118 +1804,127 @@ 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() @@ -1706,16 +1932,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1739,9 +1964,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 @@ -1760,7 +1985,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); if (granularityCase_ == 4) { if (entitlementGranularityBuilder_ == null) { result.granularity_ = granularity_; @@ -1795,38 +2021,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; @@ -1845,17 +2072,20 @@ public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig other) { setRebillingBasisValue(other.getRebillingBasisValue()); } 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.unknownFields); onChanged(); @@ -1885,12 +2115,12 @@ public Builder mergeFrom( } 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() { @@ -1900,16 +2130,23 @@ public Builder clearGranularity() { return this; } - 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 @@ -1917,37 +2154,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(); @@ -1961,15 +2211,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(); @@ -1980,19 +2235,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; } @@ -2008,12 +2274,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) { @@ -2032,71 +2302,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 @@ -2104,37 +2405,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(); @@ -2148,15 +2463,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(); @@ -2167,19 +2487,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; } @@ -2195,12 +2526,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) { @@ -2219,100 +2554,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) { @@ -2328,15 +2705,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(); @@ -2347,18 +2727,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; } @@ -2370,12 +2756,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) { @@ -2389,51 +2779,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_; @@ -2441,39 +2843,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) { @@ -2489,11 +2910,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) { @@ -2507,17 +2932,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; } @@ -2529,11 +2960,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) { @@ -2547,48 +2982,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_; @@ -2596,55 +3047,77 @@ 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. */ @@ -2652,29 +3125,34 @@ 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2684,12 +3162,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(); } @@ -2698,16 +3176,16 @@ 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 { - return new RepricingConfig(input, extensionRegistry); - } - }; + 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 { + return new RepricingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2722,6 +3200,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java index a44bcda3..2ce95fd3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java @@ -1,146 +1,228 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java new file mode 100644 index 00000000..eacd06dc --- /dev/null +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java @@ -0,0 +1,199 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java index 8874e986..fae2a68b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java +++ b/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java new file mode 100644 index 00000000..3ec4220e --- /dev/null +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java @@ -0,0 +1,1466 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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\"\333\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\022\n\nauth_token\030\005 \001(\t" + + "\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transferred_c" + + "ustomer_identity\"|\n\034ListTransferableSkus" + + "Response\022C\n\021transferable_skus\030\001 \003(\0132(.go" + + "ogle.cloud.channel.v1.TransferableSku\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\333\001\n\035ListTransfera" + + "bleOffersRequest\022\033\n\021cloud_identity_id\030\004 " + + "\001(\tH\000\022\027\n\rcustomer_name\030\005 \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_t" + + "oken\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\025\n\rlanguage" + + "_code\030\007 \001(\tB\037\n\035transferred_customer_iden" + + "tity\"\202\001\n\036ListTransferableOffersResponse\022" + + "G\n\023transferable_offers\030\001 \003(\0132*.google.cl" + + "oud.channel.v1.TransferableOffer\022\027\n\017next" + + "_page_token\030\002 \001(\t\"B\n\021TransferableOffer\022-" + + "\n\005offer\030\001 \001(\0132\036.google.cloud.channel.v1." + + "Offer\"V\n\025GetEntitlementRequest\022=\n\004name\030\001" + + " \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis.co" + + "m/Entitlement\"\252\001\n\036ListChannelPartnerLink" + + "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\022B" + + "\n\004view\030\004 \001(\0162/.google.cloud.channel.v1.C" + + "hannelPartnerLinkViewB\003\340A\001\"\206\001\n\037ListChann" + + "elPartnerLinksResponse\022J\n\025channel_partne" + + "r_links\030\001 \003(\0132+.google.cloud.channel.v1." + + "ChannelPartnerLink\022\027\n\017next_page_token\030\002 " + + "\001(\t\"u\n\034GetChannelPartnerLinkRequest\022\021\n\004n" + + "ame\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/.google.cl" + + "oud.channel.v1.ChannelPartnerLinkViewB\003\340" + + "A\001\"\206\001\n\037CreateChannelPartnerLinkRequest\022\023" + + "\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel_partner_l" + + "ink\030\002 \001(\0132+.google.cloud.channel.v1.Chan" + + "nelPartnerLinkB\003\340A\002\"\272\001\n\037UpdateChannelPar" + + "tnerLinkRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022N\n\024ch" + + "annel_partner_link\030\002 \001(\0132+.google.cloud." + + "channel.v1.ChannelPartnerLinkB\003\340A\002\0224\n\013up" + + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"n\n!GetCustomerRepricingConfigRe" + + "quest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudchanne" + + "l.googleapis.com/CustomerRepricingConfig" + + "\"\251\001\n#ListCustomerRepricingConfigsRequest" + + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.g" + + "oogleapis.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\006filte" + + "r\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerRepricingCo" + + "nfigsResponse\022T\n\032customer_repricing_conf" + + "igs\030\001 \003(\01320.google.cloud.channel.v1.Cust" + + "omerRepricingConfig\022\027\n\017next_page_token\030\002" + + " \001(\t\"\276\001\n$CreateCustomerRepricingConfigRe" + + "quest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$cloudchan" + + "nel.googleapis.com/Customer\022X\n\031customer_" + + "repricing_config\030\002 \001(\01320.google.cloud.ch" + + "annel.v1.CustomerRepricingConfigB\003\340A\002\"\200\001" + + "\n$UpdateCustomerRepricingConfigRequest\022X" + + "\n\031customer_repricing_config\030\001 \001(\01320.goog" + + "le.cloud.channel.v1.CustomerRepricingCon" + + "figB\003\340A\002\"q\n$DeleteCustomerRepricingConfi" + + "gRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3cloudcha" + + "nnel.googleapis.com/CustomerRepricingCon" + + "fig\"z\n\'GetChannelPartnerRepricingConfigR" + + "equest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9cloudchann" + + "el.googleapis.com/ChannelPartnerRepricin" + + "gConfig\"\271\001\n)ListChannelPartnerRepricingC" + + "onfigsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" + + "loudchannel.googleapis.com/ChannelPartne" + + "rLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to" + + "ken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\250\001\n*" + + "ListChannelPartnerRepricingConfigsRespon" + + "se\022a\n!channel_partner_repricing_configs\030" + + "\001 \003(\01326.google.cloud.channel.v1.ChannelP" + + "artnerRepricingConfig\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\333\001\n*CreateChannelPartnerRepricing" + + "ConfigRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\n.c" + + "loudchannel.googleapis.com/ChannelPartne" + + "rLink\022e\n channel_partner_repricing_confi" + + "g\030\002 \001(\01326.google.cloud.channel.v1.Channe" + + "lPartnerRepricingConfigB\003\340A\002\"\223\001\n*UpdateC" + + "hannelPartnerRepricingConfigRequest\022e\n c" + + "hannel_partner_repricing_config\030\001 \001(\01326." + + "google.cloud.channel.v1.ChannelPartnerRe" + + "pricingConfigB\003\340A\002\"}\n*DeleteChannelPartn" + + "erRepricingConfigRequest\022O\n\004name\030\001 \001(\tBA" + + "\340A\002\372A;\n9cloudchannel.googleapis.com/Chan" + + "nelPartnerRepricingConfig\"\261\001\n\030CreateEnti" + + "tlementRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$" + + "cloudchannel.googleapis.com/Customer\022>\n\013" + + "entitlement\030\002 \001(\0132$.google.cloud.channel" + + ".v1.EntitlementB\003\340A\002\022\027\n\nrequest_id\030\005 \001(\t" + + "B\003\340A\001\"\240\001\n\033TransferEntitlementsRequest\022\023\n" + + "\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\013" + + "2$.google.cloud.channel.v1.EntitlementB\003" + + "\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nrequest_id\030\006 " + + "\001(\tB\003\340A\001\"Z\n\034TransferEntitlementsResponse" + + "\022:\n\014entitlements\030\001 \003(\0132$.google.cloud.ch" + + "annel.v1.Entitlement\"\224\001\n#TransferEntitle" + + "mentsToGoogleRequest\022\023\n\006parent\030\001 \001(\tB\003\340A" + + "\002\022?\n\014entitlements\030\002 \003(\0132$.google.cloud.c" + + "hannel.v1.EntitlementB\003\340A\002\022\027\n\nrequest_id" + + "\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParametersRequest\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparameters\030\002 \003(\0132\"" + + ".google.cloud.channel.v1.ParameterB\003\340A\002\022" + + "\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021purchase_ord" + + "er_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRenewalSettin" + + "gsRequest\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\nrequest_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!cloudch" + + "annel.googleapis.com/Offer\022;\n\nparameters" + + "\030\003 \003(\0132\".google.cloud.channel.v1.Paramet" + + "erB\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\027StartPaidSer" + + "viceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nreques" + + "t_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntitlementRequ" + + "est\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001" + + "(\tB\003\340A\001\"G\n\031SuspendEntitlementRequest\022\021\n\004" + + "name\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\022Lo" + + "okupOfferRequest\022D\n\013entitlement\030\001 \001(\tB/\340" + + "A\002\372A)\n\'cloudchannel.googleapis.com/Entit" + + "lement\"x\n\023ListProductsRequest\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\np" + + "age_token\030\003 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\004 " + + "\001(\tB\003\340A\001\"c\n\024ListProductsResponse\0222\n\010prod" + + "ucts\030\001 \003(\0132 .google.cloud.channel.v1.Pro" + + "duct\022\027\n\017next_page_token\030\002 \001(\t\"\261\001\n\017ListSk" + + "usRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\n#cloud" + + "channel.googleapis.com/Product\022\024\n\007accoun" + + "t\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_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\017nex" + + "t_page_token\030\002 \001(\t\"\212\001\n\021ListOffersRequest" + + "\022\023\n\006parent\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\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\006offers\030\001 \003(\0132\036." + + "google.cloud.channel.v1.Offer\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\266\005\n\032ListPurchasableSkusRe" + + "quest\022t\n\033create_entitlement_purchase\030\002 \001" + + "(\0132M.google.cloud.channel.v1.ListPurchas" + + "ableSkusRequest.CreateEntitlementPurchas" + + "eH\000\022h\n\025change_offer_purchase\030\003 \001(\0132G.goo" + + "gle.cloud.channel.v1.ListPurchasableSkus" + + "Request.ChangeOfferPurchaseH\000\022>\n\010custome" + + "r\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\rlanguage_code\030" + + "\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlementPurchase\022" + + "\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023ChangeOfferPur" + + "chase\022\030\n\013entitlement\030\001 \001(\tB\003\340A\002\022l\n\013chang" + + "e_type\030\002 \001(\0162R.google.cloud.channel.v1.L" + + "istPurchasableSkusRequest.ChangeOfferPur" + + "chase.ChangeTypeB\003\340A\002\"E\n\nChangeType\022\033\n\027C" + + "HANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UPGRADE\020\001\022\r\n" + + "\tDOWNGRADE\020\002B\021\n\017purchase_option\"y\n\033ListP" + + "urchasableSkusResponse\022A\n\020purchasable_sk" + + "us\030\001 \003(\0132\'.google.cloud.channel.v1.Purch" + + "asableSku\022\027\n\017next_page_token\030\002 \001(\t\";\n\016Pu" + + "rchasableSku\022)\n\003sku\030\001 \001(\0132\034.google.cloud" + + ".channel.v1.Sku\"\230\004\n\034ListPurchasableOffer" + + "sRequest\022v\n\033create_entitlement_purchase\030" + + "\002 \001(\0132O.google.cloud.channel.v1.ListPurc" + + "hasableOffersRequest.CreateEntitlementPu" + + "rchaseH\000\022j\n\025change_offer_purchase\030\003 \001(\0132" + + "I.google.cloud.channel.v1.ListPurchasabl" + + "eOffersRequest.ChangeOfferPurchaseH\000\022>\n\010" + + "customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.goo" + + "gleapis.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\rlanguag" + + "e_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEntitlementPu" + + "rchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023ChangeOfferP" + + "urchase\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_option\"\177\n\035Li" + + "stPurchasableOffersResponse\022E\n\022purchasab" + + "le_offers\030\001 \003(\0132).google.cloud.channel.v" + + "1.PurchasableOffer\022\027\n\017next_page_token\030\002 " + + "\001(\t\"A\n\020PurchasableOffer\022-\n\005offer\030\001 \001(\0132\036" + + ".google.cloud.channel.v1.Offer\"O\n\031Regist" + + "erSubscriberRequest\022\024\n\007account\030\001 \001(\tB\003\340A" + + "\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"+\n\032Regis" + + "terSubscriberResponse\022\r\n\005topic\030\001 \001(\t\"Q\n\033" + + "UnregisterSubscriberRequest\022\024\n\007account\030\001" + + " \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002\"" + + "-\n\034UnregisterSubscriberResponse\022\r\n\005topic" + + "\030\001 \001(\t\"_\n\026ListSubscribersRequest\022\024\n\007acco" + + "unt\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\027ListSubscribe" + + "rsResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020service_acc" + + "ounts\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t2\371K\n" + + "\023CloudChannelService\022\324\001\n\rListCustomers\022-" + + ".google.cloud.channel.v1.ListCustomersRe" + + "quest\032..google.cloud.channel.v1.ListCust" + + "omersResponse\"d\202\323\344\223\002^\022!/v1/{parent=accou" + + "nts/*}/customersZ9\0227/v1/{parent=accounts" + + "/*/channelPartnerLinks/*}/customers\022\312\001\n\013" + + "GetCustomer\022+.google.cloud.channel.v1.Ge" + + "tCustomerRequest\032!.google.cloud.channel." + + "v1.Customer\"k\202\323\344\223\002^\022!/v1/{name=accounts/" + + "*/customers/*}Z9\0227/v1/{name=accounts/*/c" + + "hannelPartnerLinks/*/customers/*}\332A\004name" + + "\022\350\001\n\037CheckCloudIdentityAccountsExist\022?.g" + + "oogle.cloud.channel.v1.CheckCloudIdentit" + + "yAccountsExistRequest\032@.google.cloud.cha" + + "nnel.v1.CheckCloudIdentityAccountsExistR" + + "esponse\"B\202\323\344\223\002<\"7/v1/{parent=accounts/*}" + + ":checkCloudIdentityAccountsExist:\001*\022\335\001\n\016" + + "CreateCustomer\022..google.cloud.channel.v1" + + ".CreateCustomerRequest\032!.google.cloud.ch" + + "annel.v1.Customer\"x\202\323\344\223\002r\"!/v1/{parent=a" + + "ccounts/*}/customers:\010customerZC\"7/v1/{p" + + "arent=accounts/*/channelPartnerLinks/*}/" + + "customers:\010customer\022\361\001\n\016UpdateCustomer\022." + + ".google.cloud.channel.v1.UpdateCustomerR" + + "equest\032!.google.cloud.channel.v1.Custome" + + "r\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.name=accounts" + + "/*/customers/*}:\010customerZL2@/v1/{custom" + + "er.name=accounts/*/channelPartnerLinks/*" + + "/customers/*}:\010customer\022\305\001\n\016DeleteCustom" + + "er\022..google.cloud.channel.v1.DeleteCusto" + + "merRequest\032\026.google.protobuf.Empty\"k\202\323\344\223" + + "\002^*!/v1/{name=accounts/*/customers/*}Z9*" + + "7/v1/{name=accounts/*/channelPartnerLink" + + "s/*/customers/*}\332A\004name\022\335\001\n\016ImportCustom" + + "er\022..google.cloud.channel.v1.ImportCusto" + + "merRequest\032!.google.cloud.channel.v1.Cus" + + "tomer\"x\202\323\344\223\002r\"(/v1/{parent=accounts/*}/c" + + "ustomers:import:\001*ZC\">/v1/{parent=accoun" + + "ts/*/channelPartnerLinks/*}/customers:im" + + "port:\001*\022\330\001\n\026ProvisionCloudIdentity\0226.goo" + + "gle.cloud.channel.v1.ProvisionCloudIdent" + + "ityRequest\032\035.google.longrunning.Operatio" + + "n\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/customers/*/ent" + + "itlements/*}:activate:\001*\312A \n\013Entitlement" + + "\022\021OperationMetadata\022\344\001\n\024TransferEntitlem" + + "ents\0224.google.cloud.channel.v1.TransferE" + + "ntitlementsRequest\032\035.google.longrunning." + + "Operation\"w\202\323\344\223\002=\"8/v1/{parent=accounts/" + + "*/customers/*}:transferEntitlements:\001*\312A" + + "1\n\034TransferEntitlementsResponse\022\021Operati" + + "onMetadata\022\365\001\n\034TransferEntitlementsToGoo" + + "gle\022<.google.cloud.channel.v1.TransferEn" + + "titlementsToGoogleRequest\032\035.google.longr" + + "unning.Operation\"x\202\323\344\223\002E\"@/v1/{parent=ac" + + "counts/*/customers/*}:transferEntitlemen" + + "tsToGoogle:\001*\312A*\n\025google.protobuf.Empty\022" + + "\021OperationMetadata\022\301\001\n\027ListChannelPartne" + + "rLinks\0227.google.cloud.channel.v1.ListCha" + + "nnelPartnerLinksRequest\0328.google.cloud.c" + + "hannel.v1.ListChannelPartnerLinksRespons" + + "e\"3\202\323\344\223\002-\022+/v1/{parent=accounts/*}/chann" + + "elPartnerLinks\022\260\001\n\025GetChannelPartnerLink" + + "\0225.google.cloud.channel.v1.GetChannelPar" + + "tnerLinkRequest\032+.google.cloud.channel.v" + + "1.ChannelPartnerLink\"3\202\323\344\223\002-\022+/v1/{name=" + + "accounts/*/channelPartnerLinks/*}\022\314\001\n\030Cr" + + "eateChannelPartnerLink\0228.google.cloud.ch" + + "annel.v1.CreateChannelPartnerLinkRequest" + + "\032+.google.cloud.channel.v1.ChannelPartne" + + "rLink\"I\202\323\344\223\002C\"+/v1/{parent=accounts/*}/c" + + "hannelPartnerLinks:\024channel_partner_link" + + "\022\271\001\n\030UpdateChannelPartnerLink\0228.google.c" + + "loud.channel.v1.UpdateChannelPartnerLink" + + "Request\032+.google.cloud.channel.v1.Channe" + + "lPartnerLink\"6\202\323\344\223\00202+/v1/{name=accounts" + + "/*/channelPartnerLinks/*}:\001*\022\327\001\n\032GetCust" + + "omerRepricingConfig\022:.google.cloud.chann" + + "el.v1.GetCustomerRepricingConfigRequest\032" + + "0.google.cloud.channel.v1.CustomerRepric" + + "ingConfig\"K\202\323\344\223\002>\022\022*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.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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java index f48bd898..9e7129ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java +++ b/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,31 +30,31 @@
                    *
                    * 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;
                     }
                  +
                     private Sku(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -56,45 +73,52 @@ private Sku(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            java.lang.String s = input.readStringRequireUtf8();
                  +          case 10:
                  +            {
                  +              java.lang.String s = input.readStringRequireUtf8();
                   
                  -            name_ = s;
                  -            break;
                  -          }
                  -          case 18: {
                  -            com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
                  -            if (marketingInfo_ != null) {
                  -              subBuilder = marketingInfo_.toBuilder();
                  -            }
                  -            marketingInfo_ = input.readMessage(com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(marketingInfo_);
                  -              marketingInfo_ = subBuilder.buildPartial();
                  +              name_ = s;
                  +              break;
                               }
                  +          case 18:
                  +            {
                  +              com.google.cloud.channel.v1.MarketingInfo.Builder subBuilder = null;
                  +              if (marketingInfo_ != null) {
                  +                subBuilder = marketingInfo_.toBuilder();
                  +              }
                  +              marketingInfo_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.MarketingInfo.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(marketingInfo_);
                  +                marketingInfo_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          case 26: {
                  -            com.google.cloud.channel.v1.Product.Builder subBuilder = null;
                  -            if (product_ != null) {
                  -              subBuilder = product_.toBuilder();
                  -            }
                  -            product_ = input.readMessage(com.google.cloud.channel.v1.Product.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(product_);
                  -              product_ = subBuilder.buildPartial();
                  +              break;
                               }
                  +          case 26:
                  +            {
                  +              com.google.cloud.channel.v1.Product.Builder subBuilder = null;
                  +              if (product_ != null) {
                  +                subBuilder = product_.toBuilder();
                  +              }
                  +              product_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.Product.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(product_);
                  +                product_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -102,22 +126,23 @@ private Sku(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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);
                     }
                  @@ -125,12 +150,15 @@ private Sku(
                     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 @@ -139,30 +167,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 { @@ -173,11 +201,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 @@ -185,18 +216,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.
                      * 
                  @@ -211,11 +249,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 @@ -223,11 +264,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 @@ -235,6 +279,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.
                      * 
                  @@ -247,6 +293,7 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -282,12 +328,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,24 +341,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,97 +383,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
                  @@ -442,19 +489,20 @@ 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);
                       }
                  @@ -464,16 +512,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -495,9 +542,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
                  @@ -536,38 +583,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;
                  @@ -617,19 +665,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; @@ -638,21 +688,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 { @@ -660,57 +711,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; @@ -718,34 +776,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.
                        * 
                  @@ -766,6 +837,8 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** + * + * *
                        * Marketing information for the SKU.
                        * 
                  @@ -784,6 +857,8 @@ public Builder setMarketingInfo( return this; } /** + * + * *
                        * Marketing information for the SKU.
                        * 
                  @@ -794,7 +869,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; } @@ -806,6 +883,8 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** + * + * *
                        * Marketing information for the SKU.
                        * 
                  @@ -824,6 +903,8 @@ public Builder clearMarketingInfo() { return this; } /** + * + * *
                        * Marketing information for the SKU.
                        * 
                  @@ -831,11 +912,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.
                        * 
                  @@ -846,11 +929,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.
                        * 
                  @@ -858,14 +944,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_; @@ -873,34 +962,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.
                        * 
                  @@ -921,14 +1023,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(); @@ -939,6 +1042,8 @@ public Builder setProduct( return this; } /** + * + * *
                        * Product the SKU is associated with.
                        * 
                  @@ -949,7 +1054,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; } @@ -961,6 +1068,8 @@ public Builder mergeProduct(com.google.cloud.channel.v1.Product value) { return this; } /** + * + * *
                        * Product the SKU is associated with.
                        * 
                  @@ -979,6 +1088,8 @@ public Builder clearProduct() { return this; } /** + * + * *
                        * Product the SKU is associated with.
                        * 
                  @@ -986,11 +1097,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.
                        * 
                  @@ -1001,11 +1114,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.
                        * 
                  @@ -1013,21 +1129,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); } @@ -1037,12 +1156,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(); } @@ -1051,16 +1170,16 @@ 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 { - return new Sku(input, extensionRegistry); - } - }; + 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 { + return new Sku(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,6 +1194,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Sku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java index cbe66922..51aecf74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java index ddcad0a5..e46a4f58 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private StartPaidServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private StartPaidServiceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private StartPaidServiceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -110,6 +133,7 @@ private StartPaidServiceRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -118,14 +142,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:
                  @@ -133,16 +158,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 { @@ -153,6 +177,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 complete.
                  @@ -166,6 +192,7 @@ public java.lang.String getName() {
                      * 
                  * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +201,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 complete.
                  @@ -195,16 +223,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 { @@ -213,6 +240,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -255,17 +282,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +313,126 @@ 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].
                      * 
                  * * 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() @@ -405,16 +440,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +460,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 @@ -447,7 +481,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(); @@ -458,38 +493,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; @@ -497,7 +533,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(); @@ -525,7 +562,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.StartPaidServiceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.StartPaidServiceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,6 +575,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:
                  @@ -544,13 +584,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; @@ -559,6 +599,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The name of the entitlement to start a paid service for.
                        * Name uses the format:
                  @@ -566,15 +608,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 { @@ -582,6 +623,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The name of the entitlement to start a paid service for.
                        * Name uses the format:
                  @@ -589,20 +632,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:
                  @@ -610,15 +655,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:
                  @@ -626,16 +674,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; @@ -643,6 +691,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 complete.
                  @@ -656,13 +706,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; @@ -671,6 +721,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 complete.
                  @@ -684,15 +736,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 { @@ -700,6 +751,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 complete.
                  @@ -713,20 +766,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 complete.
                  @@ -740,15 +795,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 complete.
                  @@ -762,23 +820,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); } @@ -788,12 +846,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(); } @@ -802,16 +860,16 @@ 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 { - return new StartPaidServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new StartPaidServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +884,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.StartPaidServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java index 4262b2f1..59e7ecba 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java +++ b/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 complete.
                  @@ -45,10 +68,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 complete.
                  @@ -62,8 +88,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java index 9db3d917..3758ea60 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java +++ b/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,30 +28,29 @@
                    *
                    * 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;
                     }
                  +
                     private SubscriberEvent(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -53,41 +69,45 @@ private SubscriberEvent(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            com.google.cloud.channel.v1.CustomerEvent.Builder subBuilder = null;
                  -            if (eventCase_ == 1) {
                  -              subBuilder = ((com.google.cloud.channel.v1.CustomerEvent) event_).toBuilder();
                  +          case 10:
                  +            {
                  +              com.google.cloud.channel.v1.CustomerEvent.Builder subBuilder = null;
                  +              if (eventCase_ == 1) {
                  +                subBuilder = ((com.google.cloud.channel.v1.CustomerEvent) event_).toBuilder();
                  +              }
                  +              event_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.CustomerEvent.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom((com.google.cloud.channel.v1.CustomerEvent) event_);
                  +                event_ = subBuilder.buildPartial();
                  +              }
                  +              eventCase_ = 1;
                  +              break;
                               }
                  -            event_ =
                  -                input.readMessage(com.google.cloud.channel.v1.CustomerEvent.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom((com.google.cloud.channel.v1.CustomerEvent) event_);
                  -              event_ = subBuilder.buildPartial();
                  +          case 18:
                  +            {
                  +              com.google.cloud.channel.v1.EntitlementEvent.Builder subBuilder = null;
                  +              if (eventCase_ == 2) {
                  +                subBuilder = ((com.google.cloud.channel.v1.EntitlementEvent) event_).toBuilder();
                  +              }
                  +              event_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.EntitlementEvent.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom((com.google.cloud.channel.v1.EntitlementEvent) event_);
                  +                event_ = subBuilder.buildPartial();
                  +              }
                  +              eventCase_ = 2;
                  +              break;
                               }
                  -            eventCase_ = 1;
                  -            break;
                  -          }
                  -          case 18: {
                  -            com.google.cloud.channel.v1.EntitlementEvent.Builder subBuilder = null;
                  -            if (eventCase_ == 2) {
                  -              subBuilder = ((com.google.cloud.channel.v1.EntitlementEvent) event_).toBuilder();
                  -            }
                  -            event_ =
                  -                input.readMessage(com.google.cloud.channel.v1.EntitlementEvent.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom((com.google.cloud.channel.v1.EntitlementEvent) event_);
                  -              event_ = subBuilder.buildPartial();
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            eventCase_ = 2;
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  -            }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -95,35 +115,40 @@ private SubscriberEvent(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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;
                       }
                  @@ -139,30 +164,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 @@ -170,21 +201,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.
                      * 
                  @@ -194,18 +230,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 @@ -213,21 +252,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.
                      * 
                  @@ -237,12 +281,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; @@ -254,8 +299,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -272,12 +316,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -287,22 +333,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: @@ -335,97 +380,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.
                  @@ -433,21 +485,23 @@ 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()
                  @@ -455,16 +509,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -474,9 +527,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
                  @@ -495,7 +548,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_;
                  @@ -519,38 +573,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;
                  @@ -560,17 +615,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.unknownFields);
                         onChanged();
                  @@ -600,12 +658,12 @@ public Builder mergeFrom(
                         }
                         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() {
                  @@ -615,15 +673,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 @@ -631,11 +694,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 @@ -653,6 +719,8 @@ public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { } } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -673,6 +741,8 @@ public Builder setCustomerEvent(com.google.cloud.channel.v1.CustomerEvent value) return this; } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -691,6 +761,8 @@ public Builder setCustomerEvent( return this; } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -699,10 +771,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; } @@ -718,6 +793,8 @@ public Builder mergeCustomerEvent(com.google.cloud.channel.v1.CustomerEvent valu return this; } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -741,6 +818,8 @@ public Builder clearCustomerEvent() { return this; } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -751,6 +830,8 @@ public com.google.cloud.channel.v1.CustomerEvent.Builder getCustomerEventBuilder return getCustomerEventFieldBuilder().getBuilder(); } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -769,6 +850,8 @@ public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuil } } /** + * + * *
                        * Customer event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -776,32 +859,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 @@ -809,11 +904,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 @@ -831,6 +929,8 @@ public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { } } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -851,6 +951,8 @@ public Builder setEntitlementEvent(com.google.cloud.channel.v1.EntitlementEvent return this; } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -869,6 +971,8 @@ public Builder setEntitlementEvent( return this; } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -877,10 +981,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; } @@ -896,6 +1003,8 @@ public Builder mergeEntitlementEvent(com.google.cloud.channel.v1.EntitlementEven return this; } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -919,6 +1028,8 @@ public Builder clearEntitlementEvent() { return this; } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -929,6 +1040,8 @@ public com.google.cloud.channel.v1.EntitlementEvent.Builder getEntitlementEventB return getEntitlementEventFieldBuilder().getBuilder(); } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -947,6 +1060,8 @@ public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEvent } } /** + * + * *
                        * Entitlement event sent as part of Pub/Sub event to partners.
                        * 
                  @@ -954,26 +1069,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); } @@ -983,12 +1104,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(); } @@ -997,16 +1118,16 @@ 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 { - return new SubscriberEvent(input, extensionRegistry); - } - }; + 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 { + return new SubscriberEvent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1021,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.SubscriberEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java index 6d776b34..ead1029a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java +++ b/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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java new file mode 100644 index 00000000..814714a5 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java index 4a3457c7..66e0a818 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.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.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private SuspendEntitlementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private SuspendEntitlementRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private SuspendEntitlementRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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:
                  @@ -110,6 +133,7 @@ private SuspendEntitlementRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -118,14 +142,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:
                  @@ -133,16 +158,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 { @@ -153,6 +177,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 complete.
                  @@ -166,6 +192,7 @@ public java.lang.String getName() {
                      * 
                  * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -174,14 +201,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 complete.
                  @@ -195,16 +223,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 { @@ -213,6 +240,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -255,17 +282,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +313,127 @@ 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].
                      * 
                  * * 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() @@ -405,16 +441,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +461,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 @@ -447,7 +482,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(); @@ -458,38 +494,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; @@ -497,7 +534,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(); @@ -525,7 +563,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.SuspendEntitlementRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.SuspendEntitlementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,6 +576,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
                        * Required. The resource name of the entitlement to suspend.
                        * Name uses the format:
                  @@ -544,13 +585,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; @@ -559,6 +600,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to suspend.
                        * Name uses the format:
                  @@ -566,15 +609,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 { @@ -582,6 +624,8 @@ public java.lang.String getName() { } } /** + * + * *
                        * Required. The resource name of the entitlement to suspend.
                        * Name uses the format:
                  @@ -589,20 +633,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:
                  @@ -610,15 +656,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:
                  @@ -626,16 +675,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; @@ -643,6 +692,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 complete.
                  @@ -656,13 +707,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; @@ -671,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 complete.
                  @@ -684,15 +737,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 { @@ -700,6 +752,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 complete.
                  @@ -713,20 +767,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 complete.
                  @@ -740,15 +796,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 complete.
                  @@ -762,23 +821,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); } @@ -788,12 +847,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(); } @@ -802,16 +861,16 @@ 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 { - return new SuspendEntitlementRequest(input, extensionRegistry); - } - }; + 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 { + return new SuspendEntitlementRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +885,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.SuspendEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java index 58d34d39..f8d00333 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java +++ b/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 complete.
                  @@ -45,10 +68,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 complete.
                  @@ -62,8 +88,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java index d8286560..9e1ec935 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java +++ b/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,16 +44,15 @@ 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; } + private TransferEligibility( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private TransferEligibility( case 0: done = true; break; - case 8: { - - isEligible_ = input.readBool(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 8: + { + isEligible_ = input.readBool(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - ineligibilityReason_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + ineligibilityReason_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,36 +104,41 @@ private TransferEligibility( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                        * 
                  @@ -123,6 +147,8 @@ public enum Reason */ REASON_UNSPECIFIED(0), /** + * + * *
                        * Reseller needs to accept TOS before transferring the SKU.
                        * 
                  @@ -131,6 +157,8 @@ public enum Reason */ PENDING_TOS_ACCEPTANCE(1), /** + * + * *
                        * Reseller not eligible to sell the SKU.
                        * 
                  @@ -139,6 +167,8 @@ public enum Reason */ SKU_NOT_ELIGIBLE(2), /** + * + * *
                        * SKU subscription is suspended
                        * 
                  @@ -150,6 +180,8 @@ public enum Reason ; /** + * + * *
                        * Not used.
                        * 
                  @@ -158,6 +190,8 @@ public enum Reason */ public static final int REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
                        * Reseller needs to accept TOS before transferring the SKU.
                        * 
                  @@ -166,6 +200,8 @@ public enum Reason */ public static final int PENDING_TOS_ACCEPTANCE_VALUE = 1; /** + * + * *
                        * Reseller not eligible to sell the SKU.
                        * 
                  @@ -174,6 +210,8 @@ public enum Reason */ public static final int SKU_NOT_ELIGIBLE_VALUE = 2; /** + * + * *
                        * SKU subscription is suspended
                        * 
                  @@ -182,7 +220,6 @@ public enum Reason */ public static final int SKU_SUSPENDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,50 +244,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; @@ -270,11 +308,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 @@ -285,11 +326,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 @@ -298,29 +342,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 { @@ -331,31 +375,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; @@ -367,15 +423,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_); } unknownFields.writeTo(output); @@ -388,15 +444,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -406,17 +461,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -430,8 +484,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; @@ -441,118 +494,127 @@ 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() @@ -560,16 +622,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +644,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 @@ -604,7 +665,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_; @@ -616,38 +678,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; @@ -655,7 +718,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()); } @@ -695,13 +759,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 @@ -709,30 +776,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; @@ -740,18 +813,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; @@ -760,20 +835,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 { @@ -781,54 +857,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; @@ -836,80 +919,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); } @@ -919,12 +1022,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(); } @@ -933,16 +1036,16 @@ 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 { - return new TransferEligibility(input, extensionRegistry); - } - }; + 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 { + return new TransferEligibility(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,6 +1060,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferEligibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java index 006aa8ce..f1967b64 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java index 2739a7b3..735814b0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.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.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(); @@ -28,16 +46,15 @@ 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; } + private TransferEntitlementsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,40 +74,45 @@ private TransferEntitlementsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - entitlements_.add( - input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + entitlements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + entitlements_.add( + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - authToken_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + authToken_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,8 +120,7 @@ private TransferEntitlementsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entitlements_ = java.util.Collections.unmodifiableList(entitlements_); @@ -108,22 +129,27 @@ private TransferEntitlementsRequest( makeExtensionsImmutable(); } } - 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.
                  @@ -131,6 +157,7 @@ private TransferEntitlementsRequest(
                      * 
                  * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -139,14 +166,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.
                  @@ -154,16 +182,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 { @@ -174,66 +201,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
                  @@ -242,6 +290,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
                      * 
                  * * string auth_token = 4; + * * @return The authToken. */ @java.lang.Override @@ -250,14 +299,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
                  @@ -266,16 +316,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 { @@ -286,6 +335,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 complete.
                  @@ -299,6 +350,7 @@ public java.lang.String getAuthToken() {
                      * 
                  * * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -307,14 +359,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 complete.
                  @@ -328,16 +381,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 { @@ -346,6 +398,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,8 +410,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -384,8 +436,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_); @@ -401,21 +452,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -443,117 +491,127 @@ 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].
                      * 
                  * * 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() @@ -561,17 +619,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEntitlementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -591,9 +649,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 @@ -612,7 +670,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) { @@ -634,38 +693,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; @@ -673,7 +733,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(); @@ -696,9 +757,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_); } @@ -731,7 +793,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.TransferEntitlementsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.TransferEntitlementsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -740,10 +803,13 @@ public Builder mergeFrom( } 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.
                  @@ -751,13 +817,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; @@ -766,6 +832,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller's customer account that will receive
                        * transferred entitlements.
                  @@ -773,15 +841,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 { @@ -789,6 +856,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller's customer account that will receive
                        * transferred entitlements.
                  @@ -796,20 +865,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.
                  @@ -817,15 +888,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.
                  @@ -833,39 +907,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) { @@ -875,11 +958,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) { @@ -889,11 +976,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) { @@ -903,14 +994,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(); @@ -924,11 +1018,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) { @@ -942,11 +1040,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) { @@ -962,14 +1064,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(); @@ -983,11 +1088,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) { @@ -1001,11 +1110,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) { @@ -1019,18 +1132,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); @@ -1038,11 +1154,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) { @@ -1055,11 +1175,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) { @@ -1072,39 +1196,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 { @@ -1112,49 +1247,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_; @@ -1162,6 +1311,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
                  @@ -1170,13 +1321,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; @@ -1185,6 +1336,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
                  @@ -1193,15 +1346,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 { @@ -1209,6 +1361,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
                  @@ -1217,20 +1371,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
                  @@ -1239,15 +1395,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
                  @@ -1256,16 +1415,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; @@ -1273,6 +1432,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 complete.
                  @@ -1286,13 +1447,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; @@ -1301,6 +1462,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 complete.
                  @@ -1314,15 +1477,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 { @@ -1330,6 +1492,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 complete.
                  @@ -1343,20 +1507,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 complete.
                  @@ -1370,15 +1536,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 complete.
                  @@ -1392,23 +1561,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); } @@ -1418,12 +1587,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(); } @@ -1432,16 +1601,16 @@ 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 { - return new TransferEntitlementsRequest(input, extensionRegistry); - } - }; + 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 { + return new TransferEntitlementsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1456,6 +1625,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.TransferEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java index 5c080e3d..0ff0ef1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java +++ b/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.
                  @@ -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.
                  @@ -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 complete.
                  @@ -115,10 +161,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 complete.
                  @@ -132,8 +181,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java index 53259001..56f5e586 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java +++ b/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].
                    * This is put in the response field of google.longrunning.Operation.
                  @@ -11,31 +28,31 @@
                    *
                    * 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;
                     }
                  +
                     private TransferEntitlementsResponse(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -55,22 +72,24 @@ private TransferEntitlementsResponse(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  -              entitlements_ = new java.util.ArrayList();
                  -              mutable_bitField0_ |= 0x00000001;
                  +          case 10:
                  +            {
                  +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  +                entitlements_ = new java.util.ArrayList();
                  +                mutable_bitField0_ |= 0x00000001;
                  +              }
                  +              entitlements_.add(
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry));
                  +              break;
                               }
                  -            entitlements_.add(
                  -                input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry));
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -78,8 +97,7 @@ private TransferEntitlementsResponse(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         if (((mutable_bitField0_ & 0x00000001) != 0)) {
                           entitlements_ = java.util.Collections.unmodifiableList(entitlements_);
                  @@ -88,22 +106,27 @@ private TransferEntitlementsResponse(
                         makeExtensionsImmutable();
                       }
                     }
                  -  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.
                      * 
                  @@ -115,6 +138,8 @@ public java.util.List getEntitlementsLi return entitlements_; } /** + * + * *
                      * The transferred entitlements.
                      * 
                  @@ -122,11 +147,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.
                      * 
                  @@ -138,6 +165,8 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** + * + * *
                      * The transferred entitlements.
                      * 
                  @@ -149,6 +178,8 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** + * + * *
                      * The transferred entitlements.
                      * 
                  @@ -156,12 +187,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; @@ -173,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 < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -188,8 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -199,15 +228,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,96 +258,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].
                      * This is put in the response field of google.longrunning.Operation.
                  @@ -326,21 +363,23 @@ 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()
                  @@ -348,17 +387,17 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
                           getEntitlementsFieldBuilder();
                         }
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -372,9 +411,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
                  @@ -393,7 +432,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)) {
                  @@ -412,38 +452,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;
                  @@ -451,7 +492,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()) {
                  @@ -470,9 +512,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_);
                             }
                  @@ -497,7 +540,8 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.TransferEntitlementsResponse) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.TransferEntitlementsResponse) e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -506,21 +550,29 @@ public Builder mergeFrom(
                         }
                         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.
                        * 
                  @@ -535,6 +587,8 @@ public java.util.List getEntitlementsLi } } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -549,6 +603,8 @@ public int getEntitlementsCount() { } } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -563,14 +619,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(); @@ -584,6 +641,8 @@ public Builder setEntitlements( return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -602,6 +661,8 @@ public Builder setEntitlements( return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -622,14 +683,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(); @@ -643,6 +705,8 @@ public Builder addEntitlements( return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -661,6 +725,8 @@ public Builder addEntitlements( return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -679,6 +745,8 @@ public Builder addEntitlements( return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -689,8 +757,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); @@ -698,6 +765,8 @@ public Builder addAllEntitlements( return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -715,6 +784,8 @@ public Builder clearEntitlements() { return this; } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -732,39 +803,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 { @@ -772,6 +848,8 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** + * + * *
                        * The transferred entitlements.
                        * 
                  @@ -779,49 +857,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); } @@ -831,12 +915,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(); } @@ -845,16 +929,16 @@ 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 { - return new TransferEntitlementsResponse(input, extensionRegistry); - } - }; + 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 { + return new TransferEntitlementsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +953,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.TransferEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java index 4f5843c7..b7969265 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java index 5fd68efb..23bd2dc7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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(); @@ -27,16 +47,15 @@ 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; } + private TransferEntitlementsToGoogleRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,34 +75,38 @@ private TransferEntitlementsToGoogleRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - entitlements_.add( - input.readMessage(com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + entitlements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + entitlements_.add( + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry)); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,8 +114,7 @@ private TransferEntitlementsToGoogleRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entitlements_ = java.util.Collections.unmodifiableList(entitlements_); @@ -101,22 +123,27 @@ private TransferEntitlementsToGoogleRequest( makeExtensionsImmutable(); } } - 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.
                  @@ -124,6 +151,7 @@ private TransferEntitlementsToGoogleRequest(
                      * 
                  * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -132,14 +160,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.
                  @@ -147,16 +176,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 { @@ -167,66 +195,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 complete.
                  @@ -240,6 +289,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
                      * 
                  * * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -248,14 +298,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 complete.
                  @@ -269,16 +320,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 { @@ -287,6 +337,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,8 +372,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_); @@ -336,19 +385,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +421,127 @@ 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].
                      * 
                  * * 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() @@ -492,17 +549,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEntitlementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,13 +577,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(); } @@ -541,7 +599,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) { @@ -562,46 +621,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(); @@ -624,9 +687,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_); } @@ -655,7 +719,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,10 +730,13 @@ public Builder mergeFrom( } 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.
                  @@ -675,13 +744,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; @@ -690,6 +759,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller's customer account where the entitlements
                        * transfer from.
                  @@ -697,15 +768,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 { @@ -713,6 +783,8 @@ public java.lang.String getParent() { } } /** + * + * *
                        * Required. The resource name of the reseller's customer account where the entitlements
                        * transfer from.
                  @@ -720,20 +792,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.
                  @@ -741,15 +815,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.
                  @@ -757,39 +834,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) { @@ -799,11 +885,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) { @@ -813,11 +903,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) { @@ -827,14 +921,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(); @@ -848,11 +945,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) { @@ -866,11 +967,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) { @@ -886,14 +991,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(); @@ -907,11 +1015,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) { @@ -925,11 +1037,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) { @@ -943,18 +1059,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); @@ -962,11 +1081,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) { @@ -979,11 +1102,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) { @@ -996,39 +1123,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 { @@ -1036,49 +1174,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_; @@ -1086,6 +1238,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 complete.
                  @@ -1099,13 +1253,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; @@ -1114,6 +1268,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 complete.
                  @@ -1127,15 +1283,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 { @@ -1143,6 +1298,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 complete.
                  @@ -1156,20 +1313,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 complete.
                  @@ -1183,15 +1342,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 complete.
                  @@ -1205,23 +1367,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); } @@ -1231,30 +1393,32 @@ 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 { - return new TransferEntitlementsToGoogleRequest(input, extensionRegistry); - } - }; + 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 { + return new TransferEntitlementsToGoogleRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,9 +1430,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java index df902e04..0584297c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java +++ b/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.
                  @@ -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.
                  @@ -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 complete.
                  @@ -89,10 +130,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 complete.
                  @@ -106,8 +150,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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java index 816f9daa..f8ca1099 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java +++ b/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,30 +28,29 @@
                    *
                    * 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;
                     }
                  +
                     private TransferableOffer(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -53,26 +69,28 @@ private TransferableOffer(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
                  -            if (offer_ != null) {
                  -              subBuilder = offer_.toBuilder();
                  +          case 10:
                  +            {
                  +              com.google.cloud.channel.v1.Offer.Builder subBuilder = null;
                  +              if (offer_ != null) {
                  +                subBuilder = offer_.toBuilder();
                  +              }
                  +              offer_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(offer_);
                  +                offer_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            offer_ = input.readMessage(com.google.cloud.channel.v1.Offer.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(offer_);
                  -              offer_ = subBuilder.buildPartial();
                  -            }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -80,34 +98,39 @@ private TransferableOffer(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -115,11 +138,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 @@ -127,6 +153,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.
                      * 
                  @@ -139,6 +167,7 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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 (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -165,8 +193,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,17 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,97 +235,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.
                  @@ -306,21 +340,23 @@ 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()
                  @@ -328,16 +364,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -351,9 +386,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
                  @@ -372,7 +407,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 {
                  @@ -386,38 +422,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;
                  @@ -460,24 +497,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() { @@ -488,6 +534,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** + * + * *
                        * Offer with parameter constraints updated to allow the Transfer.
                        * 
                  @@ -508,14 +556,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(); @@ -526,6 +575,8 @@ public Builder setOffer( return this; } /** + * + * *
                        * Offer with parameter constraints updated to allow the Transfer.
                        * 
                  @@ -536,7 +587,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; } @@ -548,6 +599,8 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
                        * Offer with parameter constraints updated to allow the Transfer.
                        * 
                  @@ -566,6 +619,8 @@ public Builder clearOffer() { return this; } /** + * + * *
                        * Offer with parameter constraints updated to allow the Transfer.
                        * 
                  @@ -573,11 +628,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.
                        * 
                  @@ -588,11 +645,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.
                        * 
                  @@ -600,21 +658,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); } @@ -624,12 +685,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(); } @@ -638,16 +699,16 @@ 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 { - return new TransferableOffer(input, extensionRegistry); - } - }; + 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 { + return new TransferableOffer(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +723,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java index 5124fb1f..93668c54 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java index d5697da0..9fd082ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java +++ b/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,30 +29,29 @@
                    *
                    * 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;
                     }
                  +
                     private TransferableSku(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -54,52 +70,58 @@ private TransferableSku(
                             case 0:
                               done = true;
                               break;
                  -          case 74: {
                  -            com.google.cloud.channel.v1.TransferEligibility.Builder subBuilder = null;
                  -            if (transferEligibility_ != null) {
                  -              subBuilder = transferEligibility_.toBuilder();
                  -            }
                  -            transferEligibility_ = input.readMessage(com.google.cloud.channel.v1.TransferEligibility.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(transferEligibility_);
                  -              transferEligibility_ = subBuilder.buildPartial();
                  -            }
                  +          case 74:
                  +            {
                  +              com.google.cloud.channel.v1.TransferEligibility.Builder subBuilder = null;
                  +              if (transferEligibility_ != null) {
                  +                subBuilder = transferEligibility_.toBuilder();
                  +              }
                  +              transferEligibility_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.TransferEligibility.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(transferEligibility_);
                  +                transferEligibility_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          case 90: {
                  -            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  -            if (sku_ != null) {
                  -              subBuilder = sku_.toBuilder();
                  -            }
                  -            sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(sku_);
                  -              sku_ = subBuilder.buildPartial();
                  +              break;
                               }
                  +          case 90:
                  +            {
                  +              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  +              if (sku_ != null) {
                  +                subBuilder = sku_.toBuilder();
                  +              }
                  +              sku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(sku_);
                  +                sku_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          case 98: {
                  -            com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  -            if (legacySku_ != null) {
                  -              subBuilder = legacySku_.toBuilder();
                  -            }
                  -            legacySku_ = input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(legacySku_);
                  -              legacySku_ = subBuilder.buildPartial();
                  +              break;
                               }
                  +          case 98:
                  +            {
                  +              com.google.cloud.channel.v1.Sku.Builder subBuilder = null;
                  +              if (legacySku_ != null) {
                  +                subBuilder = legacySku_.toBuilder();
                  +              }
                  +              legacySku_ =
                  +                  input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(legacySku_);
                  +                legacySku_ = subBuilder.buildPartial();
                  +              }
                   
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +              break;
                  +            }
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -107,34 +129,39 @@ private TransferableSku(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -142,18 +169,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.
                      * 
                  @@ -161,18 +195,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 @@ -180,11 +218,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 @@ -192,6 +233,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.
                      * 
                  @@ -206,11 +249,15 @@ 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 @@ -218,11 +265,15 @@ 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 @@ -230,11 +281,14 @@ 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() { @@ -242,6 +296,7 @@ public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,8 +308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -274,16 +328,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,27 +344,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -343,97 +392,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.
                  @@ -442,21 +498,23 @@ 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()
                  @@ -464,16 +522,15 @@ private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -499,9 +556,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
                  @@ -520,7 +577,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 {
                  @@ -544,38 +602,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;
                  @@ -624,34 +683,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.
                        * 
                  @@ -672,6 +744,8 @@ public Builder setTransferEligibility(com.google.cloud.channel.v1.TransferEligib return this; } /** + * + * *
                        * Describes the transfer eligibility of a SKU.
                        * 
                  @@ -690,6 +764,8 @@ public Builder setTransferEligibility( return this; } /** + * + * *
                        * Describes the transfer eligibility of a SKU.
                        * 
                  @@ -700,7 +776,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; } @@ -712,6 +790,8 @@ public Builder mergeTransferEligibility(com.google.cloud.channel.v1.TransferElig return this; } /** + * + * *
                        * Describes the transfer eligibility of a SKU.
                        * 
                  @@ -730,6 +810,8 @@ public Builder clearTransferEligibility() { return this; } /** + * + * *
                        * Describes the transfer eligibility of a SKU.
                        * 
                  @@ -737,26 +819,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.
                        * 
                  @@ -764,14 +852,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_; @@ -779,24 +870,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() { @@ -807,6 +907,8 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** + * + * *
                        * The SKU pertaining to the provisioning resource as specified in the Offer.
                        * 
                  @@ -827,14 +929,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(); @@ -845,6 +948,8 @@ public Builder setSku( return this; } /** + * + * *
                        * The SKU pertaining to the provisioning resource as specified in the Offer.
                        * 
                  @@ -854,8 +959,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; } @@ -867,6 +971,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.
                        * 
                  @@ -885,6 +991,8 @@ public Builder clearSku() { return this; } /** + * + * *
                        * The SKU pertaining to the provisioning resource as specified in the Offer.
                        * 
                  @@ -892,11 +1000,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.
                        * 
                  @@ -907,11 +1017,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.
                        * 
                  @@ -919,14 +1030,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_; @@ -934,39 +1048,55 @@ 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) { @@ -982,14 +1112,16 @@ 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(); @@ -1000,17 +1132,22 @@ 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; } @@ -1022,11 +1159,14 @@ 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) { @@ -1040,55 +1180,68 @@ 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); } @@ -1098,12 +1251,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(); } @@ -1112,16 +1265,16 @@ 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 { - return new TransferableSku(input, extensionRegistry); - } - }; + 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 { + return new TransferableSku(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,6 +1289,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java index 6d9f257f..0a409444 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java +++ b/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,29 +94,40 @@ 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java index 98275cab..d6510b13 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private TrialSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private TrialSettings( case 0: done = true; break; - case 8: { - - trial_ = input.readBool(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + case 8: + { + trial_ = input.readBool(); + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,29 +102,33 @@ private TrialSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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.
                  @@ -114,6 +136,7 @@ private TrialSettings(
                      * 
                  * * bool trial = 1; + * * @return The trial. */ @java.lang.Override @@ -124,6 +147,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
                  @@ -131,6 +156,7 @@ public boolean getTrial() {
                      * 
                  * * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -138,6 +164,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
                  @@ -145,6 +173,7 @@ public boolean hasEndTime() {
                      * 
                  * * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -152,6 +181,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
                  @@ -166,6 +197,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
                     }
                   
                     private byte memoizedIsInitialized = -1;
                  +
                     @java.lang.Override
                     public final boolean isInitialized() {
                       byte isInitialized = memoizedIsInitialized;
                  @@ -177,8 +209,7 @@ public final boolean isInitialized() {
                     }
                   
                     @java.lang.Override
                  -  public void writeTo(com.google.protobuf.CodedOutputStream output)
                  -                      throws java.io.IOException {
                  +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
                       if (trial_ != false) {
                         output.writeBool(1, trial_);
                       }
                  @@ -195,12 +226,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 += unknownFields.getSerializedSize();
                       memoizedSize = size;
                  @@ -210,19 +239,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 (!unknownFields.equals(other.unknownFields)) return false;
                       return true;
                  @@ -236,8 +264,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();
                  @@ -247,118 +274,127 @@ 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() @@ -366,16 +402,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +426,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 @@ -412,7 +447,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_; @@ -427,38 +463,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; @@ -502,8 +539,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.
                  @@ -511,6 +550,7 @@ public Builder mergeFrom(
                        * 
                  * * bool trial = 1; + * * @return The trial. */ @java.lang.Override @@ -518,6 +558,8 @@ public boolean getTrial() { return trial_; } /** + * + * *
                        * Determines if the entitlement is in a trial or not:
                        * * `true` - The entitlement is in trial.
                  @@ -525,16 +567,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.
                  @@ -542,10 +587,11 @@ public Builder setTrial(boolean value) {
                        * 
                  * * bool trial = 1; + * * @return This builder for chaining. */ public Builder clearTrial() { - + trial_ = false; onChanged(); return this; @@ -553,8 +599,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
                  @@ -562,12 +613,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
                  @@ -575,6 +629,7 @@ public boolean hasEndTime() {
                        * 
                  * * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -585,6 +640,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
                  @@ -607,6 +664,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
                  @@ -615,8 +674,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();
                  @@ -627,6 +685,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
                  @@ -639,7 +699,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;
                           }
                  @@ -651,6 +711,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
                  @@ -671,6 +733,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
                  @@ -680,11 +744,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
                  @@ -697,11 +763,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
                  @@ -711,21 +778,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);
                       }
                   
                  @@ -735,12 +805,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();
                     }
                  @@ -749,16 +819,16 @@ 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 {
                  -      return new TrialSettings(input, extensionRegistry);
                  -    }
                  -  };
                  +  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 {
                  +          return new TrialSettings(input, extensionRegistry);
                  +        }
                  +      };
                   
                     public static com.google.protobuf.Parser parser() {
                       return PARSER;
                  @@ -773,6 +843,4 @@ public com.google.protobuf.Parser getParserForType() {
                     public com.google.cloud.channel.v1.TrialSettings getDefaultInstanceForType() {
                       return DEFAULT_INSTANCE;
                     }
                  -
                   }
                  -
                  diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
                  similarity index 68%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
                  index 87b533db..a8754d02 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
                  +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
                  similarity index 70%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
                  index 59bfc177..4d538414 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
                  +++ b/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,16 +44,15 @@ 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; } + private UnregisterSubscriberRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private UnregisterSubscriberRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - account_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + account_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + serviceAccount_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private UnregisterSubscriberRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -116,29 +140,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 { @@ -149,11 +173,14 @@ 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 @@ -162,29 +189,29 @@ 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 { @@ -193,6 +220,7 @@ public java.lang.String getServiceAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -235,17 +262,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +293,127 @@ 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() @@ -385,16 +421,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +441,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 @@ -427,7 +462,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(); @@ -438,38 +474,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; @@ -477,7 +514,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(); @@ -505,7 +543,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.UnregisterSubscriberRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.UnregisterSubscriberRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +556,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; @@ -537,20 +578,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 { @@ -558,54 +600,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; @@ -613,18 +662,20 @@ 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; @@ -633,20 +684,21 @@ 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 { @@ -654,61 +706,68 @@ 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); } @@ -718,12 +777,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(); } @@ -732,16 +791,16 @@ 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 { - return new UnregisterSubscriberRequest(input, extensionRegistry); - } - }; + 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 { + return new UnregisterSubscriberRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +815,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.UnregisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java index 8195f32c..f19241ef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java @@ -1,49 +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 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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java index 61356b63..012c32f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; } + private UnregisterSubscriberResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private UnregisterSubscriberResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + topic_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private UnregisterSubscriberResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -176,15 +199,15 @@ public int 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ 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() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,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 @@ -362,7 +394,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; @@ -372,38 +405,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; @@ -411,7 +445,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(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.UnregisterSubscriberResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.UnregisterSubscriberResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,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; @@ -467,20 +505,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 { @@ -488,61 +527,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); } @@ -552,12 +598,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(); } @@ -566,16 +612,16 @@ 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 { - return new UnregisterSubscriberResponse(input, extensionRegistry); - } - }; + 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 { + return new UnregisterSubscriberResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.UnregisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java new file mode 100644 index 00000000..146aabd2 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java index 7c5c1b97..08bff0ad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private UpdateChannelPartnerLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +71,51 @@ private UpdateChannelPartnerLinkRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; - if (channelPartnerLink_ != null) { - subBuilder = channelPartnerLink_.toBuilder(); - } - channelPartnerLink_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(channelPartnerLink_); - channelPartnerLink_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.cloud.channel.v1.ChannelPartnerLink.Builder subBuilder = null; + if (channelPartnerLink_ != null) { + subBuilder = channelPartnerLink_.toBuilder(); + } + channelPartnerLink_ = + input.readMessage( + com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(channelPartnerLink_); + channelPartnerLink_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +123,33 @@ private UpdateChannelPartnerLinkRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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}
                  @@ -129,6 +157,7 @@ private UpdateChannelPartnerLinkRequest(
                      * 
                  * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -137,14 +166,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}
                  @@ -152,16 +182,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 { @@ -172,12 +201,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 @@ -185,25 +219,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() { @@ -213,13 +258,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 @@ -227,13 +276,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 @@ -241,13 +294,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() { @@ -255,6 +311,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +323,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -290,12 +346,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -305,24 +359,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -351,117 +403,127 @@ 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]
                      * 
                  * * 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() @@ -469,16 +531,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +561,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 @@ -521,7 +582,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_; @@ -541,38 +603,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; @@ -580,7 +643,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(); @@ -610,7 +674,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,6 +687,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}
                  @@ -629,13 +696,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; @@ -644,6 +711,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}
                  @@ -651,15 +720,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 { @@ -667,6 +735,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}
                  @@ -674,20 +744,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}
                  @@ -695,15 +767,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}
                  @@ -711,16 +786,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; @@ -728,42 +803,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) { @@ -779,12 +873,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) { @@ -798,18 +896,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; } @@ -821,12 +925,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) { @@ -840,51 +948,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_; @@ -892,45 +1017,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) { @@ -946,16 +1087,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(); @@ -966,19 +1109,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; } @@ -990,13 +1136,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) { @@ -1010,61 +1159,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); } @@ -1074,12 +1236,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(); } @@ -1088,16 +1250,16 @@ 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 { - return new UpdateChannelPartnerLinkRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateChannelPartnerLinkRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1112,6 +1274,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java index 811f5939..614f2f0f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java index d1157fe1..ad1bcc37 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java +++ b/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,30 +28,31 @@
                    *
                    * 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;
                     }
                  +
                     private UpdateChannelPartnerRepricingConfigRequest(
                         com.google.protobuf.CodedInputStream input,
                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                  @@ -53,26 +71,30 @@ private UpdateChannelPartnerRepricingConfigRequest(
                             case 0:
                               done = true;
                               break;
                  -          case 10: {
                  -            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
                  -            if (channelPartnerRepricingConfig_ != null) {
                  -              subBuilder = channelPartnerRepricingConfig_.toBuilder();
                  +          case 10:
                  +            {
                  +              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder subBuilder = null;
                  +              if (channelPartnerRepricingConfig_ != null) {
                  +                subBuilder = channelPartnerRepricingConfig_.toBuilder();
                  +              }
                  +              channelPartnerRepricingConfig_ =
                  +                  input.readMessage(
                  +                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
                  +                      extensionRegistry);
                  +              if (subBuilder != null) {
                  +                subBuilder.mergeFrom(channelPartnerRepricingConfig_);
                  +                channelPartnerRepricingConfig_ = subBuilder.buildPartial();
                  +              }
                  +
                  +              break;
                               }
                  -            channelPartnerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(), extensionRegistry);
                  -            if (subBuilder != null) {
                  -              subBuilder.mergeFrom(channelPartnerRepricingConfig_);
                  -              channelPartnerRepricingConfig_ = subBuilder.buildPartial();
                  -            }
                  -
                  -            break;
                  -          }
                  -          default: {
                  -            if (!parseUnknownField(
                  -                input, unknownFields, extensionRegistry, tag)) {
                  -              done = true;
                  +          default:
                  +            {
                  +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  +                done = true;
                  +              }
                  +              break;
                               }
                  -            break;
                  -          }
                           }
                         }
                       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  @@ -80,34 +102,41 @@ private UpdateChannelPartnerRepricingConfigRequest(
                       } catch (com.google.protobuf.UninitializedMessageException e) {
                         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
                       } catch (java.io.IOException e) {
                  -      throw new com.google.protobuf.InvalidProtocolBufferException(
                  -          e).setUnfinishedMessage(this);
                  +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
                       } finally {
                         this.unknownFields = unknownFields.build();
                         makeExtensionsImmutable();
                       }
                     }
                  -  public static final com.google.protobuf.Descriptors.Descriptor
                  -      getDescriptor() {
                  -    return com.google.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 @@ -115,30 +144,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; @@ -150,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channelPartnerRepricingConfig_ != null) { output.writeMessage(1, getChannelPartnerRepricingConfig()); } @@ -165,8 +207,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -209,96 +254,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].
                  @@ -306,38 +360,40 @@ 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()
                  +    // Construct using
                  +    // com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.newBuilder()
                       private Builder() {
                         maybeForceBuilderInitialization();
                       }
                   
                  -    private Builder(
                  -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                  +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                         super(parent);
                         maybeForceBuilderInitialization();
                       }
                  +
                       private void maybeForceBuilderInitialization() {
                  -      if (com.google.protobuf.GeneratedMessageV3
                  -              .alwaysUseFieldBuilders) {
                  -      }
                  +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
                       }
                  +
                       @java.lang.Override
                       public Builder clear() {
                         super.clear();
                  @@ -351,19 +407,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);
                         }
                  @@ -372,7 +431,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 {
                  @@ -386,46 +446,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());
                         }
                  @@ -448,7 +513,9 @@ public Builder mergeFrom(
                         try {
                           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                  -        parsedMessage = (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) e.getUnfinishedMessage();
                  +        parsedMessage =
                  +            (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)
                  +                e.getUnfinishedMessage();
                           throw e.unwrapIOException();
                         } finally {
                           if (parsedMessage != null) {
                  @@ -458,43 +525,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(); @@ -508,11 +598,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) { @@ -526,17 +620,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; } @@ -548,11 +650,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) { @@ -566,55 +672,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); } @@ -624,30 +748,33 @@ 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 { - return new UpdateChannelPartnerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateChannelPartnerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -659,9 +786,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..1dd1b2e4 --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java index 3f721651..e25f0852 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java @@ -1,39 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private UpdateCustomerRepricingConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +70,30 @@ private UpdateCustomerRepricingConfigRequest( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; - if (customerRepricingConfig_ != null) { - subBuilder = customerRepricingConfig_.toBuilder(); + case 10: + { + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder subBuilder = null; + if (customerRepricingConfig_ != null) { + subBuilder = customerRepricingConfig_.toBuilder(); + } + customerRepricingConfig_ = + input.readMessage( + com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customerRepricingConfig_); + customerRepricingConfig_ = subBuilder.buildPartial(); + } + + break; } - customerRepricingConfig_ = input.readMessage(com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customerRepricingConfig_); - customerRepricingConfig_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +101,41 @@ private UpdateCustomerRepricingConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -114,30 +143,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; @@ -149,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customerRepricingConfig_ != null) { output.writeMessage(1, getCustomerRepricingConfig()); } @@ -164,8 +205,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +216,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,117 +249,127 @@ 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].
                      * 
                  * * 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() @@ -326,16 +377,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,13 +399,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(); } @@ -370,7 +421,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 { @@ -384,46 +436,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()); } @@ -446,7 +502,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,41 +516,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(); @@ -506,11 +584,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) { @@ -524,17 +606,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; } @@ -546,11 +636,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) { @@ -564,55 +658,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); } @@ -622,30 +734,32 @@ 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 { - return new UpdateCustomerRepricingConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCustomerRepricingConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +771,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/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 00000000..ba45a91c --- /dev/null +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java index 6dbcf40a..3c611004 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
                    * 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; } + private UpdateCustomerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateCustomerRequest( case 0: done = true; break; - case 18: { - com.google.cloud.channel.v1.Customer.Builder subBuilder = null; - if (customer_ != null) { - subBuilder = customer_.toBuilder(); - } - customer_ = input.readMessage(com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customer_); - customer_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.cloud.channel.v1.Customer.Builder subBuilder = null; + if (customer_ != null) { + subBuilder = customer_.toBuilder(); + } + customer_ = + input.readMessage( + com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customer_); + customer_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,40 @@ private UpdateCustomerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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 @@ -127,23 +154,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() { @@ -153,12 +189,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 @@ -166,12 +205,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 @@ -179,6 +221,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.
                  @@ -192,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
                     }
                   
                     private byte memoizedIsInitialized = -1;
                  +
                     @java.lang.Override
                     public final boolean isInitialized() {
                       byte isInitialized = memoizedIsInitialized;
                  @@ -203,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 (customer_ != null) {
                         output.writeMessage(2, getCustomer());
                       }
                  @@ -221,12 +265,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 += unknownFields.getSerializedSize();
                       memoizedSize = size;
                  @@ -236,22 +278,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 (!unknownFields.equals(other.unknownFields)) return false;
                       return true;
                  @@ -278,117 +319,126 @@ 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].
                      * 
                  * * 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() @@ -396,16 +446,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +474,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 @@ -446,7 +495,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 { @@ -465,38 +515,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; @@ -504,7 +555,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()); } @@ -530,7 +582,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.channel.v1.UpdateCustomerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.channel.v1.UpdateCustomerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,39 +595,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) { @@ -590,14 +662,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(); @@ -608,17 +683,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; } @@ -630,11 +711,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) { @@ -648,48 +733,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_; @@ -697,36 +798,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.
                  @@ -748,6 +862,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The update mask that applies to the resource.
                        * Optional.
                  @@ -755,8 +871,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();
                  @@ -767,6 +882,8 @@ public Builder setUpdateMask(
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The update mask that applies to the resource.
                        * Optional.
                  @@ -778,7 +895,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;
                           }
                  @@ -790,6 +907,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The update mask that applies to the resource.
                        * Optional.
                  @@ -809,6 +928,8 @@ public Builder clearUpdateMask() {
                         return this;
                       }
                       /**
                  +     *
                  +     *
                        * 
                        * The update mask that applies to the resource.
                        * Optional.
                  @@ -817,11 +938,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.
                  @@ -833,11 +956,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.
                  @@ -846,21 +972,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);
                       }
                   
                  @@ -870,12 +999,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();
                     }
                  @@ -884,16 +1013,16 @@ 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 {
                  -      return new UpdateCustomerRequest(input, extensionRegistry);
                  -    }
                  -  };
                  +  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 {
                  +          return new UpdateCustomerRequest(input, extensionRegistry);
                  +        }
                  +      };
                   
                     public static com.google.protobuf.Parser parser() {
                       return PARSER;
                  @@ -908,6 +1037,4 @@ public com.google.protobuf.Parser getParserForType() {
                     public com.google.cloud.channel.v1.UpdateCustomerRequest getDefaultInstanceForType() {
                       return DEFAULT_INSTANCE;
                     }
                  -
                   }
                  -
                  diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
                  similarity index 65%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
                  index 6d17a436..1c029d1d 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
                  +++ b/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/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
                  similarity index 71%
                  rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
                  rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
                  index de6adcac..f3edc5a3 100644
                  --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
                  +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
                  @@ -1,39 +1,55 @@
                  +/*
                  + * Copyright 2020 Google LLC
                  + *
                  + * Licensed under the Apache License, Version 2.0 (the "License");
                  + * you may not use this file except in compliance with the License.
                  + * You may obtain a copy of the License at
                  + *
                  + *     https://www.apache.org/licenses/LICENSE-2.0
                  + *
                  + * Unless required by applicable law or agreed to in writing, software
                  + * distributed under the License is distributed on an "AS IS" BASIS,
                  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                  + * See the License for the specific language governing permissions and
                  + * limitations under the License.
                  + */
                   // Generated by the protocol buffer compiler.  DO NOT EDIT!
                   // source: google/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; } + private Value( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,48 +68,52 @@ private Value( case 0: done = true; break; - case 8: { - kind_ = input.readInt64(); - kindCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - kindCase_ = 2; - kind_ = s; - break; - } - case 25: { - kind_ = input.readDouble(); - kindCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Any.Builder subBuilder = null; - if (kindCase_ == 4) { - subBuilder = ((com.google.protobuf.Any) kind_).toBuilder(); + case 8: + { + kind_ = input.readInt64(); + kindCase_ = 1; + break; } - kind_ = - input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Any) kind_); - kind_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 2; + kind_ = s; + break; } - kindCase_ = 4; - break; - } - case 40: { - kind_ = input.readBool(); - kindCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 25: + { + kind_ = input.readDouble(); + kindCase_ = 3; + break; + } + case 34: + { + com.google.protobuf.Any.Builder subBuilder = null; + if (kindCase_ == 4) { + subBuilder = ((com.google.protobuf.Any) kind_).toBuilder(); + } + kind_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Any) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 4; + break; + } + case 40: + { + kind_ = input.readBool(); + kindCase_ = 5; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,30 +121,34 @@ private Value( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.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), @@ -133,6 +157,7 @@ public enum KindCase BOOL_VALUE(5), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -148,33 +173,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 @@ -182,11 +216,14 @@ public boolean hasInt64Value() { return kindCase_ == 1; } /** + * + * *
                      * Represents an int64 value.
                      * 
                  * * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -199,22 +236,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() { @@ -225,8 +268,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; @@ -235,23 +277,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; } @@ -263,11 +306,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 @@ -275,11 +321,14 @@ public boolean hasDoubleValue() { return kindCase_ == 3; } /** + * + * *
                      * Represents a double value.
                      * 
                  * * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -292,11 +341,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 @@ -304,21 +356,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.
                      * 
                  @@ -328,18 +385,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 @@ -347,11 +407,14 @@ public boolean hasBoolValue() { return kindCase_ == 5; } /** + * + * *
                      * Represents a boolean value.
                      * 
                  * * bool bool_value = 5; + * * @return The boolValue. */ @java.lang.Override @@ -363,6 +426,7 @@ public boolean getBoolValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -374,25 +438,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_)); } unknownFields.writeTo(output); } @@ -404,26 +464,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -433,7 +494,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); @@ -443,25 +504,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: @@ -480,8 +536,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; @@ -489,8 +544,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; @@ -498,8 +555,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: @@ -509,118 +565,126 @@ 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() @@ -628,16 +692,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +710,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 @@ -697,38 +760,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; @@ -738,31 +802,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.unknownFields); onChanged(); @@ -792,12 +862,12 @@ public Builder mergeFrom( } 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() { @@ -807,24 +877,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() { @@ -834,11 +909,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. */ @@ -849,11 +927,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
                        * Represents an int64 value.
                        * 
                  * * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -866,11 +947,14 @@ public Builder clearInt64Value() { } /** + * + * *
                        * Represents a string value.
                        * 
                  * * string string_value = 2; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -878,11 +962,14 @@ public boolean hasStringValue() { return kindCase_ == 2; } /** + * + * *
                        * Represents a string value.
                        * 
                  * * string string_value = 2; + * * @return The stringValue. */ @java.lang.Override @@ -892,8 +979,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; @@ -904,24 +990,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; } @@ -931,30 +1018,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() { @@ -966,20 +1058,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(); @@ -987,22 +1081,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() { @@ -1012,11 +1112,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. */ @@ -1027,11 +1130,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
                        * Represents a double value.
                        * 
                  * * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1044,13 +1150,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 @@ -1058,11 +1170,14 @@ public boolean hasProtoValue() { return kindCase_ == 4; } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  * * .google.protobuf.Any proto_value = 4; + * * @return The protoValue. */ @java.lang.Override @@ -1080,6 +1195,8 @@ public com.google.protobuf.Any getProtoValue() { } } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  @@ -1100,14 +1217,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(); @@ -1118,6 +1236,8 @@ public Builder setProtoValue( return this; } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  @@ -1126,10 +1246,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; } @@ -1145,6 +1266,8 @@ public Builder mergeProtoValue(com.google.protobuf.Any value) { return this; } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  @@ -1168,6 +1291,8 @@ public Builder clearProtoValue() { return this; } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  @@ -1178,6 +1303,8 @@ public com.google.protobuf.Any.Builder getProtoValueBuilder() { return getProtoValueFieldBuilder().getBuilder(); } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  @@ -1196,6 +1323,8 @@ public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { } } /** + * + * *
                        * Represents an 'Any' proto value.
                        * 
                  @@ -1203,41 +1332,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() { @@ -1247,11 +1386,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. */ @@ -1262,11 +1404,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
                        * Represents a boolean value.
                        * 
                  * * bool bool_value = 5; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1277,9 +1422,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); } @@ -1289,12 +1434,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(); } @@ -1303,16 +1448,16 @@ 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 { - return new Value(input, extensionRegistry); - } - }; + 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 { + return new Value(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1327,6 +1472,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java rename to proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java index 8e434643..1bd8eff1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java +++ b/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/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto rename to proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java rename to samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java