From 5760cca39611aa1aa17c2f468bada2d87b2b378d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Oct 2023 19:12:32 +0000 Subject: [PATCH 1/2] feat: Channel enum is added PiperOrigin-RevId: 572916805 Source-Link: https://github.com/googleapis/googleapis/commit/3a90bf94e340547bfe4cd5001ead9c7aaece0145 Source-Link: https://github.com/googleapis/googleapis-gen/commit/23226f7680061a9142492c791d137225ecfc4515 Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1tZXJjaGFudC1pbnZlbnRvcmllcy8uT3dsQm90LnlhbWwiLCJoIjoiMjMyMjZmNzY4MDA2MWE5MTQyNDkyYzc5MWQxMzcyMjVlY2ZjNDUxNSJ9 feat: ReportingContext enum is added fix!: Destination enum is wrapped in a message PiperOrigin-RevId: 572913446 Source-Link: https://github.com/googleapis/googleapis/commit/28d3bc7d10fe6cd1a515361af4ea1fd57bf63c17 Source-Link: https://github.com/googleapis/googleapis-gen/commit/38ead60fdac039ca036d8dd8bd6eca4305515d05 Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1tZXJjaGFudC1pbnZlbnRvcmllcy8uT3dsQm90LnlhbWwiLCJoIjoiMzhlYWQ2MGZkYWMwMzljYTAzNmQ4ZGQ4YmQ2ZWNhNDMwNTUxNWQwNSJ9 fix!: Update go_package and Go importpath: A new packaging option `cloud.google.com/go/shopping/css/apiv1/csspb;csspb` for `go_package` is added. An existing packaging option `google.golang.org/genproto/googleapis/shopping/css/v1;css` for `go_package` is removed. A new packaging option `cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb;inventoriespb` for `go_package` is added. An existing packaging option `google.golang.org/genproto/googleapis/shopping/merchant/inventories/v1beta;inventories` for `go_package` is removed. A new packaging option `cloud.google.com/go/shopping/type/typepb;typepb` for `go_package` is added. An existing packaging option `google.golang.org/genproto/googleapis/shopping/type/types;types` for `go_package` is removed. A new packaging option `cloud.google.com/go/shopping/type/typepb;typepb` for `go_package` is added. An existing packaging option `google.golang.org/genproto/googleapis/shopping/type/types;types` for `go_package` is removed. A new packaging option `cloud.google.com/go/shopping/merchant/reports/apiv1beta/reportspb;reportspb` for `go_package` is added. An existing packaging option `google.golang.org/genproto/googleapis/shopping/merchant/reports/v1beta;reports` for `go_package` is removed. PiperOrigin-RevId: 572390800 Source-Link: https://github.com/googleapis/googleapis/commit/b64fd17d207a2f80f54c4a3fc2249acee857a43a Source-Link: https://github.com/googleapis/googleapis-gen/commit/27ee81ad4a19d76e01abc9e10554d0e928ebcd06 Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1tZXJjaGFudC1pbnZlbnRvcmllcy8uT3dsQm90LnlhbWwiLCJoIjoiMjdlZTgxYWQ0YTE5ZDc2ZTAxYWJjOWUxMDU1NGQwZTkyOGViY2QwNiJ9 --- .../v1beta/RegionalInventoryServiceGrpc.java | 728 ---------- .../DeleteLocalInventoryRequestOrBuilder.java | 58 - ...leteRegionalInventoryRequestOrBuilder.java | 58 - .../v1beta/LocalInventoryProto.java | 211 --- .../v1beta/RegionalInventoryProto.java | 200 --- .../com/google/shopping/type/Destination.java | 223 --- .../com/google/shopping/type/TypesProto.java | 85 -- .../v1beta/LocalInventoryServiceClient.java | 0 .../v1beta/LocalInventoryServiceSettings.java | 1 + .../RegionalInventoryServiceClient.java | 0 .../RegionalInventoryServiceSettings.java | 1 + .../inventories/v1beta/gapic_metadata.json | 0 .../inventories/v1beta/package-info.java | 0 ...cLocalInventoryServiceCallableFactory.java | 0 .../stub/GrpcLocalInventoryServiceStub.java | 1 + ...gionalInventoryServiceCallableFactory.java | 0 .../GrpcRegionalInventoryServiceStub.java | 1 + ...nLocalInventoryServiceCallableFactory.java | 0 .../HttpJsonLocalInventoryServiceStub.java | 0 ...gionalInventoryServiceCallableFactory.java | 0 .../HttpJsonRegionalInventoryServiceStub.java | 0 .../stub/LocalInventoryServiceStub.java | 0 .../LocalInventoryServiceStubSettings.java | 0 .../stub/RegionalInventoryServiceStub.java | 0 .../RegionalInventoryServiceStubSettings.java | 0 .../reflect-config.json | 72 + ...calInventoryServiceClientHttpJsonTest.java | 0 .../LocalInventoryServiceClientTest.java | 0 .../v1beta/MockLocalInventoryService.java | 0 .../v1beta/MockLocalInventoryServiceImpl.java | 0 .../v1beta/MockRegionalInventoryService.java | 0 .../MockRegionalInventoryServiceImpl.java | 0 ...nalInventoryServiceClientHttpJsonTest.java | 0 .../RegionalInventoryServiceClientTest.java | 0 .../v1beta/LocalInventoryServiceGrpc.java | 455 ++---- .../v1beta/RegionalInventoryServiceGrpc.java | 557 ++++++++ .../v1beta/DeleteLocalInventoryRequest.java | 445 +++--- .../DeleteLocalInventoryRequestOrBuilder.java | 33 + .../DeleteRegionalInventoryRequest.java | 454 +++--- ...leteRegionalInventoryRequestOrBuilder.java | 33 + .../v1beta/InsertLocalInventoryRequest.java | 577 +++----- .../InsertLocalInventoryRequestOrBuilder.java | 50 +- .../InsertRegionalInventoryRequest.java | 592 +++----- ...sertRegionalInventoryRequestOrBuilder.java | 50 +- .../v1beta/ListLocalInventoriesRequest.java | 520 +++---- .../ListLocalInventoriesRequestOrBuilder.java | 39 +- .../v1beta/ListLocalInventoriesResponse.java | 702 ++++------ ...ListLocalInventoriesResponseOrBuilder.java | 65 +- .../ListRegionalInventoriesRequest.java | 529 +++---- ...stRegionalInventoriesRequestOrBuilder.java | 39 +- .../ListRegionalInventoriesResponse.java | 717 ++++------ ...tRegionalInventoriesResponseOrBuilder.java | 69 +- .../inventories/v1beta/LocalInventory.java | 1228 ++++++----------- .../v1beta/LocalInventoryName.java | 0 .../v1beta/LocalInventoryOrBuilder.java | 135 +- .../v1beta/LocalInventoryProto.java | 176 +++ .../inventories/v1beta/RegionalInventory.java | 964 +++++-------- .../v1beta/RegionalInventoryName.java | 0 .../v1beta/RegionalInventoryOrBuilder.java | 93 +- .../v1beta/RegionalInventoryProto.java | 173 +++ .../com/google/shopping/type/Channel.java | 555 ++++++++ .../shopping/type/ChannelOrBuilder.java | 9 + .../google/shopping/type/CustomAttribute.java | 551 +++----- .../type/CustomAttributeOrBuilder.java | 60 +- .../com/google/shopping/type/Destination.java | 629 +++++++++ .../shopping/type/DestinationOrBuilder.java | 9 + .../java/com/google/shopping/type/Price.java | 357 ++--- .../google/shopping/type/PriceOrBuilder.java | 40 +- .../shopping/type/ReportingContext.java | 747 ++++++++++ .../type/ReportingContextOrBuilder.java | 9 + .../com/google/shopping/type/TypesProto.java | 116 ++ .../inventories/v1beta/localinventory.proto | 2 +- .../v1beta/regionalinventory.proto | 2 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteLocalInventory.java | 0 .../SyncDeleteLocalInventory.java | 0 ...eleteLocalInventoryLocalinventoryname.java | 0 .../SyncDeleteLocalInventoryString.java | 0 .../AsyncInsertLocalInventory.java | 0 .../SyncInsertLocalInventory.java | 0 .../AsyncListLocalInventories.java | 0 .../AsyncListLocalInventoriesPaged.java | 0 .../SyncListLocalInventories.java | 0 .../SyncListLocalInventoriesString.java | 0 .../SyncInsertLocalInventory.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegionalInventory.java | 0 .../SyncDeleteRegionalInventory.java | 0 ...egionalInventoryRegionalinventoryname.java | 0 .../SyncDeleteRegionalInventoryString.java | 0 .../AsyncInsertRegionalInventory.java | 0 .../SyncInsertRegionalInventory.java | 0 .../AsyncListRegionalInventories.java | 0 .../AsyncListRegionalInventoriesPaged.java | 0 .../SyncListRegionalInventories.java | 0 .../SyncListRegionalInventoriesString.java | 0 .../SyncInsertRegionalInventory.java | 0 .../SyncInsertLocalInventory.java | 0 .../SyncInsertRegionalInventory.java | 0 103 files changed, 6270 insertions(+), 7150 deletions(-) delete mode 100644 java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java delete mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java delete mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java delete mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java delete mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java delete mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java delete mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java (99%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java (99%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java (99%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java (99%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json (94%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java (50%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java (53%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java (52%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java (58%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java (60%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java (57%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java (60%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java (66%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java (75%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java (59%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java (56%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java (65%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java (76%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java (58%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java (53%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java (78%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java (87%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java (76%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java (85%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java (74%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java (74%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java (71%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java (69%) create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java create mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto (98%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto (98%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java (100%) rename {java-shopping-merchant-inventories => owl-bot-staging/java-shopping-merchant-inventories/v1beta}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java (100%) diff --git a/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java b/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java deleted file mode 100644 index f7fd4d453c18..000000000000 --- a/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java +++ /dev/null @@ -1,728 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.shopping.merchant.inventories.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service to manage regional inventory for products. There is also separate
- * `regions` resource and API to manage regions definitions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class RegionalInventoryServiceGrpc { - - private RegionalInventoryServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.shopping.merchant.inventories.v1beta.RegionalInventoryService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> - getListRegionalInventoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRegionalInventories", - requestType = - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, - responseType = - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> - getListRegionalInventoriesMethod() { - io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> - getListRegionalInventoriesMethod; - if ((getListRegionalInventoriesMethod = - RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) - == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - if ((getListRegionalInventoriesMethod = - RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) - == null) { - RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod = - getListRegionalInventoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListRegionalInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .ListRegionalInventoriesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .ListRegionalInventoriesResponse.getDefaultInstance())) - .setSchemaDescriptor( - new RegionalInventoryServiceMethodDescriptorSupplier( - "ListRegionalInventories")) - .build(); - } - } - } - return getListRegionalInventoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - getInsertRegionalInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InsertRegionalInventory", - requestType = - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, - responseType = com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - getInsertRegionalInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - getInsertRegionalInventoryMethod; - if ((getInsertRegionalInventoryMethod = - RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) - == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - if ((getInsertRegionalInventoryMethod = - RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) - == null) { - RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod = - getInsertRegionalInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "InsertRegionalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .InsertRegionalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory - .getDefaultInstance())) - .setSchemaDescriptor( - new RegionalInventoryServiceMethodDescriptorSupplier( - "InsertRegionalInventory")) - .build(); - } - } - } - return getInsertRegionalInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, - com.google.protobuf.Empty> - getDeleteRegionalInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRegionalInventory", - requestType = - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, - com.google.protobuf.Empty> - getDeleteRegionalInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, - com.google.protobuf.Empty> - getDeleteRegionalInventoryMethod; - if ((getDeleteRegionalInventoryMethod = - RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) - == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - if ((getDeleteRegionalInventoryMethod = - RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) - == null) { - RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod = - getDeleteRegionalInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteRegionalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .DeleteRegionalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new RegionalInventoryServiceMethodDescriptorSupplier( - "DeleteRegionalInventory")) - .build(); - } - } - } - return getDeleteRegionalInventoryMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static RegionalInventoryServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegionalInventoryServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceStub(channel, callOptions); - } - }; - return RegionalInventoryServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static RegionalInventoryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegionalInventoryServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceBlockingStub(channel, callOptions); - } - }; - return RegionalInventoryServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static RegionalInventoryServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegionalInventoryServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceFutureStub(channel, callOptions); - } - }; - return RegionalInventoryServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - default void listRegionalInventories( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRegionalInventoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - default void insertRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, - io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInsertRegionalInventoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - default void deleteRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRegionalInventoryMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service RegionalInventoryService. - * - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public abstract static class RegionalInventoryServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return RegionalInventoryServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service RegionalInventoryService. - * - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static final class RegionalInventoryServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private RegionalInventoryServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegionalInventoryServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - public void listRegionalInventories( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - public void insertRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, - io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - public void deleteRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service RegionalInventoryService. - * - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static final class RegionalInventoryServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private RegionalInventoryServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegionalInventoryServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - listRegionalInventories( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRegionalInventoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory - insertRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInsertRegionalInventoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - public com.google.protobuf.Empty deleteRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRegionalInventoryMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * RegionalInventoryService. - * - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static final class RegionalInventoryServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private RegionalInventoryServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegionalInventoryServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> - listRegionalInventories( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - insertRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_REGIONAL_INVENTORIES = 0; - private static final int METHODID_INSERT_REGIONAL_INVENTORY = 1; - private static final int METHODID_DELETE_REGIONAL_INVENTORY = 2; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_REGIONAL_INVENTORIES: - serviceImpl.listRegionalInventories( - (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta - .ListRegionalInventoriesResponse>) - responseObserver); - break; - case METHODID_INSERT_REGIONAL_INVENTORY: - serviceImpl.insertRegionalInventory( - (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory>) - responseObserver); - break; - case METHODID_DELETE_REGIONAL_INVENTORY: - serviceImpl.deleteRegionalInventory( - (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListRegionalInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta - .ListRegionalInventoriesResponse>( - service, METHODID_LIST_REGIONAL_INVENTORIES))) - .addMethod( - getInsertRegionalInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory>( - service, METHODID_INSERT_REGIONAL_INVENTORY))) - .addMethod( - getDeleteRegionalInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_REGIONAL_INVENTORY))) - .build(); - } - - private abstract static class RegionalInventoryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - RegionalInventoryServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("RegionalInventoryService"); - } - } - - private static final class RegionalInventoryServiceFileDescriptorSupplier - extends RegionalInventoryServiceBaseDescriptorSupplier { - RegionalInventoryServiceFileDescriptorSupplier() {} - } - - private static final class RegionalInventoryServiceMethodDescriptorSupplier - extends RegionalInventoryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - RegionalInventoryServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RegionalInventoryServiceFileDescriptorSupplier()) - .addMethod(getListRegionalInventoriesMethod()) - .addMethod(getInsertRegionalInventoryMethod()) - .addMethod(getDeleteRegionalInventoryMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java deleted file mode 100644 index debcfec144ba..000000000000 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/localinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public interface DeleteLocalInventoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the local inventory for the given product to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/localInventories/{store_code}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the local inventory for the given product to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/localInventories/{store_code}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java deleted file mode 100644 index 3e0a16717e9f..000000000000 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public interface DeleteRegionalInventoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `RegionalInventory` resource to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/regionalInventories/{region}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `RegionalInventory` resource to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/regionalInventories/{region}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java deleted file mode 100644 index 1a5429a29c87..000000000000 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java +++ /dev/null @@ -1,211 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/localinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public final class LocalInventoryProto { - private LocalInventoryProto() {} - - 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_shopping_merchant_inventories_v1beta_LocalInventory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_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/shopping/merchant/inventories/v" - + "1beta/localinventory.proto\022+google.shopp" - + "ing.merchant.inventories.v1beta\032\034google/" - + "api/annotations.proto\032\027google/api/client" - + ".proto\032\037google/api/field_behavior.proto\032" - + "\031google/api/resource.proto\032\033google/proto" - + "buf/empty.proto\032 google/shopping/type/ty" - + "pes.proto\032\032google/type/interval.proto\"\215\005" - + "\n\016LocalInventory\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\025\n\007" - + "account\030\002 \001(\003B\004\342A\001\003\022\030\n\nstore_code\030\003 \001(\tB" - + "\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping.t" - + "ype.Price\022/\n\nsale_price\030\005 \001(\0132\033.google.s" - + "hopping.type.Price\0228\n\031sale_price_effecti" - + "ve_date\030\006 \001(\0132\025.google.type.Interval\022\031\n\014" - + "availability\030\007 \001(\tH\000\210\001\001\022\025\n\010quantity\030\010 \001(" - + "\003H\001\210\001\001\022\032\n\rpickup_method\030\t \001(\tH\002\210\001\001\022\027\n\npi" - + "ckup_sla\030\n \001(\tH\003\210\001\001\022%\n\030instore_product_l" - + "ocation\030\013 \001(\tH\004\210\001\001\022@\n\021custom_attributes\030" - + "\014 \003(\0132%.google.shopping.type.CustomAttri" - + "bute:s\352Ap\n)merchantapi.googleapis.com/Lo" - + "calInventory\022Caccounts/{account}/product" - + "s/{product}/localInventories/{store_code" - + "}B\017\n\r_availabilityB\013\n\t_quantityB\020\n\016_pick" - + "up_methodB\r\n\013_pickup_slaB\033\n\031_instore_pro" - + "duct_location\"Z\n\033ListLocalInventoriesReq" - + "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001\n\034ListLocalI" - + "nventoriesResponse\022V\n\021local_inventories\030" - + "\001 \003(\0132;.google.shopping.merchant.invento" - + "ries.v1beta.LocalInventory\022\027\n\017next_page_" - + "token\030\002 \001(\t\"\217\001\n\033InsertLocalInventoryRequ" - + "est\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022Z\n\017local_inven" - + "tory\030\002 \001(\0132;.google.shopping.merchant.in" - + "ventories.v1beta.LocalInventoryB\004\342A\001\002\"_\n" - + "\033DeleteLocalInventoryRequest\022@\n\004name\030\001 \001" - + "(\tB2\342A\001\002\372A+\n)merchantapi.googleapis.com/" - + "LocalInventory2\270\006\n\025LocalInventoryService" - + "\022\201\002\n\024ListLocalInventories\022H.google.shopp" - + "ing.merchant.inventories.v1beta.ListLoca" - + "lInventoriesRequest\032I.google.shopping.me" - + "rchant.inventories.v1beta.ListLocalInven" - + "toriesResponse\"T\332A\006parent\202\323\344\223\002E\022C/invent" - + "ories/v1beta/{parent=accounts/*/products" - + "/*}/localInventories\022\202\002\n\024InsertLocalInve" - + "ntory\022H.google.shopping.merchant.invento" - + "ries.v1beta.InsertLocalInventoryRequest\032" - + ";.google.shopping.merchant.inventories.v" - + "1beta.LocalInventory\"c\202\323\344\223\002]\"J/inventori" - + "es/v1beta/{parent=accounts/*/products/*}" - + "/localInventories:insert:\017local_inventor" - + "y\022\314\001\n\024DeleteLocalInventory\022H.google.shop" - + "ping.merchant.inventories.v1beta.DeleteL" - + "ocalInventoryRequest\032\026.google.protobuf.E" - + "mpty\"R\332A\004name\202\323\344\223\002E*C/inventories/v1beta" - + "/{name=accounts/*/products/*/localInvent" - + "ories/*}\032G\312A\032merchantapi.googleapis.com\322" - + "A\'https://www.googleapis.com/auth/conten" - + "tB\240\001\n/com.google.shopping.merchant.inven" - + "tories.v1betaB\023LocalInventoryProtoP\001ZVgo" - + "ogle.golang.org/genproto/googleapis/shop" - + "ping/merchant/inventories/v1beta;invento" - + "riesb\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.protobuf.EmptyProto.getDescriptor(), - com.google.shopping.type.TypesProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor, - new java.lang.String[] { - "Name", - "Account", - "StoreCode", - "Price", - "SalePrice", - "SalePriceEffectiveDate", - "Availability", - "Quantity", - "PickupMethod", - "PickupSla", - "InstoreProductLocation", - "CustomAttributes", - "Availability", - "Quantity", - "PickupMethod", - "PickupSla", - "InstoreProductLocation", - }); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor, - new java.lang.String[] { - "LocalInventories", "NextPageToken", - }); - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor, - new java.lang.String[] { - "Parent", "LocalInventory", - }); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.protobuf.EmptyProto.getDescriptor(); - com.google.shopping.type.TypesProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java deleted file mode 100644 index 50c2cc1a9461..000000000000 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public final class RegionalInventoryProto { - private RegionalInventoryProto() {} - - 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_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nCgoogle/shopping/merchant/inventories/v" - + "1beta/regionalinventory.proto\022+google.sh" - + "opping.merchant.inventories.v1beta\032\034goog" - + "le/api/annotations.proto\032\027google/api/cli" - + "ent.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/shopping/type" - + "/types.proto\032\032google/type/interval.proto" - + "\"\320\003\n\021RegionalInventory\022\022\n\004name\030\001 \001(\tB\004\342A" - + "\001\003\022\025\n\007account\030\002 \001(\003B\004\342A\001\003\022\024\n\006region\030\003 \001(" - + "\tB\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping" - + ".type.Price\022/\n\nsale_price\030\005 \001(\0132\033.google" - + ".shopping.type.Price\0228\n\031sale_price_effec" - + "tive_date\030\006 \001(\0132\025.google.type.Interval\022\031" - + "\n\014availability\030\007 \001(\tH\000\210\001\001\022@\n\021custom_attr" - + "ibutes\030\010 \003(\0132%.google.shopping.type.Cust" - + "omAttribute:u\352Ar\n,merchantapi.googleapis" - + ".com/RegionalInventory\022Baccounts/{accoun" - + "t}/products/{product}/regionalInventorie" - + "s/{region}B\017\n\r_availability\"]\n\036ListRegio" - + "nalInventoriesRequest\022\024\n\006parent\030\001 \001(\tB\004\342" - + "A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\"\230\001\n\037ListRegionalInventoriesResponse\022\\" - + "\n\024regional_inventories\030\001 \003(\0132>.google.sh" - + "opping.merchant.inventories.v1beta.Regio" - + "nalInventory\022\027\n\017next_page_token\030\002 \001(\t\"\230\001" - + "\n\036InsertRegionalInventoryRequest\022\024\n\006pare" - + "nt\030\001 \001(\tB\004\342A\001\002\022`\n\022regional_inventory\030\002 \001" - + "(\0132>.google.shopping.merchant.inventorie" - + "s.v1beta.RegionalInventoryB\004\342A\001\002\"e\n\036Dele" - + "teRegionalInventoryRequest\022C\n\004name\030\001 \001(\t" - + "B5\342A\001\002\372A.\n,merchantapi.googleapis.com/Re" - + "gionalInventory2\337\006\n\030RegionalInventorySer" - + "vice\022\215\002\n\027ListRegionalInventories\022K.googl" - + "e.shopping.merchant.inventories.v1beta.L" - + "istRegionalInventoriesRequest\032L.google.s" - + "hopping.merchant.inventories.v1beta.List" - + "RegionalInventoriesResponse\"W\332A\006parent\202\323" - + "\344\223\002H\022F/inventories/v1beta/{parent=accoun" - + "ts/*/products/*}/regionalInventories\022\221\002\n" - + "\027InsertRegionalInventory\022K.google.shoppi" - + "ng.merchant.inventories.v1beta.InsertReg" - + "ionalInventoryRequest\032>.google.shopping." - + "merchant.inventories.v1beta.RegionalInve" - + "ntory\"i\202\323\344\223\002c\"M/inventories/v1beta/{pare" - + "nt=accounts/*/products/*}/regionalInvent" - + "ories:insert:\022regional_inventory\022\325\001\n\027Del" - + "eteRegionalInventory\022K.google.shopping.m" - + "erchant.inventories.v1beta.DeleteRegiona" - + "lInventoryRequest\032\026.google.protobuf.Empt" - + "y\"U\332A\004name\202\323\344\223\002H*F/inventories/v1beta/{n" - + "ame=accounts/*/products/*/regionalInvent" - + "ories/*}\032G\312A\032merchantapi.googleapis.com\322" - + "A\'https://www.googleapis.com/auth/conten" - + "tB\243\001\n/com.google.shopping.merchant.inven" - + "tories.v1betaB\026RegionalInventoryProtoP\001Z" - + "Vgoogle.golang.org/genproto/googleapis/s" - + "hopping/merchant/inventories/v1beta;inve" - + "ntoriesb\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.protobuf.EmptyProto.getDescriptor(), - com.google.shopping.type.TypesProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor, - new java.lang.String[] { - "Name", - "Account", - "Region", - "Price", - "SalePrice", - "SalePriceEffectiveDate", - "Availability", - "CustomAttributes", - "Availability", - }); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor, - new java.lang.String[] { - "RegionalInventories", "NextPageToken", - }); - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RegionalInventory", - }); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.protobuf.EmptyProto.getDescriptor(); - com.google.shopping.type.TypesProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java deleted file mode 100644 index 555c9b9c713f..000000000000 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/type/types.proto - -package com.google.shopping.type; - -/** - * - * - *
- * Destinations available for a product.
- *
- * Destinations are used in Merchant Center to allow you to control where the
- * products from your data feed should be displayed.
- * 
- * - * Protobuf enum {@code google.shopping.type.Destination} - */ -public enum Destination implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-   * Not specified.
-   * 
- * - * DESTINATION_UNSPECIFIED = 0; - */ - DESTINATION_UNSPECIFIED(0), - /** - * - * - *
-   * Shopping ads.
-   * 
- * - * SHOPPING_ADS = 1; - */ - SHOPPING_ADS(1), - /** - * - * - *
-   * Local inventory ads.
-   * 
- * - * LOCAL_INVENTORY_ADS = 2; - */ - LOCAL_INVENTORY_ADS(2), - /** - * - * - *
-   * Free listings.
-   * 
- * - * FREE_LISTINGS = 3; - */ - FREE_LISTINGS(3), - /** - * - * - *
-   * Free local product listings.
-   * 
- * - * FREE_LOCAL_LISTINGS = 4; - */ - FREE_LOCAL_LISTINGS(4), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-   * Not specified.
-   * 
- * - * DESTINATION_UNSPECIFIED = 0; - */ - public static final int DESTINATION_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-   * Shopping ads.
-   * 
- * - * SHOPPING_ADS = 1; - */ - public static final int SHOPPING_ADS_VALUE = 1; - /** - * - * - *
-   * Local inventory ads.
-   * 
- * - * LOCAL_INVENTORY_ADS = 2; - */ - public static final int LOCAL_INVENTORY_ADS_VALUE = 2; - /** - * - * - *
-   * Free listings.
-   * 
- * - * FREE_LISTINGS = 3; - */ - public static final int FREE_LISTINGS_VALUE = 3; - /** - * - * - *
-   * Free local product listings.
-   * 
- * - * FREE_LOCAL_LISTINGS = 4; - */ - public static final int FREE_LOCAL_LISTINGS_VALUE = 4; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Destination valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Destination forNumber(int value) { - switch (value) { - case 0: - return DESTINATION_UNSPECIFIED; - case 1: - return SHOPPING_ADS; - case 2: - return LOCAL_INVENTORY_ADS; - case 3: - return FREE_LISTINGS; - case 4: - return FREE_LOCAL_LISTINGS; - default: - return null; - } - } - - 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 Destination findValueByNumber(int number) { - return Destination.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.shopping.type.TypesProto.getDescriptor().getEnumTypes().get(0); - } - - private static final Destination[] VALUES = values(); - - public static Destination valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Destination(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.shopping.type.Destination) -} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java deleted file mode 100644 index c0d5a014193f..000000000000 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/type/types.proto - -package com.google.shopping.type; - -public final class TypesProto { - private TypesProto() {} - - 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_shopping_type_Price_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_Price_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_type_CustomAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_CustomAttribute_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/shopping/type/types.proto\022\024goog" - + "le.shopping.type\"c\n\005Price\022\032\n\ramount_micr" - + "os\030\001 \001(\003H\000\210\001\001\022\032\n\rcurrency_code\030\002 \001(\tH\001\210\001" - + "\001B\020\n\016_amount_microsB\020\n\016_currency_code\"\210\001" - + "\n\017CustomAttribute\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\022\n\005" - + "value\030\002 \001(\tH\001\210\001\001\022;\n\014group_values\030\003 \003(\0132%" - + ".google.shopping.type.CustomAttributeB\007\n" - + "\005_nameB\010\n\006_value*\201\001\n\013Destination\022\033\n\027DEST" - + "INATION_UNSPECIFIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022" - + "\027\n\023LOCAL_INVENTORY_ADS\020\002\022\021\n\rFREE_LISTING" - + "S\020\003\022\027\n\023FREE_LOCAL_LISTINGS\020\004B\200\001\n\030com.goo" - + "gle.shopping.typeB\nTypesProtoP\001Z?google." - + "golang.org/genproto/googleapis/shopping/" - + "type/types;types\252\002\024Google.Shopping.Typeb" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_shopping_type_Price_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_shopping_type_Price_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_Price_descriptor, - new java.lang.String[] { - "AmountMicros", "CurrencyCode", "AmountMicros", "CurrencyCode", - }); - internal_static_google_shopping_type_CustomAttribute_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_CustomAttribute_descriptor, - new java.lang.String[] { - "Name", "Value", "GroupValues", "Name", "Value", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java similarity index 99% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java index 128602d89417..1dc5eb55e893 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java similarity index 99% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java index 4387ecb52bda..b05fe6b30735 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java similarity index 99% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java index e7ce7fc3a527..f3d4616b86d9 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java @@ -36,6 +36,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java similarity index 99% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java index 998717f893b6..d6066dfb81ae 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java @@ -36,6 +36,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json similarity index 94% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json index f55085ce4e90..cf8c2b686da8 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json @@ -1205,6 +1205,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.type.Channel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Channel$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Channel$ChannelEnum", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.shopping.type.CustomAttribute", "queryAllDeclaredConstructors": true, @@ -1232,6 +1259,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.type.Destination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Destination$DestinationEnum", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.shopping.type.Price", "queryAllDeclaredConstructors": true, @@ -1250,6 +1295,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.type.ReportingContext", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.ReportingContext$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.ReportingContext$ReportingContextEnum", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.type.Interval", "queryAllDeclaredConstructors": true, diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java similarity index 100% rename from java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java diff --git a/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java similarity index 50% rename from java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java index 5c54cd4168cd..53baa09639a3 100644 --- a/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.shopping.merchant.inventories.v1beta; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Service to manage local inventory for products
  * 
@@ -32,211 +15,147 @@ public final class LocalInventoryServiceGrpc { private LocalInventoryServiceGrpc() {} - public static final java.lang.String SERVICE_NAME = - "google.shopping.merchant.inventories.v1beta.LocalInventoryService"; + public static final java.lang.String SERVICE_NAME = "google.shopping.merchant.inventories.v1beta.LocalInventoryService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> - getListLocalInventoriesMethod; + private static volatile io.grpc.MethodDescriptor getListLocalInventoriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListLocalInventories", - requestType = - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, - responseType = - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, + requestType = com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, + responseType = com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> - getListLocalInventoriesMethod() { - io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> - getListLocalInventoriesMethod; - if ((getListLocalInventoriesMethod = LocalInventoryServiceGrpc.getListLocalInventoriesMethod) - == null) { + public static io.grpc.MethodDescriptor getListLocalInventoriesMethod() { + io.grpc.MethodDescriptor getListLocalInventoriesMethod; + if ((getListLocalInventoriesMethod = LocalInventoryServiceGrpc.getListLocalInventoriesMethod) == null) { synchronized (LocalInventoryServiceGrpc.class) { - if ((getListLocalInventoriesMethod = - LocalInventoryServiceGrpc.getListLocalInventoriesMethod) - == null) { - LocalInventoryServiceGrpc.getListLocalInventoriesMethod = - getListLocalInventoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListLocalInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .ListLocalInventoriesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .ListLocalInventoriesResponse.getDefaultInstance())) - .setSchemaDescriptor( - new LocalInventoryServiceMethodDescriptorSupplier("ListLocalInventories")) - .build(); + if ((getListLocalInventoriesMethod = LocalInventoryServiceGrpc.getListLocalInventoriesMethod) == null) { + LocalInventoryServiceGrpc.getListLocalInventoriesMethod = getListLocalInventoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocalInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new LocalInventoryServiceMethodDescriptorSupplier("ListLocalInventories")) + .build(); } } } return getListLocalInventoriesMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.LocalInventory> - getInsertLocalInventoryMethod; + private static volatile io.grpc.MethodDescriptor getInsertLocalInventoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "InsertLocalInventory", - requestType = - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, + requestType = com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, responseType = com.google.shopping.merchant.inventories.v1beta.LocalInventory.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.LocalInventory> - getInsertLocalInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.LocalInventory> - getInsertLocalInventoryMethod; - if ((getInsertLocalInventoryMethod = LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) - == null) { + public static io.grpc.MethodDescriptor getInsertLocalInventoryMethod() { + io.grpc.MethodDescriptor getInsertLocalInventoryMethod; + if ((getInsertLocalInventoryMethod = LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) == null) { synchronized (LocalInventoryServiceGrpc.class) { - if ((getInsertLocalInventoryMethod = - LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) - == null) { - LocalInventoryServiceGrpc.getInsertLocalInventoryMethod = - getInsertLocalInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "InsertLocalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .InsertLocalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.LocalInventory - .getDefaultInstance())) - .setSchemaDescriptor( - new LocalInventoryServiceMethodDescriptorSupplier("InsertLocalInventory")) - .build(); + if ((getInsertLocalInventoryMethod = LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) == null) { + LocalInventoryServiceGrpc.getInsertLocalInventoryMethod = getInsertLocalInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InsertLocalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance())) + .setSchemaDescriptor(new LocalInventoryServiceMethodDescriptorSupplier("InsertLocalInventory")) + .build(); } } } return getInsertLocalInventoryMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, - com.google.protobuf.Empty> - getDeleteLocalInventoryMethod; + private static volatile io.grpc.MethodDescriptor getDeleteLocalInventoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteLocalInventory", - requestType = - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, + requestType = com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, - com.google.protobuf.Empty> - getDeleteLocalInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, - com.google.protobuf.Empty> - getDeleteLocalInventoryMethod; - if ((getDeleteLocalInventoryMethod = LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) - == null) { + public static io.grpc.MethodDescriptor getDeleteLocalInventoryMethod() { + io.grpc.MethodDescriptor getDeleteLocalInventoryMethod; + if ((getDeleteLocalInventoryMethod = LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) == null) { synchronized (LocalInventoryServiceGrpc.class) { - if ((getDeleteLocalInventoryMethod = - LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) - == null) { - LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod = - getDeleteLocalInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteLocalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta - .DeleteLocalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new LocalInventoryServiceMethodDescriptorSupplier("DeleteLocalInventory")) - .build(); + if ((getDeleteLocalInventoryMethod = LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) == null) { + LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod = getDeleteLocalInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteLocalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new LocalInventoryServiceMethodDescriptorSupplier("DeleteLocalInventory")) + .build(); } } } return getDeleteLocalInventoryMethod; } - /** 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 LocalInventoryServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LocalInventoryServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocalInventoryServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LocalInventoryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocalInventoryServiceStub(channel, callOptions); + } + }; return LocalInventoryServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static LocalInventoryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static LocalInventoryServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LocalInventoryServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocalInventoryServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LocalInventoryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocalInventoryServiceBlockingStub(channel, callOptions); + } + }; return LocalInventoryServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static LocalInventoryServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static LocalInventoryServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LocalInventoryServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocalInventoryServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LocalInventoryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocalInventoryServiceFutureStub(channel, callOptions); + } + }; return LocalInventoryServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Service to manage local inventory for products
    * 
@@ -244,8 +163,6 @@ public LocalInventoryServiceFutureStub newStub( public interface AsyncService { /** - * - * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -254,18 +171,12 @@ public interface AsyncService {
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - default void listLocalInventories( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListLocalInventoriesMethod(), responseObserver); + default void listLocalInventories(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLocalInventoriesMethod(), responseObserver); } /** - * - * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -276,17 +187,12 @@ default void listLocalInventories(
      * resource to appear in products.
      * 
*/ - default void insertLocalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInsertLocalInventoryMethod(), responseObserver); + default void insertLocalInventory(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertLocalInventoryMethod(), responseObserver); } /** - * - * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -295,40 +201,36 @@ default void insertLocalInventory(
      * period before attempting a delete again.
      * 
*/ - default void deleteLocalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, + default void deleteLocalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteLocalInventoryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLocalInventoryMethod(), responseObserver); } } /** * Base class for the server implementation of the service LocalInventoryService. - * *
    * Service to manage local inventory for products
    * 
*/ - public abstract static class LocalInventoryServiceImplBase + public static abstract class LocalInventoryServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return LocalInventoryServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service LocalInventoryService. - * *
    * Service to manage local inventory for products
    * 
*/ public static final class LocalInventoryServiceStub extends io.grpc.stub.AbstractAsyncStub { - private LocalInventoryServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private LocalInventoryServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -339,8 +241,6 @@ protected LocalInventoryServiceStub build( } /** - * - * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -349,20 +249,13 @@ protected LocalInventoryServiceStub build(
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - public void listLocalInventories( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> - responseObserver) { + public void listLocalInventories(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLocalInventoriesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListLocalInventoriesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -373,19 +266,13 @@ public void listLocalInventories(
      * resource to appear in products.
      * 
*/ - public void insertLocalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void insertLocalInventory(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInsertLocalInventoryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getInsertLocalInventoryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -394,19 +281,15 @@ public void insertLocalInventory(
      * period before attempting a delete again.
      * 
*/ - public void deleteLocalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, + public void deleteLocalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteLocalInventoryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteLocalInventoryMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service LocalInventoryService. - * *
    * Service to manage local inventory for products
    * 
@@ -425,8 +308,6 @@ protected LocalInventoryServiceBlockingStub build( } /** - * - * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -435,16 +316,12 @@ protected LocalInventoryServiceBlockingStub build(
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - listLocalInventories( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse listLocalInventories(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListLocalInventoriesMethod(), getCallOptions(), request); } /** - * - * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -455,15 +332,12 @@ protected LocalInventoryServiceBlockingStub build(
      * resource to appear in products.
      * 
*/ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory insertLocalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory insertLocalInventory(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInsertLocalInventoryMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -472,17 +346,14 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory insertLoca
      * period before attempting a delete again.
      * 
*/ - public com.google.protobuf.Empty deleteLocalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) { + public com.google.protobuf.Empty deleteLocalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteLocalInventoryMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * LocalInventoryService. - * + * A stub to allow clients to do ListenableFuture-style rpc calls to service LocalInventoryService. *
    * Service to manage local inventory for products
    * 
@@ -501,8 +372,6 @@ protected LocalInventoryServiceFutureStub build( } /** - * - * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -511,17 +380,13 @@ protected LocalInventoryServiceFutureStub build(
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> - listLocalInventories( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listLocalInventories( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListLocalInventoriesMethod(), getCallOptions()), request); } /** - * - * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -532,17 +397,13 @@ protected LocalInventoryServiceFutureStub build(
      * resource to appear in products.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.shopping.merchant.inventories.v1beta.LocalInventory> - insertLocalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) { + public com.google.common.util.concurrent.ListenableFuture insertLocalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInsertLocalInventoryMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -551,9 +412,8 @@ protected LocalInventoryServiceFutureStub build(
      * period before attempting a delete again.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteLocalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteLocalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteLocalInventoryMethod(), getCallOptions()), request); } @@ -563,11 +423,11 @@ protected LocalInventoryServiceFutureStub build( private static final int METHODID_INSERT_LOCAL_INVENTORY = 1; private static final int METHODID_DELETE_LOCAL_INVENTORY = 2; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -581,22 +441,15 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_LOCAL_INVENTORIES: - serviceImpl.listLocalInventories( - (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse>) - responseObserver); + serviceImpl.listLocalInventories((com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_INSERT_LOCAL_INVENTORY: - serviceImpl.insertLocalInventory( - (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) request, - (io.grpc.stub.StreamObserver< - com.google.shopping.merchant.inventories.v1beta.LocalInventory>) - responseObserver); + serviceImpl.insertLocalInventory((com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_LOCAL_INVENTORY: - serviceImpl.deleteLocalInventory( - (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) request, + serviceImpl.deleteLocalInventory((com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -618,31 +471,31 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListLocalInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse>( - service, METHODID_LIST_LOCAL_INVENTORIES))) + getListLocalInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse>( + service, METHODID_LIST_LOCAL_INVENTORIES))) .addMethod( - getInsertLocalInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.LocalInventory>( - service, METHODID_INSERT_LOCAL_INVENTORY))) + getInsertLocalInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.LocalInventory>( + service, METHODID_INSERT_LOCAL_INVENTORY))) .addMethod( - getDeleteLocalInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_LOCAL_INVENTORY))) + getDeleteLocalInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_LOCAL_INVENTORY))) .build(); } - private abstract static class LocalInventoryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class LocalInventoryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { LocalInventoryServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -684,14 +537,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (LocalInventoryServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new LocalInventoryServiceFileDescriptorSupplier()) - .addMethod(getListLocalInventoriesMethod()) - .addMethod(getInsertLocalInventoryMethod()) - .addMethod(getDeleteLocalInventoryMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new LocalInventoryServiceFileDescriptorSupplier()) + .addMethod(getListLocalInventoriesMethod()) + .addMethod(getInsertLocalInventoryMethod()) + .addMethod(getDeleteLocalInventoryMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java new file mode 100644 index 000000000000..0a6723ee90e0 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java @@ -0,0 +1,557 @@ +package com.google.shopping.merchant.inventories.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service to manage regional inventory for products. There is also separate
+ * `regions` resource and API to manage regions definitions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class RegionalInventoryServiceGrpc { + + private RegionalInventoryServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.shopping.merchant.inventories.v1beta.RegionalInventoryService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListRegionalInventoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRegionalInventories", + requestType = com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, + responseType = com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRegionalInventoriesMethod() { + io.grpc.MethodDescriptor getListRegionalInventoriesMethod; + if ((getListRegionalInventoriesMethod = RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + if ((getListRegionalInventoriesMethod = RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) == null) { + RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod = getListRegionalInventoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegionalInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegionalInventoryServiceMethodDescriptorSupplier("ListRegionalInventories")) + .build(); + } + } + } + return getListRegionalInventoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getInsertRegionalInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InsertRegionalInventory", + requestType = com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, + responseType = com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInsertRegionalInventoryMethod() { + io.grpc.MethodDescriptor getInsertRegionalInventoryMethod; + if ((getInsertRegionalInventoryMethod = RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + if ((getInsertRegionalInventoryMethod = RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) == null) { + RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod = getInsertRegionalInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InsertRegionalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance())) + .setSchemaDescriptor(new RegionalInventoryServiceMethodDescriptorSupplier("InsertRegionalInventory")) + .build(); + } + } + } + return getInsertRegionalInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRegionalInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRegionalInventory", + requestType = com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRegionalInventoryMethod() { + io.grpc.MethodDescriptor getDeleteRegionalInventoryMethod; + if ((getDeleteRegionalInventoryMethod = RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + if ((getDeleteRegionalInventoryMethod = RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) == null) { + RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod = getDeleteRegionalInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegionalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegionalInventoryServiceMethodDescriptorSupplier("DeleteRegionalInventory")) + .build(); + } + } + } + return getDeleteRegionalInventoryMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static RegionalInventoryServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegionalInventoryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceStub(channel, callOptions); + } + }; + return RegionalInventoryServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static RegionalInventoryServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegionalInventoryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceBlockingStub(channel, callOptions); + } + }; + return RegionalInventoryServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static RegionalInventoryServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegionalInventoryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceFutureStub(channel, callOptions); + } + }; + return RegionalInventoryServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + default void listRegionalInventories(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegionalInventoriesMethod(), responseObserver); + } + + /** + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + default void insertRegionalInventory(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertRegionalInventoryMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + default void deleteRegionalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegionalInventoryMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service RegionalInventoryService. + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static abstract class RegionalInventoryServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return RegionalInventoryServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service RegionalInventoryService. + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static final class RegionalInventoryServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private RegionalInventoryServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegionalInventoryServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceStub(channel, callOptions); + } + + /** + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + public void listRegionalInventories(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + public void insertRegionalInventory(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + public void deleteRegionalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service RegionalInventoryService. + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static final class RegionalInventoryServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private RegionalInventoryServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegionalInventoryServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse listRegionalInventories(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRegionalInventoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory insertRegionalInventory(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInsertRegionalInventoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + public com.google.protobuf.Empty deleteRegionalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRegionalInventoryMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service RegionalInventoryService. + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static final class RegionalInventoryServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private RegionalInventoryServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegionalInventoryServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRegionalInventories( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture insertRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_REGIONAL_INVENTORIES = 0; + private static final int METHODID_INSERT_REGIONAL_INVENTORY = 1; + private static final int METHODID_DELETE_REGIONAL_INVENTORY = 2; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_REGIONAL_INVENTORIES: + serviceImpl.listRegionalInventories((com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INSERT_REGIONAL_INVENTORY: + serviceImpl.insertRegionalInventory((com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REGIONAL_INVENTORY: + serviceImpl.deleteRegionalInventory((com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListRegionalInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse>( + service, METHODID_LIST_REGIONAL_INVENTORIES))) + .addMethod( + getInsertRegionalInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory>( + service, METHODID_INSERT_REGIONAL_INVENTORY))) + .addMethod( + getDeleteRegionalInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_REGIONAL_INVENTORY))) + .build(); + } + + private static abstract class RegionalInventoryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + RegionalInventoryServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("RegionalInventoryService"); + } + } + + private static final class RegionalInventoryServiceFileDescriptorSupplier + extends RegionalInventoryServiceBaseDescriptorSupplier { + RegionalInventoryServiceFileDescriptorSupplier() {} + } + + private static final class RegionalInventoryServiceMethodDescriptorSupplier + extends RegionalInventoryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + RegionalInventoryServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RegionalInventoryServiceFileDescriptorSupplier()) + .addMethod(getListRegionalInventoriesMethod()) + .addMethod(getInsertRegionalInventoryMethod()) + .addMethod(getDeleteRegionalInventoryMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java similarity index 53% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java index 694d9061f376..ee98b0e0076f 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java @@ -1,85 +1,59 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Request message for the `DeleteLocalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest} */ -public final class DeleteLocalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteLocalInventoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) DeleteLocalInventoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteLocalInventoryRequest.newBuilder() to construct. private DeleteLocalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteLocalInventoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteLocalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the local inventory for the given product to delete.
    * Format:
    * `accounts/{account}/products/{product}/localInventories/{store_code}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +62,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the local inventory for the given product to delete.
    * Format:
    * `accounts/{account}/products/{product}/localInventories/{store_code}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,16 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other = - (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,145 +158,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - 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.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest 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.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the `DeleteLocalInventory` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -335,22 +293,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -358,19 +313,14 @@ public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryReque } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = - new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest buildPartial() { + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -381,52 +331,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other) { + if (other == com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -458,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -480,29 +422,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,25 +448,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,43 +471,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -583,34 +506,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,44 +537,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteLocalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteLocalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,8 +583,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java new file mode 100644 index 000000000000..f33965fafed5 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/merchant/inventories/v1beta/localinventory.proto + +package com.google.shopping.merchant.inventories.v1beta; + +public interface DeleteLocalInventoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the local inventory for the given product to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/localInventories/{store_code}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the local inventory for the given product to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/localInventories/{store_code}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java similarity index 52% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java index e6420c95aee0..966a4bca332b 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java @@ -1,86 +1,59 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Request message for the `DeleteRegionalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest} */ -public final class DeleteRegionalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRegionalInventoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) DeleteRegionalInventoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRegionalInventoryRequest.newBuilder() to construct. - private DeleteRegionalInventoryRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteRegionalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRegionalInventoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRegionalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the `RegionalInventory` resource to delete.
    * Format:
    * `accounts/{account}/products/{product}/regionalInventories/{region}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +62,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the `RegionalInventory` resource to delete.
    * Format:
    * `accounts/{account}/products/{product}/regionalInventories/{region}`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -124,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,17 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other = - (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,146 +158,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - 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.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest 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.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the `DeleteRegionalInventory` method.
    * 
* - * Protobuf type {@code - * google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest} + * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -338,22 +293,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -361,19 +313,14 @@ public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = - new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest buildPartial() { + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -384,53 +331,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other) { + if (other == com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -462,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -484,29 +422,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,25 +448,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -541,43 +471,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * - * string 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() { @@ -587,34 +506,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,45 +537,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta - .DeleteRegionalInventoryRequest - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegionalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegionalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -674,8 +583,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java new file mode 100644 index 000000000000..d94448506668 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto + +package com.google.shopping.merchant.inventories.v1beta; + +public interface DeleteRegionalInventoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `RegionalInventory` resource to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/regionalInventories/{region}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `RegionalInventory` resource to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/regionalInventories/{region}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java similarity index 58% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java index ac2b3bfee675..212821ebc5d5 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java @@ -1,82 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Request message for the `InsertLocalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest} */ -public final class InsertLocalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InsertLocalInventoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) InsertLocalInventoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InsertLocalInventoryRequest.newBuilder() to construct. private InsertLocalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InsertLocalInventoryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InsertLocalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -85,30 +61,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 account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * 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 { @@ -119,18 +95,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int LOCAL_INVENTORY_FIELD_NUMBER = 2; private com.google.shopping.merchant.inventories.v1beta.LocalInventory localInventory_; /** - * - * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the localInventory field is set. */ @java.lang.Override @@ -138,49 +109,34 @@ public boolean hasLocalInventory() { return localInventory_ != null; } /** - * - * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The localInventory. */ @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventory() { - return localInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() - : localInventory_; + return localInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; } /** - * - * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder - getLocalInventoryOrBuilder() { - return localInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() - : localInventory_; + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoryOrBuilder() { + return localInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (localInventory_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLocalInventory()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLocalInventory()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,19 +180,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.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other = - (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasLocalInventory() != other.hasLocalInventory()) return false; if (hasLocalInventory()) { - if (!getLocalInventory().equals(other.getLocalInventory())) return false; + if (!getLocalInventory() + .equals(other.getLocalInventory())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -258,145 +216,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - 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.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest 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.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the `InsertLocalInventory` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,22 +356,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -434,26 +376,22 @@ public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryReque } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = - new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest buildPartial() { + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.localInventory_ = - localInventoryBuilder_ == null ? localInventory_ : localInventoryBuilder_.build(); + result.localInventory_ = localInventoryBuilder_ == null + ? localInventory_ + : localInventoryBuilder_.build(); } } @@ -461,52 +399,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other) { + if (other == com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -541,25 +473,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getLocalInventoryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getLocalInventoryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -569,26 +500,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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; @@ -597,22 +525,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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 { @@ -620,37 +547,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -660,22 +580,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -685,67 +601,47 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.shopping.merchant.inventories.v1beta.LocalInventory localInventory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> - localInventoryBuilder_; + com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> localInventoryBuilder_; /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the localInventory field is set. */ public boolean hasLocalInventory() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The localInventory. */ public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventory() { if (localInventoryBuilder_ == null) { - return localInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() - : localInventory_; + return localInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; } else { return localInventoryBuilder_.getMessage(); } } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLocalInventory( - com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { + public Builder setLocalInventory(com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { if (localInventoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,17 +655,13 @@ public Builder setLocalInventory( return this; } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLocalInventory( com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { @@ -783,26 +675,19 @@ public Builder setLocalInventory( return this; } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeLocalInventory( - com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { + public Builder mergeLocalInventory(com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { if (localInventoryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && localInventory_ != null - && localInventory_ - != com.google.shopping.merchant.inventories.v1beta.LocalInventory - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + localInventory_ != null && + localInventory_ != com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()) { getLocalInventoryBuilder().mergeFrom(value); } else { localInventory_ = value; @@ -815,17 +700,13 @@ public Builder mergeLocalInventory( return this; } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLocalInventory() { bitField0_ = (bitField0_ & ~0x00000002); @@ -838,79 +719,61 @@ public Builder clearLocalInventory() { return this; } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder - getLocalInventoryBuilder() { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder getLocalInventoryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getLocalInventoryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder - getLocalInventoryOrBuilder() { + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoryOrBuilder() { if (localInventoryBuilder_ != null) { return localInventoryBuilder_.getMessageOrBuilder(); } else { - return localInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() - : localInventory_; + return localInventory_ == null ? + com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; } } /** - * - * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> getLocalInventoryFieldBuilder() { if (localInventoryBuilder_ == null) { - localInventoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( - getLocalInventory(), getParentForChildren(), isClean()); + localInventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( + getLocalInventory(), + getParentForChildren(), + isClean()); localInventory_ = null; } return localInventoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,44 +783,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InsertLocalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertLocalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -969,8 +829,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java similarity index 60% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java index 4ed6335c2344..4e076097758d 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java @@ -1,100 +1,64 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface InsertLocalInventoryRequestOrBuilder - extends +public interface InsertLocalInventoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the localInventory field is set. */ boolean hasLocalInventory(); /** - * - * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The localInventory. */ com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventory(); /** - * - * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder - getLocalInventoryOrBuilder(); + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoryOrBuilder(); } diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java similarity index 57% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java index 7dc001dfac3a..daf4d6432539 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Request message for the `InsertRegionalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest} */ -public final class InsertRegionalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InsertRegionalInventoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) InsertRegionalInventoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InsertRegionalInventoryRequest.newBuilder() to construct. - private InsertRegionalInventoryRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private InsertRegionalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InsertRegionalInventoryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InsertRegionalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -86,30 +61,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 account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * 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 { @@ -120,18 +95,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGIONAL_INVENTORY_FIELD_NUMBER = 2; private com.google.shopping.merchant.inventories.v1beta.RegionalInventory regionalInventory_; /** - * - * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the regionalInventory field is set. */ @java.lang.Override @@ -139,49 +109,34 @@ public boolean hasRegionalInventory() { return regionalInventory_ != null; } /** - * - * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The regionalInventory. */ @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventory() { - return regionalInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() - : regionalInventory_; + return regionalInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; } /** - * - * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder - getRegionalInventoryOrBuilder() { - return regionalInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() - : regionalInventory_; + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoryOrBuilder() { + return regionalInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (regionalInventory_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegionalInventory()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegionalInventory()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,20 +180,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.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other = - (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegionalInventory() != other.hasRegionalInventory()) return false; if (hasRegionalInventory()) { - if (!getRegionalInventory().equals(other.getRegionalInventory())) return false; + if (!getRegionalInventory() + .equals(other.getRegionalInventory())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -260,146 +216,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - 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.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest 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.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the `InsertRegionalInventory` method.
    * 
* - * Protobuf type {@code - * google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest} + * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,22 +356,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -437,28 +376,22 @@ public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = - new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest buildPartial() { + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.regionalInventory_ = - regionalInventoryBuilder_ == null - ? regionalInventory_ - : regionalInventoryBuilder_.build(); + result.regionalInventory_ = regionalInventoryBuilder_ == null + ? regionalInventory_ + : regionalInventoryBuilder_.build(); } } @@ -466,53 +399,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other) { + if (other == com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -547,26 +473,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getRegionalInventoryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRegionalInventoryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -576,26 +500,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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; @@ -604,22 +525,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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 { @@ -627,37 +547,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -667,22 +580,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -692,68 +601,47 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.shopping.merchant.inventories.v1beta.RegionalInventory regionalInventory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> - regionalInventoryBuilder_; + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> regionalInventoryBuilder_; /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the regionalInventory field is set. */ public boolean hasRegionalInventory() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The regionalInventory. */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory - getRegionalInventory() { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventory() { if (regionalInventoryBuilder_ == null) { - return regionalInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() - : regionalInventory_; + return regionalInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; } else { return regionalInventoryBuilder_.getMessage(); } } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { + public Builder setRegionalInventory(com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { if (regionalInventoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,17 +655,13 @@ public Builder setRegionalInventory( return this; } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegionalInventory( com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { @@ -791,26 +675,19 @@ public Builder setRegionalInventory( return this; } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { + public Builder mergeRegionalInventory(com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { if (regionalInventoryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && regionalInventory_ != null - && regionalInventory_ - != com.google.shopping.merchant.inventories.v1beta.RegionalInventory - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + regionalInventory_ != null && + regionalInventory_ != com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()) { getRegionalInventoryBuilder().mergeFrom(value); } else { regionalInventory_ = value; @@ -823,17 +700,13 @@ public Builder mergeRegionalInventory( return this; } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegionalInventory() { bitField0_ = (bitField0_ & ~0x00000002); @@ -846,79 +719,61 @@ public Builder clearRegionalInventory() { return this; } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder - getRegionalInventoryBuilder() { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder getRegionalInventoryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRegionalInventoryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder - getRegionalInventoryOrBuilder() { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoryOrBuilder() { if (regionalInventoryBuilder_ != null) { return regionalInventoryBuilder_.getMessageOrBuilder(); } else { - return regionalInventory_ == null - ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() - : regionalInventory_; + return regionalInventory_ == null ? + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; } } /** - * - * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> getRegionalInventoryFieldBuilder() { if (regionalInventoryBuilder_ == null) { - regionalInventoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( - getRegionalInventory(), getParentForChildren(), isClean()); + regionalInventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( + getRegionalInventory(), + getParentForChildren(), + isClean()); regionalInventory_ = null; } return regionalInventoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -928,45 +783,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta - .InsertRegionalInventoryRequest - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InsertRegionalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertRegionalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -978,8 +829,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java similarity index 60% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java index 1c219667a60e..e9c002260a8b 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java @@ -1,100 +1,64 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface InsertRegionalInventoryRequestOrBuilder - extends +public interface InsertRegionalInventoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the regionalInventory field is set. */ boolean hasRegionalInventory(); /** - * - * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The regionalInventory. */ com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventory(); /** - * - * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder - getRegionalInventoryOrBuilder(); + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoryOrBuilder(); } diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java similarity index 66% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java index c7418ceecd49..eec93597dca2 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Request message for the `ListLocalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest} */ -public final class ListLocalInventoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListLocalInventoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) ListLocalInventoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListLocalInventoriesRequest.newBuilder() to construct. private ListLocalInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListLocalInventoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,33 +26,28 @@ private ListLocalInventoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListLocalInventoriesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The `name` of the parent product to list local inventories for.
    * Format:
@@ -78,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -87,15 +63,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 `name` of the parent product to list local inventories for.
    * Format:
@@ -103,15 +78,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 { @@ -122,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of `LocalInventory` resources for the given
    * product to return. The service returns fewer than this value if the number
@@ -133,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -142,12 +115,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -159,7 +129,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -168,15 +137,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -188,15 +156,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 { @@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +185,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -240,7 +209,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -253,18 +223,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other = - (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) obj; + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other = (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,145 +258,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the `ListLocalInventories` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +395,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest build() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -460,19 +415,14 @@ public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesReque } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = - new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -489,52 +439,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other) { + if (other == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -574,31 +518,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -608,13 +548,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -622,13 +559,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; @@ -637,8 +574,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -646,14 +581,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 { @@ -661,8 +597,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -670,22 +604,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -693,7 +623,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -703,8 +632,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -712,14 +639,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -727,10 +652,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of `LocalInventory` resources for the given
      * product to return. The service returns fewer than this value if the number
@@ -740,7 +663,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -748,8 +670,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of `LocalInventory` resources for the given
      * product to return. The service returns fewer than this value if the number
@@ -759,7 +679,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -771,8 +690,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of `LocalInventory` resources for the given
      * product to return. The service returns fewer than this value if the number
@@ -782,7 +699,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -794,8 +710,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -807,13 +721,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; @@ -822,8 +736,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -835,14 +747,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -850,8 +763,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -863,22 +774,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -890,7 +797,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -900,8 +806,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -913,23 +817,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -939,44 +841,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) - private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocalInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocalInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -988,8 +887,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java similarity index 75% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java index 690647509c74..26e946b308cb 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListLocalInventoriesRequestOrBuilder - extends +public interface ListLocalInventoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The `name` of the parent product to list local inventories for.
    * Format:
@@ -33,13 +15,10 @@ public interface ListLocalInventoriesRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The `name` of the parent product to list local inventories for.
    * Format:
@@ -47,14 +26,12 @@ public interface ListLocalInventoriesRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of `LocalInventory` resources for the given
    * product to return. The service returns fewer than this value if the number
@@ -64,14 +41,11 @@ public interface ListLocalInventoriesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -83,13 +57,10 @@ public interface ListLocalInventoriesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -101,8 +72,8 @@ public interface ListLocalInventoriesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java similarity index 59% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java index f0636f836bda..60195f438003 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Response message for the `ListLocalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse} */ -public final class ListLocalInventoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListLocalInventoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) ListLocalInventoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListLocalInventoriesResponse.newBuilder() to construct. private ListLocalInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListLocalInventoriesResponse() { localInventories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,131 +26,100 @@ private ListLocalInventoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListLocalInventoriesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder.class); } public static final int LOCAL_INVENTORIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - localInventories_; + private java.util.List localInventories_; /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ @java.lang.Override - public java.util.List - getLocalInventoriesList() { + public java.util.List getLocalInventoriesList() { return localInventories_; } /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + public java.util.List getLocalInventoriesOrBuilderList() { return localInventories_; } /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ @java.lang.Override public int getLocalInventoriesCount() { return localInventories_.size(); } /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories( - int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories(int index) { return localInventories_.get(index); } /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder - getLocalInventoriesOrBuilder(int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoriesOrBuilder( + int index) { return localInventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -177,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -209,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < localInventories_.size(); i++) { output.writeMessage(1, localInventories_.get(i)); } @@ -238,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < localInventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, localInventories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, localInventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -251,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.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other = - (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) obj; + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other = (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) obj; - if (!getLocalInventoriesList().equals(other.getLocalInventoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocalInventoriesList() + .equals(other.getLocalInventoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,145 +236,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 the `ListLocalInventories` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,22 +378,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse build() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -462,20 +398,15 @@ public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRespo } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = - new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(this); + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { + private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { if (localInventoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { localInventories_ = java.util.Collections.unmodifiableList(localInventories_); @@ -487,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -499,52 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other) { + if (other == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.getDefaultInstance()) return this; if (localInventoriesBuilder_ == null) { if (!other.localInventories_.isEmpty()) { if (localInventories_.isEmpty()) { @@ -563,10 +487,9 @@ public Builder mergeFrom( localInventoriesBuilder_ = null; localInventories_ = other.localInventories_; bitField0_ = (bitField0_ & ~0x00000001); - localInventoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocalInventoriesFieldBuilder() - : null; + localInventoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocalInventoriesFieldBuilder() : null; } else { localInventoriesBuilder_.addAllMessages(other.localInventories_); } @@ -603,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.shopping.merchant.inventories.v1beta.LocalInventory m = - input.readMessage( - com.google.shopping.merchant.inventories.v1beta.LocalInventory.parser(), - extensionRegistry); - if (localInventoriesBuilder_ == null) { - ensureLocalInventoriesIsMutable(); - localInventories_.add(m); - } else { - localInventoriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.shopping.merchant.inventories.v1beta.LocalInventory m = + input.readMessage( + com.google.shopping.merchant.inventories.v1beta.LocalInventory.parser(), + extensionRegistry); + if (localInventoriesBuilder_ == null) { + ensureLocalInventoriesIsMutable(); + localInventories_.add(m); + } else { + localInventoriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -639,41 +559,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - localInventories_ = java.util.Collections.emptyList(); - + private java.util.List localInventories_ = + java.util.Collections.emptyList(); private void ensureLocalInventoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - localInventories_ = - new java.util.ArrayList( - localInventories_); + localInventories_ = new java.util.ArrayList(localInventories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> - localInventoriesBuilder_; + com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> localInventoriesBuilder_; /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public java.util.List - getLocalInventoriesList() { + public java.util.List getLocalInventoriesList() { if (localInventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(localInventories_); } else { @@ -681,16 +589,12 @@ private void ensureLocalInventoriesIsMutable() { } } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public int getLocalInventoriesCount() { if (localInventoriesBuilder_ == null) { @@ -700,19 +604,14 @@ public int getLocalInventoriesCount() { } } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories( - int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories(int index) { if (localInventoriesBuilder_ == null) { return localInventories_.get(index); } else { @@ -720,16 +619,12 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalIn } } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder setLocalInventories( int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { @@ -746,20 +641,15 @@ public Builder setLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder setLocalInventories( - int index, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { + int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { if (localInventoriesBuilder_ == null) { ensureLocalInventoriesIsMutable(); localInventories_.set(index, builderForValue.build()); @@ -770,19 +660,14 @@ public Builder setLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public Builder addLocalInventories( - com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { + public Builder addLocalInventories(com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { if (localInventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -796,16 +681,12 @@ public Builder addLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder addLocalInventories( int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { @@ -822,16 +703,12 @@ public Builder addLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder addLocalInventories( com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { @@ -845,20 +722,15 @@ public Builder addLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder addLocalInventories( - int index, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { + int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { if (localInventoriesBuilder_ == null) { ensureLocalInventoriesIsMutable(); localInventories_.add(index, builderForValue.build()); @@ -869,23 +741,19 @@ public Builder addLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder addAllLocalInventories( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (localInventoriesBuilder_ == null) { ensureLocalInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, localInventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, localInventories_); onChanged(); } else { localInventoriesBuilder_.addAllMessages(values); @@ -893,16 +761,12 @@ public Builder addAllLocalInventories( return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder clearLocalInventories() { if (localInventoriesBuilder_ == null) { @@ -915,16 +779,12 @@ public Builder clearLocalInventories() { return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ public Builder removeLocalInventories(int index) { if (localInventoriesBuilder_ == null) { @@ -937,56 +797,42 @@ public Builder removeLocalInventories(int index) { return this; } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder - getLocalInventoriesBuilder(int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder getLocalInventoriesBuilder( + int index) { return getLocalInventoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder - getLocalInventoriesOrBuilder(int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoriesOrBuilder( + int index) { if (localInventoriesBuilder_ == null) { - return localInventories_.get(index); - } else { + return localInventories_.get(index); } else { return localInventoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public java.util.List< - ? extends com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> - getLocalInventoriesOrBuilderList() { + public java.util.List + getLocalInventoriesOrBuilderList() { if (localInventoriesBuilder_ != null) { return localInventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -994,70 +840,48 @@ public Builder removeLocalInventories(int index) { } } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder - addLocalInventoriesBuilder() { - return getLocalInventoriesFieldBuilder() - .addBuilder( - com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder addLocalInventoriesBuilder() { + return getLocalInventoriesFieldBuilder().addBuilder( + com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder - addLocalInventoriesBuilder(int index) { - return getLocalInventoriesFieldBuilder() - .addBuilder( - index, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder addLocalInventoriesBuilder( + int index) { + return getLocalInventoriesFieldBuilder().addBuilder( + index, com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); } /** - * - * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - public java.util.List - getLocalInventoriesBuilderList() { + public java.util.List + getLocalInventoriesBuilderList() { return getLocalInventoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> getLocalInventoriesFieldBuilder() { if (localInventoriesBuilder_ == null) { - localInventoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, - com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( + localInventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( localInventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1069,21 +893,19 @@ public Builder removeLocalInventories(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1092,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1115,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1155,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,44 +999,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) - private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocalInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocalInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,8 +1045,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java similarity index 56% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java index 7a087bc55d59..47f04ecc5681 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java @@ -1,121 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListLocalInventoriesResponseOrBuilder - extends +public interface ListLocalInventoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - java.util.List + java.util.List getLocalInventoriesList(); /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories(int index); /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ int getLocalInventoriesCount(); /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - java.util.List + java.util.List getLocalInventoriesOrBuilderList(); /** - * - * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; */ - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder - getLocalInventoriesOrBuilder(int index); + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoriesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java similarity index 65% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java index 5e7b15efe468..8aa45c06ced1 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Request message for the `ListRegionalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest} */ -public final class ListRegionalInventoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegionalInventoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) ListRegionalInventoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegionalInventoriesRequest.newBuilder() to construct. - private ListRegionalInventoriesRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListRegionalInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegionalInventoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,40 +26,34 @@ private ListRegionalInventoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegionalInventoriesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -87,30 +62,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 `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,8 +96,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of `RegionalInventory` resources for the given product
    * to return. The service returns fewer than this value if the number of
@@ -132,7 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -141,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -158,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +135,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -187,15 +154,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,7 +172,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +207,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -252,19 +221,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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other = - (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) obj; + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other = (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,146 +256,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the `ListRegionalInventories` method.
    * 
* - * Protobuf type {@code - * google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest} + * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,22 +393,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest build() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,19 +413,14 @@ public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = - new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -490,53 +437,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other) { + if (other == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -576,31 +516,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,26 +546,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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,22 +571,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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,37 +593,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -701,22 +626,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -724,10 +645,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of `RegionalInventory` resources for the given product
      * to return. The service returns fewer than this value if the number of
@@ -737,7 +656,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -745,8 +663,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of `RegionalInventory` resources for the given product
      * to return. The service returns fewer than this value if the number of
@@ -756,7 +672,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -768,8 +683,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of `RegionalInventory` resources for the given product
      * to return. The service returns fewer than this value if the number of
@@ -779,7 +692,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -791,8 +703,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -804,13 +714,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -819,8 +729,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -832,14 +740,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -847,8 +756,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -860,22 +767,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -887,7 +790,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -897,8 +799,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -910,23 +810,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -936,45 +834,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) - private static final com.google.shopping.merchant.inventories.v1beta - .ListRegionalInventoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegionalInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegionalInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -986,8 +880,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java similarity index 76% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java index 39af77f9bac6..e94d8af6b8ad 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListRegionalInventoriesRequestOrBuilder - extends +public interface ListRegionalInventoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of `RegionalInventory` resources for the given product
    * to return. The service returns fewer than this value if the number of
@@ -62,14 +39,11 @@ public interface ListRegionalInventoriesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -81,13 +55,10 @@ public interface ListRegionalInventoriesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -99,8 +70,8 @@ public interface ListRegionalInventoriesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java similarity index 58% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java index ac99fea8ba28..a698a4eead9c 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Response message for the `ListRegionalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse} */ -public final class ListRegionalInventoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegionalInventoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) ListRegionalInventoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegionalInventoriesResponse.newBuilder() to construct. - private ListRegionalInventoriesResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListRegionalInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegionalInventoriesResponse() { regionalInventories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,131 +26,100 @@ private ListRegionalInventoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegionalInventoriesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.Builder - .class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.Builder.class); } public static final int REGIONAL_INVENTORIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - regionalInventories_; + private java.util.List regionalInventories_; /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ @java.lang.Override - public java.util.List - getRegionalInventoriesList() { + public java.util.List getRegionalInventoriesList() { return regionalInventories_; } /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + public java.util.List getRegionalInventoriesOrBuilderList() { return regionalInventories_; } /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ @java.lang.Override public int getRegionalInventoriesCount() { return regionalInventories_.size(); } /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories( - int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories(int index) { return regionalInventories_.get(index); } /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder - getRegionalInventoriesOrBuilder(int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder( + int index) { return regionalInventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -178,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -210,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < regionalInventories_.size(); i++) { output.writeMessage(1, regionalInventories_.get(i)); } @@ -239,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < regionalInventories_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, regionalInventories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, regionalInventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -253,18 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse)) { + if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other = - (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) obj; + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other = (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) obj; - if (!getRegionalInventoriesList().equals(other.getRegionalInventoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRegionalInventoriesList() + .equals(other.getRegionalInventoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,146 +236,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse prototype) { + public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 the `ListRegionalInventories` method.
    * 
* - * Protobuf type {@code - * google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse} + * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - .Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.Builder.class); } - // Construct using - // com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.newBuilder() - private Builder() {} + // Construct using com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -443,22 +378,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto - .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - .getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse build() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = - buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -466,20 +398,15 @@ public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = - new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(this); + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { + private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { if (regionalInventoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { regionalInventories_ = java.util.Collections.unmodifiableList(regionalInventories_); @@ -491,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { + private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -503,54 +429,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) { - return mergeFrom( - (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) - other); + if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) { + return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other) { - if (other - == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other) { + if (other == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.getDefaultInstance()) return this; if (regionalInventoriesBuilder_ == null) { if (!other.regionalInventories_.isEmpty()) { if (regionalInventories_.isEmpty()) { @@ -569,10 +487,9 @@ public Builder mergeFrom( regionalInventoriesBuilder_ = null; regionalInventories_ = other.regionalInventories_; bitField0_ = (bitField0_ & ~0x00000001); - regionalInventoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegionalInventoriesFieldBuilder() - : null; + regionalInventoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegionalInventoriesFieldBuilder() : null; } else { regionalInventoriesBuilder_.addAllMessages(other.regionalInventories_); } @@ -609,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.shopping.merchant.inventories.v1beta.RegionalInventory m = - input.readMessage( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.parser(), - extensionRegistry); - if (regionalInventoriesBuilder_ == null) { - ensureRegionalInventoriesIsMutable(); - regionalInventories_.add(m); - } else { - regionalInventoriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.shopping.merchant.inventories.v1beta.RegionalInventory m = + input.readMessage( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.parser(), + extensionRegistry); + if (regionalInventoriesBuilder_ == null) { + ensureRegionalInventoriesIsMutable(); + regionalInventories_.add(m); + } else { + regionalInventoriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,42 +559,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - regionalInventories_ = java.util.Collections.emptyList(); - + private java.util.List regionalInventories_ = + java.util.Collections.emptyList(); private void ensureRegionalInventoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - regionalInventories_ = - new java.util.ArrayList< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory>( - regionalInventories_); + regionalInventories_ = new java.util.ArrayList(regionalInventories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> - regionalInventoriesBuilder_; + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> regionalInventoriesBuilder_; /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public java.util.List - getRegionalInventoriesList() { + public java.util.List getRegionalInventoriesList() { if (regionalInventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(regionalInventories_); } else { @@ -688,16 +589,12 @@ private void ensureRegionalInventoriesIsMutable() { } } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public int getRegionalInventoriesCount() { if (regionalInventoriesBuilder_ == null) { @@ -707,19 +604,14 @@ public int getRegionalInventoriesCount() { } } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories( - int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories(int index) { if (regionalInventoriesBuilder_ == null) { return regionalInventories_.get(index); } else { @@ -727,16 +619,12 @@ public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegi } } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder setRegionalInventories( int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { @@ -753,20 +641,15 @@ public Builder setRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder setRegionalInventories( - int index, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { + int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { if (regionalInventoriesBuilder_ == null) { ensureRegionalInventoriesIsMutable(); regionalInventories_.set(index, builderForValue.build()); @@ -777,19 +660,14 @@ public Builder setRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public Builder addRegionalInventories( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { + public Builder addRegionalInventories(com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { if (regionalInventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -803,16 +681,12 @@ public Builder addRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder addRegionalInventories( int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { @@ -829,16 +703,12 @@ public Builder addRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder addRegionalInventories( com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { @@ -852,20 +722,15 @@ public Builder addRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder addRegionalInventories( - int index, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { + int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { if (regionalInventoriesBuilder_ == null) { ensureRegionalInventoriesIsMutable(); regionalInventories_.add(index, builderForValue.build()); @@ -876,24 +741,19 @@ public Builder addRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder addAllRegionalInventories( - java.lang.Iterable< - ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventory> - values) { + java.lang.Iterable values) { if (regionalInventoriesBuilder_ == null) { ensureRegionalInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, regionalInventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionalInventories_); onChanged(); } else { regionalInventoriesBuilder_.addAllMessages(values); @@ -901,16 +761,12 @@ public Builder addAllRegionalInventories( return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder clearRegionalInventories() { if (regionalInventoriesBuilder_ == null) { @@ -923,16 +779,12 @@ public Builder clearRegionalInventories() { return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ public Builder removeRegionalInventories(int index) { if (regionalInventoriesBuilder_ == null) { @@ -945,56 +797,42 @@ public Builder removeRegionalInventories(int index) { return this; } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder - getRegionalInventoriesBuilder(int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder getRegionalInventoriesBuilder( + int index) { return getRegionalInventoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder - getRegionalInventoriesOrBuilder(int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder( + int index) { if (regionalInventoriesBuilder_ == null) { - return regionalInventories_.get(index); - } else { + return regionalInventories_.get(index); } else { return regionalInventoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public java.util.List< - ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> - getRegionalInventoriesOrBuilderList() { + public java.util.List + getRegionalInventoriesOrBuilderList() { if (regionalInventoriesBuilder_ != null) { return regionalInventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -1002,72 +840,48 @@ public Builder removeRegionalInventories(int index) { } } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder - addRegionalInventoriesBuilder() { - return getRegionalInventoriesFieldBuilder() - .addBuilder( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory - .getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder addRegionalInventoriesBuilder() { + return getRegionalInventoriesFieldBuilder().addBuilder( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()); } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder - addRegionalInventoriesBuilder(int index) { - return getRegionalInventoriesFieldBuilder() - .addBuilder( - index, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory - .getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder addRegionalInventoriesBuilder( + int index) { + return getRegionalInventoriesFieldBuilder().addBuilder( + index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()); } /** - * - * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - public java.util.List - getRegionalInventoriesBuilderList() { + public java.util.List + getRegionalInventoriesBuilderList() { return getRegionalInventoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> getRegionalInventoriesFieldBuilder() { if (regionalInventoriesBuilder_ == null) { - regionalInventoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( + regionalInventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( regionalInventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1079,21 +893,19 @@ public Builder removeRegionalInventories(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1102,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1125,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1165,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1199,45 +999,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) - private static final com.google.shopping.merchant.inventories.v1beta - .ListRegionalInventoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(); + DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegionalInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegionalInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,8 +1045,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse - getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java similarity index 53% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java index d8e11bf1617c..36765216e324 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListRegionalInventoriesResponseOrBuilder - extends +public interface ListRegionalInventoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - java.util.List + java.util.List getRegionalInventoriesList(); /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories( - int index); + com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories(int index); /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ int getRegionalInventoriesCount(); /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - java.util.List< - ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + java.util.List getRegionalInventoriesOrBuilderList(); /** - * - * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; - * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; */ - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder - getRegionalInventoriesOrBuilder(int index); + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java similarity index 78% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java index d9e58b84d1e5..03c7a982e4f6 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** - * - * *
  * Local inventory information for the product. Represents in-store information
  * for a specific product at the store specified by
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.shopping.merchant.inventories.v1beta.LocalInventory}
  */
-public final class LocalInventory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LocalInventory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.LocalInventory)
     LocalInventoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LocalInventory.newBuilder() to construct.
   private LocalInventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private LocalInventory() {
     name_ = "";
     storeCode_ = "";
@@ -53,33 +35,29 @@ private LocalInventory() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LocalInventory();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
-        .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
-        .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
+    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.merchant.inventories.v1beta.LocalInventory.class,
-            com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
+            com.google.shopping.merchant.inventories.v1beta.LocalInventory.class, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -87,7 +65,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 @@ -96,15 +73,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -112,15 +88,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 { @@ -131,15 +108,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ACCOUNT_FIELD_NUMBER = 2; private long account_ = 0L; /** - * - * *
    * Output only. The account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The account. */ @java.lang.Override @@ -148,12 +122,9 @@ public long getAccount() { } public static final int STORE_CODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object storeCode_ = ""; /** - * - * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -162,7 +133,6 @@ public long getAccount() {
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storeCode. */ @java.lang.Override @@ -171,15 +141,14 @@ public java.lang.String getStoreCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeCode_ = s; return s; } } /** - * - * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -188,15 +157,16 @@ public java.lang.String getStoreCode() {
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for storeCode. */ @java.lang.Override - public com.google.protobuf.ByteString getStoreCodeBytes() { + public com.google.protobuf.ByteString + getStoreCodeBytes() { java.lang.Object ref = storeCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); storeCode_ = b; return b; } else { @@ -207,14 +177,11 @@ public com.google.protobuf.ByteString getStoreCodeBytes() { public static final int PRICE_FIELD_NUMBER = 4; private com.google.shopping.type.Price price_; /** - * - * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; - * * @return Whether the price field is set. */ @java.lang.Override @@ -222,14 +189,11 @@ public boolean hasPrice() { return price_ != null; } /** - * - * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; - * * @return The price. */ @java.lang.Override @@ -237,8 +201,6 @@ public com.google.shopping.type.Price getPrice() { return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } /** - * - * *
    * Price of the product at this store.
    * 
@@ -253,8 +215,6 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { public static final int SALE_PRICE_FIELD_NUMBER = 5; private com.google.shopping.type.Price salePrice_; /** - * - * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -262,7 +222,6 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return Whether the salePrice field is set. */ @java.lang.Override @@ -270,8 +229,6 @@ public boolean hasSalePrice() { return salePrice_ != null; } /** - * - * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -279,7 +236,6 @@ public boolean hasSalePrice() {
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return The salePrice. */ @java.lang.Override @@ -287,8 +243,6 @@ public com.google.shopping.type.Price getSalePrice() { return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; } /** - * - * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -305,15 +259,12 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
   public static final int SALE_PRICE_EFFECTIVE_DATE_FIELD_NUMBER = 6;
   private com.google.type.Interval salePriceEffectiveDate_;
   /**
-   *
-   *
    * 
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return Whether the salePriceEffectiveDate field is set. */ @java.lang.Override @@ -321,26 +272,19 @@ public boolean hasSalePriceEffectiveDate() { return salePriceEffectiveDate_ != null; } /** - * - * *
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return The salePriceEffectiveDate. */ @java.lang.Override public com.google.type.Interval getSalePriceEffectiveDate() { - return salePriceEffectiveDate_ == null - ? com.google.type.Interval.getDefaultInstance() - : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; } /** - * - * *
    * The `TimePeriod` of the
    * sale at this store.
@@ -350,18 +294,13 @@ public com.google.type.Interval getSalePriceEffectiveDate() {
    */
   @java.lang.Override
   public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
-    return salePriceEffectiveDate_ == null
-        ? com.google.type.Interval.getDefaultInstance()
-        : salePriceEffectiveDate_;
+    return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
   }
 
   public static final int AVAILABILITY_FIELD_NUMBER = 7;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object availability_ = "";
   /**
-   *
-   *
    * 
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -369,7 +308,6 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
    * 
* * optional string availability = 7; - * * @return Whether the availability field is set. */ @java.lang.Override @@ -377,8 +315,6 @@ public boolean hasAvailability() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -386,7 +322,6 @@ public boolean hasAvailability() {
    * 
* * optional string availability = 7; - * * @return The availability. */ @java.lang.Override @@ -395,15 +330,14 @@ public java.lang.String getAvailability() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; } } /** - * - * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -411,15 +345,16 @@ public java.lang.String getAvailability() {
    * 
* * optional string availability = 7; - * * @return The bytes for availability. */ @java.lang.Override - public com.google.protobuf.ByteString getAvailabilityBytes() { + public com.google.protobuf.ByteString + getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availability_ = b; return b; } else { @@ -430,15 +365,12 @@ public com.google.protobuf.ByteString getAvailabilityBytes() { public static final int QUANTITY_FIELD_NUMBER = 8; private long quantity_ = 0L; /** - * - * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; - * * @return Whether the quantity field is set. */ @java.lang.Override @@ -446,15 +378,12 @@ public boolean hasQuantity() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; - * * @return The quantity. */ @java.lang.Override @@ -463,12 +392,9 @@ public long getQuantity() { } public static final int PICKUP_METHOD_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object pickupMethod_ = ""; /** - * - * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -478,7 +404,6 @@ public long getQuantity() {
    * 
* * optional string pickup_method = 9; - * * @return Whether the pickupMethod field is set. */ @java.lang.Override @@ -486,8 +411,6 @@ public boolean hasPickupMethod() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -497,7 +420,6 @@ public boolean hasPickupMethod() {
    * 
* * optional string pickup_method = 9; - * * @return The pickupMethod. */ @java.lang.Override @@ -506,15 +428,14 @@ public java.lang.String getPickupMethod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupMethod_ = s; return s; } } /** - * - * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -524,15 +445,16 @@ public java.lang.String getPickupMethod() {
    * 
* * optional string pickup_method = 9; - * * @return The bytes for pickupMethod. */ @java.lang.Override - public com.google.protobuf.ByteString getPickupMethodBytes() { + public com.google.protobuf.ByteString + getPickupMethodBytes() { java.lang.Object ref = pickupMethod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pickupMethod_ = b; return b; } else { @@ -541,12 +463,9 @@ public com.google.protobuf.ByteString getPickupMethodBytes() { } public static final int PICKUP_SLA_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object pickupSla_ = ""; /** - * - * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -556,7 +475,6 @@ public com.google.protobuf.ByteString getPickupMethodBytes() {
    * 
* * optional string pickup_sla = 10; - * * @return Whether the pickupSla field is set. */ @java.lang.Override @@ -564,8 +482,6 @@ public boolean hasPickupSla() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -575,7 +491,6 @@ public boolean hasPickupSla() {
    * 
* * optional string pickup_sla = 10; - * * @return The pickupSla. */ @java.lang.Override @@ -584,15 +499,14 @@ public java.lang.String getPickupSla() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupSla_ = s; return s; } } /** - * - * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -602,15 +516,16 @@ public java.lang.String getPickupSla() {
    * 
* * optional string pickup_sla = 10; - * * @return The bytes for pickupSla. */ @java.lang.Override - public com.google.protobuf.ByteString getPickupSlaBytes() { + public com.google.protobuf.ByteString + getPickupSlaBytes() { java.lang.Object ref = pickupSla_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pickupSla_ = b; return b; } else { @@ -619,18 +534,14 @@ public com.google.protobuf.ByteString getPickupSlaBytes() { } public static final int INSTORE_PRODUCT_LOCATION_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object instoreProductLocation_ = ""; /** - * - * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; - * * @return Whether the instoreProductLocation field is set. */ @java.lang.Override @@ -638,14 +549,11 @@ public boolean hasInstoreProductLocation() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; - * * @return The instoreProductLocation. */ @java.lang.Override @@ -654,29 +562,29 @@ public java.lang.String getInstoreProductLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instoreProductLocation_ = s; return s; } } /** - * - * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; - * * @return The bytes for instoreProductLocation. */ @java.lang.Override - public com.google.protobuf.ByteString getInstoreProductLocationBytes() { + public com.google.protobuf.ByteString + getInstoreProductLocationBytes() { java.lang.Object ref = instoreProductLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instoreProductLocation_ = b; return b; } else { @@ -685,12 +593,9 @@ public com.google.protobuf.ByteString getInstoreProductLocationBytes() { } public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private java.util.List customAttributes_; /** - * - * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -704,8 +609,6 @@ public java.util.List getCustomAttribu
     return customAttributes_;
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -715,13 +618,11 @@ public java.util.List getCustomAttribu
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCustomAttributesOrBuilderList() {
     return customAttributes_;
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -735,8 +636,6 @@ public int getCustomAttributesCount() {
     return customAttributes_.size();
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -750,8 +649,6 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
     return customAttributes_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -761,12 +658,12 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
   @java.lang.Override
-  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index) {
+  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
+      int index) {
     return customAttributes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -778,7 +675,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -828,26 +726,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (account_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, account_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(2, account_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeCode_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storeCode_);
     }
     if (price_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrice());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getPrice());
     }
     if (salePrice_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSalePrice());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getSalePrice());
     }
     if (salePriceEffectiveDate_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSalePriceEffectiveDate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getSalePriceEffectiveDate());
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, availability_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, quantity_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(8, quantity_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pickupMethod_);
@@ -859,8 +761,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, instoreProductLocation_);
     }
     for (int i = 0; i < customAttributes_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(12, customAttributes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, customAttributes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -870,50 +772,61 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.LocalInventory)) {
       return super.equals(obj);
     }
-    com.google.shopping.merchant.inventories.v1beta.LocalInventory other =
-        (com.google.shopping.merchant.inventories.v1beta.LocalInventory) obj;
+    com.google.shopping.merchant.inventories.v1beta.LocalInventory other = (com.google.shopping.merchant.inventories.v1beta.LocalInventory) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (getAccount() != other.getAccount()) return false;
-    if (!getStoreCode().equals(other.getStoreCode())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (getAccount()
+        != other.getAccount()) return false;
+    if (!getStoreCode()
+        .equals(other.getStoreCode())) 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 (hasSalePrice() != other.hasSalePrice()) return false;
     if (hasSalePrice()) {
-      if (!getSalePrice().equals(other.getSalePrice())) return false;
+      if (!getSalePrice()
+          .equals(other.getSalePrice())) return false;
     }
     if (hasSalePriceEffectiveDate() != other.hasSalePriceEffectiveDate()) return false;
     if (hasSalePriceEffectiveDate()) {
-      if (!getSalePriceEffectiveDate().equals(other.getSalePriceEffectiveDate())) return false;
+      if (!getSalePriceEffectiveDate()
+          .equals(other.getSalePriceEffectiveDate())) return false;
     }
     if (hasAvailability() != other.hasAvailability()) return false;
     if (hasAvailability()) {
-      if (!getAvailability().equals(other.getAvailability())) return false;
+      if (!getAvailability()
+          .equals(other.getAvailability())) return false;
     }
     if (hasQuantity() != other.hasQuantity()) return false;
     if (hasQuantity()) {
-      if (getQuantity() != other.getQuantity()) return false;
+      if (getQuantity()
+          != other.getQuantity()) return false;
     }
     if (hasPickupMethod() != other.hasPickupMethod()) return false;
     if (hasPickupMethod()) {
-      if (!getPickupMethod().equals(other.getPickupMethod())) return false;
+      if (!getPickupMethod()
+          .equals(other.getPickupMethod())) return false;
     }
     if (hasPickupSla() != other.hasPickupSla()) return false;
     if (hasPickupSla()) {
-      if (!getPickupSla().equals(other.getPickupSla())) return false;
+      if (!getPickupSla()
+          .equals(other.getPickupSla())) return false;
     }
     if (hasInstoreProductLocation() != other.hasInstoreProductLocation()) return false;
     if (hasInstoreProductLocation()) {
-      if (!getInstoreProductLocation().equals(other.getInstoreProductLocation())) return false;
+      if (!getInstoreProductLocation()
+          .equals(other.getInstoreProductLocation())) return false;
     }
-    if (!getCustomAttributesList().equals(other.getCustomAttributesList())) return false;
+    if (!getCustomAttributesList()
+        .equals(other.getCustomAttributesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -928,7 +841,8 @@ public int hashCode() {
     hash = (37 * hash) + NAME_FIELD_NUMBER;
     hash = (53 * hash) + getName().hashCode();
     hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAccount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getAccount());
     hash = (37 * hash) + STORE_CODE_FIELD_NUMBER;
     hash = (53 * hash) + getStoreCode().hashCode();
     if (hasPrice()) {
@@ -949,7 +863,8 @@ public int hashCode() {
     }
     if (hasQuantity()) {
       hash = (37 * hash) + QUANTITY_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getQuantity());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+          getQuantity());
     }
     if (hasPickupMethod()) {
       hash = (37 * hash) + PICKUP_METHOD_FIELD_NUMBER;
@@ -973,104 +888,98 @@ public int hashCode() {
   }
 
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.shopping.merchant.inventories.v1beta.LocalInventory prototype) {
+  public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.LocalInventory prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Local inventory information for the product. Represents in-store information
    * for a specific product at the store specified by
@@ -1081,32 +990,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.shopping.merchant.inventories.v1beta.LocalInventory}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.LocalInventory)
       com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
-          .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
-          .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
+      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.merchant.inventories.v1beta.LocalInventory.class,
-              com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
+              com.google.shopping.merchant.inventories.v1beta.LocalInventory.class, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
     }
 
     // Construct using com.google.shopping.merchant.inventories.v1beta.LocalInventory.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1145,14 +1055,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
-          .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
     }
 
     @java.lang.Override
-    public com.google.shopping.merchant.inventories.v1beta.LocalInventory
-        getDefaultInstanceForType() {
+    public com.google.shopping.merchant.inventories.v1beta.LocalInventory getDefaultInstanceForType() {
       return com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance();
     }
 
@@ -1167,18 +1076,14 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory build() {
 
     @java.lang.Override
     public com.google.shopping.merchant.inventories.v1beta.LocalInventory buildPartial() {
-      com.google.shopping.merchant.inventories.v1beta.LocalInventory result =
-          new com.google.shopping.merchant.inventories.v1beta.LocalInventory(this);
+      com.google.shopping.merchant.inventories.v1beta.LocalInventory result = new com.google.shopping.merchant.inventories.v1beta.LocalInventory(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
+    private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
       if (customAttributesBuilder_ == null) {
         if (((bitField0_ & 0x00000800) != 0)) {
           customAttributes_ = java.util.Collections.unmodifiableList(customAttributes_);
@@ -1190,8 +1095,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
+    private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -1203,16 +1107,19 @@ private void buildPartial0(
         result.storeCode_ = storeCode_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build();
+        result.price_ = priceBuilder_ == null
+            ? price_
+            : priceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.salePrice_ = salePriceBuilder_ == null ? salePrice_ : salePriceBuilder_.build();
+        result.salePrice_ = salePriceBuilder_ == null
+            ? salePrice_
+            : salePriceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.salePriceEffectiveDate_ =
-            salePriceEffectiveDateBuilder_ == null
-                ? salePriceEffectiveDate_
-                : salePriceEffectiveDateBuilder_.build();
+        result.salePriceEffectiveDate_ = salePriceEffectiveDateBuilder_ == null
+            ? salePriceEffectiveDate_
+            : salePriceEffectiveDateBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1242,39 +1149,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.merchant.inventories.v1beta.LocalInventory) {
-        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.LocalInventory) other);
+        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.LocalInventory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1282,9 +1188,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.LocalInventory other) {
-      if (other
-          == com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance())
-        return this;
+      if (other == com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1348,10 +1252,9 @@ public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.LocalIn
             customAttributesBuilder_ = null;
             customAttributes_ = other.customAttributes_;
             bitField0_ = (bitField0_ & ~0x00000800);
-            customAttributesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCustomAttributesFieldBuilder()
-                    : null;
+            customAttributesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCustomAttributesFieldBuilder() : null;
           } else {
             customAttributesBuilder_.addAllMessages(other.customAttributes_);
           }
@@ -1383,93 +1286,86 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                account_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                storeCode_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getSalePriceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getSalePriceEffectiveDateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                availability_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                quantity_ = input.readInt64();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 74:
-              {
-                pickupMethod_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 74
-            case 82:
-              {
-                pickupSla_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 90:
-              {
-                instoreProductLocation_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 90
-            case 98:
-              {
-                com.google.shopping.type.CustomAttribute m =
-                    input.readMessage(
-                        com.google.shopping.type.CustomAttribute.parser(), extensionRegistry);
-                if (customAttributesBuilder_ == null) {
-                  ensureCustomAttributesIsMutable();
-                  customAttributes_.add(m);
-                } else {
-                  customAttributesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 98
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              account_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              storeCode_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getPriceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getSalePriceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getSalePriceEffectiveDateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              availability_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              quantity_ = input.readInt64();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 74: {
+              pickupMethod_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 74
+            case 82: {
+              pickupSla_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 90: {
+              instoreProductLocation_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 90
+            case 98: {
+              com.google.shopping.type.CustomAttribute m =
+                  input.readMessage(
+                      com.google.shopping.type.CustomAttribute.parser(),
+                      extensionRegistry);
+              if (customAttributesBuilder_ == null) {
+                ensureCustomAttributesIsMutable();
+                customAttributes_.add(m);
+              } else {
+                customAttributesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 98
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1479,13 +1375,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1493,13 +1386,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; @@ -1508,8 +1401,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1517,14 +1408,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 { @@ -1532,8 +1424,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1541,22 +1431,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1564,7 +1450,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1574,8 +1459,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1583,14 +1466,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1598,17 +1479,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private long account_; + private long account_ ; /** - * - * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The account. */ @java.lang.Override @@ -1616,15 +1494,12 @@ public long getAccount() { return account_; } /** - * - * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The account to set. * @return This builder for chaining. */ @@ -1636,15 +1511,12 @@ public Builder setAccount(long value) { return this; } /** - * - * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAccount() { @@ -1656,8 +1528,6 @@ public Builder clearAccount() { private java.lang.Object storeCode_ = ""; /** - * - * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1666,13 +1536,13 @@ public Builder clearAccount() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storeCode. */ public java.lang.String getStoreCode() { java.lang.Object ref = storeCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeCode_ = s; return s; @@ -1681,8 +1551,6 @@ public java.lang.String getStoreCode() { } } /** - * - * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1691,14 +1559,15 @@ public java.lang.String getStoreCode() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for storeCode. */ - public com.google.protobuf.ByteString getStoreCodeBytes() { + public com.google.protobuf.ByteString + getStoreCodeBytes() { java.lang.Object ref = storeCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); storeCode_ = b; return b; } else { @@ -1706,8 +1575,6 @@ public com.google.protobuf.ByteString getStoreCodeBytes() { } } /** - * - * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1716,22 +1583,18 @@ public com.google.protobuf.ByteString getStoreCodeBytes() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The storeCode to set. * @return This builder for chaining. */ - public Builder setStoreCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStoreCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } storeCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1740,7 +1603,6 @@ public Builder setStoreCode(java.lang.String value) {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearStoreCode() { @@ -1750,8 +1612,6 @@ public Builder clearStoreCode() { return this; } /** - * - * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1760,14 +1620,12 @@ public Builder clearStoreCode() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for storeCode to set. * @return This builder for chaining. */ - public Builder setStoreCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStoreCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); storeCode_ = value; bitField0_ |= 0x00000004; @@ -1777,33 +1635,24 @@ public Builder setStoreCodeBytes(com.google.protobuf.ByteString value) { private com.google.shopping.type.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - priceBuilder_; + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> priceBuilder_; /** - * - * *
      * Price of the product at this store.
      * 
* * .google.shopping.type.Price price = 4; - * * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Price of the product at this store.
      * 
* * .google.shopping.type.Price price = 4; - * * @return The price. */ public com.google.shopping.type.Price getPrice() { @@ -1814,8 +1663,6 @@ public com.google.shopping.type.Price getPrice() { } } /** - * - * *
      * Price of the product at this store.
      * 
@@ -1836,15 +1683,14 @@ public Builder setPrice(com.google.shopping.type.Price value) { return this; } /** - * - * *
      * Price of the product at this store.
      * 
* * .google.shopping.type.Price price = 4; */ - public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { + public Builder setPrice( + com.google.shopping.type.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { @@ -1855,8 +1701,6 @@ public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) return this; } /** - * - * *
      * Price of the product at this store.
      * 
@@ -1865,9 +1709,9 @@ public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) */ public Builder mergePrice(com.google.shopping.type.Price value) { if (priceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && price_ != null - && price_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + price_ != null && + price_ != com.google.shopping.type.Price.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; @@ -1880,8 +1724,6 @@ public Builder mergePrice(com.google.shopping.type.Price value) { return this; } /** - * - * *
      * Price of the product at this store.
      * 
@@ -1899,8 +1741,6 @@ public Builder clearPrice() { return this; } /** - * - * *
      * Price of the product at this store.
      * 
@@ -1913,8 +1753,6 @@ public com.google.shopping.type.Price.Builder getPriceBuilder() { return getPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price of the product at this store.
      * 
@@ -1925,12 +1763,11 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; + return price_ == null ? + com.google.shopping.type.Price.getDefaultInstance() : price_; } } /** - * - * *
      * Price of the product at this store.
      * 
@@ -1938,17 +1775,14 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { * .google.shopping.type.Price price = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder>( - getPrice(), getParentForChildren(), isClean()); + priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( + getPrice(), + getParentForChildren(), + isClean()); price_ = null; } return priceBuilder_; @@ -1956,13 +1790,8 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { private com.google.shopping.type.Price salePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - salePriceBuilder_; + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> salePriceBuilder_; /** - * - * *
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1970,15 +1799,12 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
      * 
* * .google.shopping.type.Price sale_price = 5; - * * @return Whether the salePrice field is set. */ public boolean hasSalePrice() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1986,21 +1812,16 @@ public boolean hasSalePrice() {
      * 
* * .google.shopping.type.Price sale_price = 5; - * * @return The salePrice. */ public com.google.shopping.type.Price getSalePrice() { if (salePriceBuilder_ == null) { - return salePrice_ == null - ? com.google.shopping.type.Price.getDefaultInstance() - : salePrice_; + return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; } else { return salePriceBuilder_.getMessage(); } } /** - * - * *
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2023,8 +1844,6 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2033,7 +1852,8 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
      *
      * .google.shopping.type.Price sale_price = 5;
      */
-    public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForValue) {
+    public Builder setSalePrice(
+        com.google.shopping.type.Price.Builder builderForValue) {
       if (salePriceBuilder_ == null) {
         salePrice_ = builderForValue.build();
       } else {
@@ -2044,8 +1864,6 @@ public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2056,9 +1874,9 @@ public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForVal
      */
     public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       if (salePriceBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && salePrice_ != null
-            && salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          salePrice_ != null &&
+          salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
           getSalePriceBuilder().mergeFrom(value);
         } else {
           salePrice_ = value;
@@ -2071,8 +1889,6 @@ public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2092,8 +1908,6 @@ public Builder clearSalePrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2108,8 +1922,6 @@ public com.google.shopping.type.Price.Builder getSalePriceBuilder() {
       return getSalePriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2122,14 +1934,11 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
       if (salePriceBuilder_ != null) {
         return salePriceBuilder_.getMessageOrBuilder();
       } else {
-        return salePrice_ == null
-            ? com.google.shopping.type.Price.getDefaultInstance()
-            : salePrice_;
+        return salePrice_ == null ?
+            com.google.shopping.type.Price.getDefaultInstance() : salePrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -2139,17 +1948,14 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
      * .google.shopping.type.Price sale_price = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.shopping.type.Price,
-            com.google.shopping.type.Price.Builder,
-            com.google.shopping.type.PriceOrBuilder>
+        com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> 
         getSalePriceFieldBuilder() {
       if (salePriceBuilder_ == null) {
-        salePriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.shopping.type.Price,
-                com.google.shopping.type.Price.Builder,
-                com.google.shopping.type.PriceOrBuilder>(
-                getSalePrice(), getParentForChildren(), isClean());
+        salePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>(
+                getSalePrice(),
+                getParentForChildren(),
+                isClean());
         salePrice_ = null;
       }
       return salePriceBuilder_;
@@ -2157,49 +1963,36 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
 
     private com.google.type.Interval salePriceEffectiveDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Interval,
-            com.google.type.Interval.Builder,
-            com.google.type.IntervalOrBuilder>
-        salePriceEffectiveDateBuilder_;
+        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> salePriceEffectiveDateBuilder_;
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
      * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return Whether the salePriceEffectiveDate field is set. */ public boolean hasSalePriceEffectiveDate() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The `TimePeriod` of the
      * sale at this store.
      * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return The salePriceEffectiveDate. */ public com.google.type.Interval getSalePriceEffectiveDate() { if (salePriceEffectiveDateBuilder_ == null) { - return salePriceEffectiveDate_ == null - ? com.google.type.Interval.getDefaultInstance() - : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; } else { return salePriceEffectiveDateBuilder_.getMessage(); } } /** - * - * *
      * The `TimePeriod` of the
      * sale at this store.
@@ -2221,8 +2014,6 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2230,7 +2021,8 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
      *
      * .google.type.Interval sale_price_effective_date = 6;
      */
-    public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builderForValue) {
+    public Builder setSalePriceEffectiveDate(
+        com.google.type.Interval.Builder builderForValue) {
       if (salePriceEffectiveDateBuilder_ == null) {
         salePriceEffectiveDate_ = builderForValue.build();
       } else {
@@ -2241,8 +2033,6 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2252,9 +2042,9 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builde
      */
     public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       if (salePriceEffectiveDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && salePriceEffectiveDate_ != null
-            && salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          salePriceEffectiveDate_ != null &&
+          salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
           getSalePriceEffectiveDateBuilder().mergeFrom(value);
         } else {
           salePriceEffectiveDate_ = value;
@@ -2267,8 +2057,6 @@ public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2287,8 +2075,6 @@ public Builder clearSalePriceEffectiveDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2302,8 +2088,6 @@ public com.google.type.Interval.Builder getSalePriceEffectiveDateBuilder() {
       return getSalePriceEffectiveDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2315,14 +2099,11 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
       if (salePriceEffectiveDateBuilder_ != null) {
         return salePriceEffectiveDateBuilder_.getMessageOrBuilder();
       } else {
-        return salePriceEffectiveDate_ == null
-            ? com.google.type.Interval.getDefaultInstance()
-            : salePriceEffectiveDate_;
+        return salePriceEffectiveDate_ == null ?
+            com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
       }
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2331,17 +2112,14 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * .google.type.Interval sale_price_effective_date = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Interval,
-            com.google.type.Interval.Builder,
-            com.google.type.IntervalOrBuilder>
+        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> 
         getSalePriceEffectiveDateFieldBuilder() {
       if (salePriceEffectiveDateBuilder_ == null) {
-        salePriceEffectiveDateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Interval,
-                com.google.type.Interval.Builder,
-                com.google.type.IntervalOrBuilder>(
-                getSalePriceEffectiveDate(), getParentForChildren(), isClean());
+        salePriceEffectiveDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>(
+                getSalePriceEffectiveDate(),
+                getParentForChildren(),
+                isClean());
         salePriceEffectiveDate_ = null;
       }
       return salePriceEffectiveDateBuilder_;
@@ -2349,8 +2127,6 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
 
     private java.lang.Object availability_ = "";
     /**
-     *
-     *
      * 
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2358,15 +2134,12 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * 
* * optional string availability = 7; - * * @return Whether the availability field is set. */ public boolean hasAvailability() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2374,13 +2147,13 @@ public boolean hasAvailability() {
      * 
* * optional string availability = 7; - * * @return The availability. */ public java.lang.String getAvailability() { java.lang.Object ref = availability_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; @@ -2389,8 +2162,6 @@ public java.lang.String getAvailability() { } } /** - * - * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2398,14 +2169,15 @@ public java.lang.String getAvailability() {
      * 
* * optional string availability = 7; - * * @return The bytes for availability. */ - public com.google.protobuf.ByteString getAvailabilityBytes() { + public com.google.protobuf.ByteString + getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availability_ = b; return b; } else { @@ -2413,8 +2185,6 @@ public com.google.protobuf.ByteString getAvailabilityBytes() { } } /** - * - * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2422,22 +2192,18 @@ public com.google.protobuf.ByteString getAvailabilityBytes() {
      * 
* * optional string availability = 7; - * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAvailability( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } availability_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2445,7 +2211,6 @@ public Builder setAvailability(java.lang.String value) {
      * 
* * optional string availability = 7; - * * @return This builder for chaining. */ public Builder clearAvailability() { @@ -2455,8 +2220,6 @@ public Builder clearAvailability() { return this; } /** - * - * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2464,14 +2227,12 @@ public Builder clearAvailability() {
      * 
* * optional string availability = 7; - * * @param value The bytes for availability to set. * @return This builder for chaining. */ - public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAvailabilityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); availability_ = value; bitField0_ |= 0x00000040; @@ -2479,17 +2240,14 @@ public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { return this; } - private long quantity_; + private long quantity_ ; /** - * - * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; - * * @return Whether the quantity field is set. */ @java.lang.Override @@ -2497,15 +2255,12 @@ public boolean hasQuantity() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; - * * @return The quantity. */ @java.lang.Override @@ -2513,15 +2268,12 @@ public long getQuantity() { return quantity_; } /** - * - * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; - * * @param value The quantity to set. * @return This builder for chaining. */ @@ -2533,15 +2285,12 @@ public Builder setQuantity(long value) { return this; } /** - * - * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; - * * @return This builder for chaining. */ public Builder clearQuantity() { @@ -2553,8 +2302,6 @@ public Builder clearQuantity() { private java.lang.Object pickupMethod_ = ""; /** - * - * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2564,15 +2311,12 @@ public Builder clearQuantity() {
      * 
* * optional string pickup_method = 9; - * * @return Whether the pickupMethod field is set. */ public boolean hasPickupMethod() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2582,13 +2326,13 @@ public boolean hasPickupMethod() {
      * 
* * optional string pickup_method = 9; - * * @return The pickupMethod. */ public java.lang.String getPickupMethod() { java.lang.Object ref = pickupMethod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupMethod_ = s; return s; @@ -2597,8 +2341,6 @@ public java.lang.String getPickupMethod() { } } /** - * - * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2608,14 +2350,15 @@ public java.lang.String getPickupMethod() {
      * 
* * optional string pickup_method = 9; - * * @return The bytes for pickupMethod. */ - public com.google.protobuf.ByteString getPickupMethodBytes() { + public com.google.protobuf.ByteString + getPickupMethodBytes() { java.lang.Object ref = pickupMethod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pickupMethod_ = b; return b; } else { @@ -2623,8 +2366,6 @@ public com.google.protobuf.ByteString getPickupMethodBytes() { } } /** - * - * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2634,22 +2375,18 @@ public com.google.protobuf.ByteString getPickupMethodBytes() {
      * 
* * optional string pickup_method = 9; - * * @param value The pickupMethod to set. * @return This builder for chaining. */ - public Builder setPickupMethod(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPickupMethod( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pickupMethod_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2659,7 +2396,6 @@ public Builder setPickupMethod(java.lang.String value) {
      * 
* * optional string pickup_method = 9; - * * @return This builder for chaining. */ public Builder clearPickupMethod() { @@ -2669,8 +2405,6 @@ public Builder clearPickupMethod() { return this; } /** - * - * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2680,14 +2414,12 @@ public Builder clearPickupMethod() {
      * 
* * optional string pickup_method = 9; - * * @param value The bytes for pickupMethod to set. * @return This builder for chaining. */ - public Builder setPickupMethodBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPickupMethodBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pickupMethod_ = value; bitField0_ |= 0x00000100; @@ -2697,8 +2429,6 @@ public Builder setPickupMethodBytes(com.google.protobuf.ByteString value) { private java.lang.Object pickupSla_ = ""; /** - * - * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2708,15 +2438,12 @@ public Builder setPickupMethodBytes(com.google.protobuf.ByteString value) {
      * 
* * optional string pickup_sla = 10; - * * @return Whether the pickupSla field is set. */ public boolean hasPickupSla() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2726,13 +2453,13 @@ public boolean hasPickupSla() {
      * 
* * optional string pickup_sla = 10; - * * @return The pickupSla. */ public java.lang.String getPickupSla() { java.lang.Object ref = pickupSla_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupSla_ = s; return s; @@ -2741,8 +2468,6 @@ public java.lang.String getPickupSla() { } } /** - * - * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2752,14 +2477,15 @@ public java.lang.String getPickupSla() {
      * 
* * optional string pickup_sla = 10; - * * @return The bytes for pickupSla. */ - public com.google.protobuf.ByteString getPickupSlaBytes() { + public com.google.protobuf.ByteString + getPickupSlaBytes() { java.lang.Object ref = pickupSla_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pickupSla_ = b; return b; } else { @@ -2767,8 +2493,6 @@ public com.google.protobuf.ByteString getPickupSlaBytes() { } } /** - * - * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2778,22 +2502,18 @@ public com.google.protobuf.ByteString getPickupSlaBytes() {
      * 
* * optional string pickup_sla = 10; - * * @param value The pickupSla to set. * @return This builder for chaining. */ - public Builder setPickupSla(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPickupSla( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pickupSla_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2803,7 +2523,6 @@ public Builder setPickupSla(java.lang.String value) {
      * 
* * optional string pickup_sla = 10; - * * @return This builder for chaining. */ public Builder clearPickupSla() { @@ -2813,8 +2532,6 @@ public Builder clearPickupSla() { return this; } /** - * - * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2824,14 +2541,12 @@ public Builder clearPickupSla() {
      * 
* * optional string pickup_sla = 10; - * * @param value The bytes for pickupSla to set. * @return This builder for chaining. */ - public Builder setPickupSlaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPickupSlaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pickupSla_ = value; bitField0_ |= 0x00000200; @@ -2841,34 +2556,29 @@ public Builder setPickupSlaBytes(com.google.protobuf.ByteString value) { private java.lang.Object instoreProductLocation_ = ""; /** - * - * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; - * * @return Whether the instoreProductLocation field is set. */ public boolean hasInstoreProductLocation() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; - * * @return The instoreProductLocation. */ public java.lang.String getInstoreProductLocation() { java.lang.Object ref = instoreProductLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instoreProductLocation_ = s; return s; @@ -2877,21 +2587,20 @@ public java.lang.String getInstoreProductLocation() { } } /** - * - * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; - * * @return The bytes for instoreProductLocation. */ - public com.google.protobuf.ByteString getInstoreProductLocationBytes() { + public com.google.protobuf.ByteString + getInstoreProductLocationBytes() { java.lang.Object ref = instoreProductLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instoreProductLocation_ = b; return b; } else { @@ -2899,35 +2608,28 @@ public com.google.protobuf.ByteString getInstoreProductLocationBytes() { } } /** - * - * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; - * * @param value The instoreProductLocation to set. * @return This builder for chaining. */ - public Builder setInstoreProductLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstoreProductLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instoreProductLocation_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; - * * @return This builder for chaining. */ public Builder clearInstoreProductLocation() { @@ -2937,21 +2639,17 @@ public Builder clearInstoreProductLocation() { return this; } /** - * - * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; - * * @param value The bytes for instoreProductLocation to set. * @return This builder for chaining. */ - public Builder setInstoreProductLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstoreProductLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instoreProductLocation_ = value; bitField0_ |= 0x00000400; @@ -2960,25 +2658,18 @@ public Builder setInstoreProductLocationBytes(com.google.protobuf.ByteString val } private java.util.List customAttributes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - customAttributes_ = - new java.util.ArrayList(customAttributes_); + customAttributes_ = new java.util.ArrayList(customAttributes_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.type.CustomAttribute, - com.google.shopping.type.CustomAttribute.Builder, - com.google.shopping.type.CustomAttributeOrBuilder> - customAttributesBuilder_; + com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> customAttributesBuilder_; /** - * - * *
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2995,8 +2686,6 @@ public java.util.List getCustomAttribu
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3013,8 +2702,6 @@ public int getCustomAttributesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3031,8 +2718,6 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3041,7 +2726,8 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public Builder setCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder setCustomAttributes(
+        int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3055,8 +2741,6 @@ public Builder setCustomAttributes(int index, com.google.shopping.type.CustomAtt
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3077,8 +2761,6 @@ public Builder setCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3101,8 +2783,6 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3111,7 +2791,8 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public Builder addCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder addCustomAttributes(
+        int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3125,8 +2806,6 @@ public Builder addCustomAttributes(int index, com.google.shopping.type.CustomAtt
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3147,8 +2826,6 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3169,8 +2846,6 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3183,7 +2858,8 @@ public Builder addAllCustomAttributes(
         java.lang.Iterable values) {
       if (customAttributesBuilder_ == null) {
         ensureCustomAttributesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customAttributes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, customAttributes_);
         onChanged();
       } else {
         customAttributesBuilder_.addAllMessages(values);
@@ -3191,8 +2867,6 @@ public Builder addAllCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3212,8 +2886,6 @@ public Builder clearCustomAttributes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3233,8 +2905,6 @@ public Builder removeCustomAttributes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3243,12 +2913,11 @@ public Builder removeCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(int index) {
+    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(
+        int index) {
       return getCustomAttributesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3260,14 +2929,11 @@ public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuild
     public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
         int index) {
       if (customAttributesBuilder_ == null) {
-        return customAttributes_.get(index);
-      } else {
+        return customAttributes_.get(index);  } else {
         return customAttributesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3276,8 +2942,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public java.util.List
-        getCustomAttributesOrBuilderList() {
+    public java.util.List 
+         getCustomAttributesOrBuilderList() {
       if (customAttributesBuilder_ != null) {
         return customAttributesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3285,8 +2951,6 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3296,12 +2960,10 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
     public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder() {
-      return getCustomAttributesFieldBuilder()
-          .addBuilder(com.google.shopping.type.CustomAttribute.getDefaultInstance());
+      return getCustomAttributesFieldBuilder().addBuilder(
+          com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3310,13 +2972,12 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(int index) {
-      return getCustomAttributesFieldBuilder()
-          .addBuilder(index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
+    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(
+        int index) {
+      return getCustomAttributesFieldBuilder().addBuilder(
+          index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -3325,22 +2986,16 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public java.util.List
-        getCustomAttributesBuilderList() {
+    public java.util.List 
+         getCustomAttributesBuilderList() {
       return getCustomAttributesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.shopping.type.CustomAttribute,
-            com.google.shopping.type.CustomAttribute.Builder,
-            com.google.shopping.type.CustomAttributeOrBuilder>
+        com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> 
         getCustomAttributesFieldBuilder() {
       if (customAttributesBuilder_ == null) {
-        customAttributesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.shopping.type.CustomAttribute,
-                com.google.shopping.type.CustomAttribute.Builder,
-                com.google.shopping.type.CustomAttributeOrBuilder>(
+        customAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>(
                 customAttributes_,
                 ((bitField0_ & 0x00000800) != 0),
                 getParentForChildren(),
@@ -3349,9 +3004,9 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
       }
       return customAttributesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3361,43 +3016,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.LocalInventory)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.LocalInventory)
-  private static final com.google.shopping.merchant.inventories.v1beta.LocalInventory
-      DEFAULT_INSTANCE;
-
+  private static final com.google.shopping.merchant.inventories.v1beta.LocalInventory DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.LocalInventory();
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory
-      getDefaultInstance() {
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public LocalInventory parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public LocalInventory parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3409,8 +3062,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.shopping.merchant.inventories.v1beta.LocalInventory
-      getDefaultInstanceForType() {
+  public com.google.shopping.merchant.inventories.v1beta.LocalInventory getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java
similarity index 100%
rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java
rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
similarity index 87%
rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
index b2b43234a82e..1a65afed157c 100644
--- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/merchant/inventories/v1beta/localinventory.proto
 
 package com.google.shopping.merchant.inventories.v1beta;
 
-public interface LocalInventoryOrBuilder
-    extends
+public interface LocalInventoryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.LocalInventory)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -33,13 +15,10 @@ public interface LocalInventoryOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -47,28 +26,23 @@ public interface LocalInventoryOrBuilder
    * 
* * 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 account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The account. */ long getAccount(); /** - * - * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -77,13 +51,10 @@ public interface LocalInventoryOrBuilder
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storeCode. */ java.lang.String getStoreCode(); /** - * - * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -92,38 +63,30 @@ public interface LocalInventoryOrBuilder
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for storeCode. */ - com.google.protobuf.ByteString getStoreCodeBytes(); + com.google.protobuf.ByteString + getStoreCodeBytes(); /** - * - * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; - * * @return Whether the price field is set. */ boolean hasPrice(); /** - * - * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; - * * @return The price. */ com.google.shopping.type.Price getPrice(); /** - * - * *
    * Price of the product at this store.
    * 
@@ -133,8 +96,6 @@ public interface LocalInventoryOrBuilder com.google.shopping.type.PriceOrBuilder getPriceOrBuilder(); /** - * - * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -142,13 +103,10 @@ public interface LocalInventoryOrBuilder
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return Whether the salePrice field is set. */ boolean hasSalePrice(); /** - * - * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -156,13 +114,10 @@ public interface LocalInventoryOrBuilder
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return The salePrice. */ com.google.shopping.type.Price getSalePrice(); /** - * - * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -174,34 +129,26 @@ public interface LocalInventoryOrBuilder
   com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return Whether the salePriceEffectiveDate field is set. */ boolean hasSalePriceEffectiveDate(); /** - * - * *
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return The salePriceEffectiveDate. */ com.google.type.Interval getSalePriceEffectiveDate(); /** - * - * *
    * The `TimePeriod` of the
    * sale at this store.
@@ -212,8 +159,6 @@ public interface LocalInventoryOrBuilder
   com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -221,13 +166,10 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string availability = 7; - * * @return Whether the availability field is set. */ boolean hasAvailability(); /** - * - * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -235,13 +177,10 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string availability = 7; - * * @return The availability. */ java.lang.String getAvailability(); /** - * - * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -249,41 +188,33 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string availability = 7; - * * @return The bytes for availability. */ - com.google.protobuf.ByteString getAvailabilityBytes(); + com.google.protobuf.ByteString + getAvailabilityBytes(); /** - * - * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; - * * @return Whether the quantity field is set. */ boolean hasQuantity(); /** - * - * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; - * * @return The quantity. */ long getQuantity(); /** - * - * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -293,13 +224,10 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string pickup_method = 9; - * * @return Whether the pickupMethod field is set. */ boolean hasPickupMethod(); /** - * - * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -309,13 +237,10 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string pickup_method = 9; - * * @return The pickupMethod. */ java.lang.String getPickupMethod(); /** - * - * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -325,14 +250,12 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string pickup_method = 9; - * * @return The bytes for pickupMethod. */ - com.google.protobuf.ByteString getPickupMethodBytes(); + com.google.protobuf.ByteString + getPickupMethodBytes(); /** - * - * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -342,13 +265,10 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string pickup_sla = 10; - * * @return Whether the pickupSla field is set. */ boolean hasPickupSla(); /** - * - * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -358,13 +278,10 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string pickup_sla = 10; - * * @return The pickupSla. */ java.lang.String getPickupSla(); /** - * - * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -374,51 +291,41 @@ public interface LocalInventoryOrBuilder
    * 
* * optional string pickup_sla = 10; - * * @return The bytes for pickupSla. */ - com.google.protobuf.ByteString getPickupSlaBytes(); + com.google.protobuf.ByteString + getPickupSlaBytes(); /** - * - * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; - * * @return Whether the instoreProductLocation field is set. */ boolean hasInstoreProductLocation(); /** - * - * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; - * * @return The instoreProductLocation. */ java.lang.String getInstoreProductLocation(); /** - * - * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; - * * @return The bytes for instoreProductLocation. */ - com.google.protobuf.ByteString getInstoreProductLocationBytes(); + com.google.protobuf.ByteString + getInstoreProductLocationBytes(); /** - * - * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -427,10 +334,9 @@ public interface LocalInventoryOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
-  java.util.List getCustomAttributesList();
+  java.util.List 
+      getCustomAttributesList();
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -441,8 +347,6 @@ public interface LocalInventoryOrBuilder
    */
   com.google.shopping.type.CustomAttribute getCustomAttributes(int index);
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -453,8 +357,6 @@ public interface LocalInventoryOrBuilder
    */
   int getCustomAttributesCount();
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -463,11 +365,9 @@ public interface LocalInventoryOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
-  java.util.List
+  java.util.List 
       getCustomAttributesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -476,5 +376,6 @@ public interface LocalInventoryOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
-  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index);
+  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java
new file mode 100644
index 000000000000..c38c5370264b
--- /dev/null
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java
@@ -0,0 +1,176 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/merchant/inventories/v1beta/localinventory.proto
+
+package com.google.shopping.merchant.inventories.v1beta;
+
+public final class LocalInventoryProto {
+  private LocalInventoryProto() {}
+  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_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_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/shopping/merchant/inventories/v" +
+      "1beta/localinventory.proto\022+google.shopp" +
+      "ing.merchant.inventories.v1beta\032\034google/" +
+      "api/annotations.proto\032\027google/api/client" +
+      ".proto\032\037google/api/field_behavior.proto\032" +
+      "\031google/api/resource.proto\032\033google/proto" +
+      "buf/empty.proto\032 google/shopping/type/ty" +
+      "pes.proto\032\032google/type/interval.proto\"\215\005" +
+      "\n\016LocalInventory\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\025\n\007" +
+      "account\030\002 \001(\003B\004\342A\001\003\022\030\n\nstore_code\030\003 \001(\tB" +
+      "\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping.t" +
+      "ype.Price\022/\n\nsale_price\030\005 \001(\0132\033.google.s" +
+      "hopping.type.Price\0228\n\031sale_price_effecti" +
+      "ve_date\030\006 \001(\0132\025.google.type.Interval\022\031\n\014" +
+      "availability\030\007 \001(\tH\000\210\001\001\022\025\n\010quantity\030\010 \001(" +
+      "\003H\001\210\001\001\022\032\n\rpickup_method\030\t \001(\tH\002\210\001\001\022\027\n\npi" +
+      "ckup_sla\030\n \001(\tH\003\210\001\001\022%\n\030instore_product_l" +
+      "ocation\030\013 \001(\tH\004\210\001\001\022@\n\021custom_attributes\030" +
+      "\014 \003(\0132%.google.shopping.type.CustomAttri" +
+      "bute:s\352Ap\n)merchantapi.googleapis.com/Lo" +
+      "calInventory\022Caccounts/{account}/product" +
+      "s/{product}/localInventories/{store_code" +
+      "}B\017\n\r_availabilityB\013\n\t_quantityB\020\n\016_pick" +
+      "up_methodB\r\n\013_pickup_slaB\033\n\031_instore_pro" +
+      "duct_location\"Z\n\033ListLocalInventoriesReq" +
+      "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030" +
+      "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001\n\034ListLocalI" +
+      "nventoriesResponse\022V\n\021local_inventories\030" +
+      "\001 \003(\0132;.google.shopping.merchant.invento" +
+      "ries.v1beta.LocalInventory\022\027\n\017next_page_" +
+      "token\030\002 \001(\t\"\217\001\n\033InsertLocalInventoryRequ" +
+      "est\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022Z\n\017local_inven" +
+      "tory\030\002 \001(\0132;.google.shopping.merchant.in" +
+      "ventories.v1beta.LocalInventoryB\004\342A\001\002\"_\n" +
+      "\033DeleteLocalInventoryRequest\022@\n\004name\030\001 \001" +
+      "(\tB2\342A\001\002\372A+\n)merchantapi.googleapis.com/" +
+      "LocalInventory2\270\006\n\025LocalInventoryService" +
+      "\022\201\002\n\024ListLocalInventories\022H.google.shopp" +
+      "ing.merchant.inventories.v1beta.ListLoca" +
+      "lInventoriesRequest\032I.google.shopping.me" +
+      "rchant.inventories.v1beta.ListLocalInven" +
+      "toriesResponse\"T\332A\006parent\202\323\344\223\002E\022C/invent" +
+      "ories/v1beta/{parent=accounts/*/products" +
+      "/*}/localInventories\022\202\002\n\024InsertLocalInve" +
+      "ntory\022H.google.shopping.merchant.invento" +
+      "ries.v1beta.InsertLocalInventoryRequest\032" +
+      ";.google.shopping.merchant.inventories.v" +
+      "1beta.LocalInventory\"c\202\323\344\223\002]\"J/inventori" +
+      "es/v1beta/{parent=accounts/*/products/*}" +
+      "/localInventories:insert:\017local_inventor" +
+      "y\022\314\001\n\024DeleteLocalInventory\022H.google.shop" +
+      "ping.merchant.inventories.v1beta.DeleteL" +
+      "ocalInventoryRequest\032\026.google.protobuf.E" +
+      "mpty\"R\332A\004name\202\323\344\223\002E*C/inventories/v1beta" +
+      "/{name=accounts/*/products/*/localInvent" +
+      "ories/*}\032G\312A\032merchantapi.googleapis.com\322" +
+      "A\'https://www.googleapis.com/auth/conten" +
+      "tB\241\001\n/com.google.shopping.merchant.inven" +
+      "tories.v1betaB\023LocalInventoryProtoP\001ZWcl" +
+      "oud.google.com/go/shopping/merchant/inve" +
+      "ntories/apiv1beta/inventoriespb;inventor" +
+      "iespbb\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.protobuf.EmptyProto.getDescriptor(),
+          com.google.shopping.type.TypesProto.getDescriptor(),
+          com.google.type.IntervalProto.getDescriptor(),
+        });
+    internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor,
+        new java.lang.String[] { "Name", "Account", "StoreCode", "Price", "SalePrice", "SalePriceEffectiveDate", "Availability", "Quantity", "PickupMethod", "PickupSla", "InstoreProductLocation", "CustomAttributes", "Availability", "Quantity", "PickupMethod", "PickupSla", "InstoreProductLocation", });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor,
+        new java.lang.String[] { "LocalInventories", "NextPageToken", });
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor,
+        new java.lang.String[] { "Parent", "LocalInventory", });
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    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.protobuf.EmptyProto.getDescriptor();
+    com.google.shopping.type.TypesProto.getDescriptor();
+    com.google.type.IntervalProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
similarity index 76%
rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
index ed69dccf4152..7326d512e3c6 100644
--- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto
 
 package com.google.shopping.merchant.inventories.v1beta;
 
 /**
- *
- *
  * 
  * Regional inventory information for the product. Represents specific
  * information like price and availability for a given product in a specific
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.shopping.merchant.inventories.v1beta.RegionalInventory}
  */
-public final class RegionalInventory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RegionalInventory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.RegionalInventory)
     RegionalInventoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RegionalInventory.newBuilder() to construct.
   private RegionalInventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RegionalInventory() {
     name_ = "";
     region_ = "";
@@ -51,33 +33,29 @@ private RegionalInventory() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RegionalInventory();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
-        .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
-        .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
+    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class,
-            com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
+            com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -85,7 +63,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 @@ -94,15 +71,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -110,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,15 +106,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ACCOUNT_FIELD_NUMBER = 2; private long account_ = 0L; /** - * - * *
    * Output only. The account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The account. */ @java.lang.Override @@ -146,12 +120,9 @@ public long getAccount() { } public static final int REGION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** - * - * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -160,7 +131,6 @@ public long getAccount() {
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The region. */ @java.lang.Override @@ -169,15 +139,14 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** - * - * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -186,15 +155,16 @@ public java.lang.String getRegion() {
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -205,14 +175,11 @@ public com.google.protobuf.ByteString getRegionBytes() { public static final int PRICE_FIELD_NUMBER = 4; private com.google.shopping.type.Price price_; /** - * - * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; - * * @return Whether the price field is set. */ @java.lang.Override @@ -220,14 +187,11 @@ public boolean hasPrice() { return price_ != null; } /** - * - * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; - * * @return The price. */ @java.lang.Override @@ -235,8 +199,6 @@ public com.google.shopping.type.Price getPrice() { return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } /** - * - * *
    * Price of the product in this region.
    * 
@@ -251,8 +213,6 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { public static final int SALE_PRICE_FIELD_NUMBER = 5; private com.google.shopping.type.Price salePrice_; /** - * - * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -260,7 +220,6 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return Whether the salePrice field is set. */ @java.lang.Override @@ -268,8 +227,6 @@ public boolean hasSalePrice() { return salePrice_ != null; } /** - * - * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -277,7 +234,6 @@ public boolean hasSalePrice() {
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return The salePrice. */ @java.lang.Override @@ -285,8 +241,6 @@ public com.google.shopping.type.Price getSalePrice() { return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; } /** - * - * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -303,15 +257,12 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
   public static final int SALE_PRICE_EFFECTIVE_DATE_FIELD_NUMBER = 6;
   private com.google.type.Interval salePriceEffectiveDate_;
   /**
-   *
-   *
    * 
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return Whether the salePriceEffectiveDate field is set. */ @java.lang.Override @@ -319,26 +270,19 @@ public boolean hasSalePriceEffectiveDate() { return salePriceEffectiveDate_ != null; } /** - * - * *
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return The salePriceEffectiveDate. */ @java.lang.Override public com.google.type.Interval getSalePriceEffectiveDate() { - return salePriceEffectiveDate_ == null - ? com.google.type.Interval.getDefaultInstance() - : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; } /** - * - * *
    * The `TimePeriod` of the
    * sale price in this region.
@@ -348,18 +292,13 @@ public com.google.type.Interval getSalePriceEffectiveDate() {
    */
   @java.lang.Override
   public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
-    return salePriceEffectiveDate_ == null
-        ? com.google.type.Interval.getDefaultInstance()
-        : salePriceEffectiveDate_;
+    return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
   }
 
   public static final int AVAILABILITY_FIELD_NUMBER = 7;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object availability_ = "";
   /**
-   *
-   *
    * 
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -367,7 +306,6 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
    * 
* * optional string availability = 7; - * * @return Whether the availability field is set. */ @java.lang.Override @@ -375,8 +313,6 @@ public boolean hasAvailability() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -384,7 +320,6 @@ public boolean hasAvailability() {
    * 
* * optional string availability = 7; - * * @return The availability. */ @java.lang.Override @@ -393,15 +328,14 @@ public java.lang.String getAvailability() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; } } /** - * - * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -409,15 +343,16 @@ public java.lang.String getAvailability() {
    * 
* * optional string availability = 7; - * * @return The bytes for availability. */ @java.lang.Override - public com.google.protobuf.ByteString getAvailabilityBytes() { + public com.google.protobuf.ByteString + getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availability_ = b; return b; } else { @@ -426,12 +361,9 @@ public com.google.protobuf.ByteString getAvailabilityBytes() { } public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private java.util.List customAttributes_; /** - * - * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -445,8 +377,6 @@ public java.util.List getCustomAttribu
     return customAttributes_;
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -456,13 +386,11 @@ public java.util.List getCustomAttribu
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCustomAttributesOrBuilderList() {
     return customAttributes_;
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -476,8 +404,6 @@ public int getCustomAttributesCount() {
     return customAttributes_.size();
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -491,8 +417,6 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
     return customAttributes_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -502,12 +426,12 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
   @java.lang.Override
-  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index) {
+  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
+      int index) {
     return customAttributes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -519,7 +443,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -557,26 +482,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (account_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, account_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(2, account_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, region_);
     }
     if (price_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrice());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getPrice());
     }
     if (salePrice_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSalePrice());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getSalePrice());
     }
     if (salePriceEffectiveDate_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSalePriceEffectiveDate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getSalePriceEffectiveDate());
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, availability_);
     }
     for (int i = 0; i < customAttributes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, customAttributes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, customAttributes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -586,34 +515,41 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.RegionalInventory)) {
       return super.equals(obj);
     }
-    com.google.shopping.merchant.inventories.v1beta.RegionalInventory other =
-        (com.google.shopping.merchant.inventories.v1beta.RegionalInventory) obj;
+    com.google.shopping.merchant.inventories.v1beta.RegionalInventory other = (com.google.shopping.merchant.inventories.v1beta.RegionalInventory) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (getAccount() != other.getAccount()) return false;
-    if (!getRegion().equals(other.getRegion())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (getAccount()
+        != other.getAccount()) return false;
+    if (!getRegion()
+        .equals(other.getRegion())) 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 (hasSalePrice() != other.hasSalePrice()) return false;
     if (hasSalePrice()) {
-      if (!getSalePrice().equals(other.getSalePrice())) return false;
+      if (!getSalePrice()
+          .equals(other.getSalePrice())) return false;
     }
     if (hasSalePriceEffectiveDate() != other.hasSalePriceEffectiveDate()) return false;
     if (hasSalePriceEffectiveDate()) {
-      if (!getSalePriceEffectiveDate().equals(other.getSalePriceEffectiveDate())) return false;
+      if (!getSalePriceEffectiveDate()
+          .equals(other.getSalePriceEffectiveDate())) return false;
     }
     if (hasAvailability() != other.hasAvailability()) return false;
     if (hasAvailability()) {
-      if (!getAvailability().equals(other.getAvailability())) return false;
+      if (!getAvailability()
+          .equals(other.getAvailability())) return false;
     }
-    if (!getCustomAttributesList().equals(other.getCustomAttributesList())) return false;
+    if (!getCustomAttributesList()
+        .equals(other.getCustomAttributesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -628,7 +564,8 @@ public int hashCode() {
     hash = (37 * hash) + NAME_FIELD_NUMBER;
     hash = (53 * hash) + getName().hashCode();
     hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAccount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getAccount());
     hash = (37 * hash) + REGION_FIELD_NUMBER;
     hash = (53 * hash) + getRegion().hashCode();
     if (hasPrice()) {
@@ -657,105 +594,98 @@ public int hashCode() {
   }
 
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.shopping.merchant.inventories.v1beta.RegionalInventory prototype) {
+  public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.RegionalInventory prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Regional inventory information for the product. Represents specific
    * information like price and availability for a given product in a specific
@@ -767,33 +697,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.shopping.merchant.inventories.v1beta.RegionalInventory}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.RegionalInventory)
       com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
-          .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
-          .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
+      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class,
-              com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
+              com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
     }
 
-    // Construct using
-    // com.google.shopping.merchant.inventories.v1beta.RegionalInventory.newBuilder()
-    private Builder() {}
+    // Construct using com.google.shopping.merchant.inventories.v1beta.RegionalInventory.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -828,14 +758,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
-          .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
     }
 
     @java.lang.Override
-    public com.google.shopping.merchant.inventories.v1beta.RegionalInventory
-        getDefaultInstanceForType() {
+    public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getDefaultInstanceForType() {
       return com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance();
     }
 
@@ -850,18 +779,14 @@ public com.google.shopping.merchant.inventories.v1beta.RegionalInventory build()
 
     @java.lang.Override
     public com.google.shopping.merchant.inventories.v1beta.RegionalInventory buildPartial() {
-      com.google.shopping.merchant.inventories.v1beta.RegionalInventory result =
-          new com.google.shopping.merchant.inventories.v1beta.RegionalInventory(this);
+      com.google.shopping.merchant.inventories.v1beta.RegionalInventory result = new com.google.shopping.merchant.inventories.v1beta.RegionalInventory(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
+    private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
       if (customAttributesBuilder_ == null) {
         if (((bitField0_ & 0x00000080) != 0)) {
           customAttributes_ = java.util.Collections.unmodifiableList(customAttributes_);
@@ -873,8 +798,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
+    private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -886,16 +810,19 @@ private void buildPartial0(
         result.region_ = region_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build();
+        result.price_ = priceBuilder_ == null
+            ? price_
+            : priceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.salePrice_ = salePriceBuilder_ == null ? salePrice_ : salePriceBuilder_.build();
+        result.salePrice_ = salePriceBuilder_ == null
+            ? salePrice_
+            : salePriceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.salePriceEffectiveDate_ =
-            salePriceEffectiveDateBuilder_ == null
-                ? salePriceEffectiveDate_
-                : salePriceEffectiveDateBuilder_.build();
+        result.salePriceEffectiveDate_ = salePriceEffectiveDateBuilder_ == null
+            ? salePriceEffectiveDate_
+            : salePriceEffectiveDateBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -909,50 +836,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.merchant.inventories.v1beta.RegionalInventory) {
-        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.RegionalInventory) other);
+        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.RegionalInventory)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.shopping.merchant.inventories.v1beta.RegionalInventory other) {
-      if (other
-          == com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.RegionalInventory other) {
+      if (other == com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -998,10 +921,9 @@ public Builder mergeFrom(
             customAttributesBuilder_ = null;
             customAttributes_ = other.customAttributes_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            customAttributesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCustomAttributesFieldBuilder()
-                    : null;
+            customAttributesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCustomAttributesFieldBuilder() : null;
           } else {
             customAttributesBuilder_.addAllMessages(other.customAttributes_);
           }
@@ -1033,69 +955,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                account_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                region_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getSalePriceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getSalePriceEffectiveDateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                availability_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                com.google.shopping.type.CustomAttribute m =
-                    input.readMessage(
-                        com.google.shopping.type.CustomAttribute.parser(), extensionRegistry);
-                if (customAttributesBuilder_ == null) {
-                  ensureCustomAttributesIsMutable();
-                  customAttributes_.add(m);
-                } else {
-                  customAttributesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              account_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              region_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getPriceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getSalePriceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getSalePriceEffectiveDateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              availability_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              com.google.shopping.type.CustomAttribute m =
+                  input.readMessage(
+                      com.google.shopping.type.CustomAttribute.parser(),
+                      extensionRegistry);
+              if (customAttributesBuilder_ == null) {
+                ensureCustomAttributesIsMutable();
+                customAttributes_.add(m);
+              } else {
+                customAttributesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1105,13 +1024,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1119,13 +1035,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; @@ -1134,8 +1050,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1143,14 +1057,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 { @@ -1158,8 +1073,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1167,22 +1080,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1190,7 +1099,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1200,8 +1108,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1209,14 +1115,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1224,17 +1128,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private long account_; + private long account_ ; /** - * - * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The account. */ @java.lang.Override @@ -1242,15 +1143,12 @@ public long getAccount() { return account_; } /** - * - * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The account to set. * @return This builder for chaining. */ @@ -1262,15 +1160,12 @@ public Builder setAccount(long value) { return this; } /** - * - * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAccount() { @@ -1282,8 +1177,6 @@ public Builder clearAccount() { private java.lang.Object region_ = ""; /** - * - * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1292,13 +1185,13 @@ public Builder clearAccount() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1307,8 +1200,6 @@ public java.lang.String getRegion() { } } /** - * - * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1317,14 +1208,15 @@ public java.lang.String getRegion() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for region. */ - public com.google.protobuf.ByteString getRegionBytes() { + public com.google.protobuf.ByteString + getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); region_ = b; return b; } else { @@ -1332,8 +1224,6 @@ public com.google.protobuf.ByteString getRegionBytes() { } } /** - * - * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1342,22 +1232,18 @@ public com.google.protobuf.ByteString getRegionBytes() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1366,7 +1252,6 @@ public Builder setRegion(java.lang.String value) {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1376,8 +1261,6 @@ public Builder clearRegion() { return this; } /** - * - * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1386,14 +1269,12 @@ public Builder clearRegion() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000004; @@ -1403,33 +1284,24 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { private com.google.shopping.type.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - priceBuilder_; + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> priceBuilder_; /** - * - * *
      * Price of the product in this region.
      * 
* * .google.shopping.type.Price price = 4; - * * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Price of the product in this region.
      * 
* * .google.shopping.type.Price price = 4; - * * @return The price. */ public com.google.shopping.type.Price getPrice() { @@ -1440,8 +1312,6 @@ public com.google.shopping.type.Price getPrice() { } } /** - * - * *
      * Price of the product in this region.
      * 
@@ -1462,15 +1332,14 @@ public Builder setPrice(com.google.shopping.type.Price value) { return this; } /** - * - * *
      * Price of the product in this region.
      * 
* * .google.shopping.type.Price price = 4; */ - public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { + public Builder setPrice( + com.google.shopping.type.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { @@ -1481,8 +1350,6 @@ public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) return this; } /** - * - * *
      * Price of the product in this region.
      * 
@@ -1491,9 +1358,9 @@ public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) */ public Builder mergePrice(com.google.shopping.type.Price value) { if (priceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && price_ != null - && price_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + price_ != null && + price_ != com.google.shopping.type.Price.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; @@ -1506,8 +1373,6 @@ public Builder mergePrice(com.google.shopping.type.Price value) { return this; } /** - * - * *
      * Price of the product in this region.
      * 
@@ -1525,8 +1390,6 @@ public Builder clearPrice() { return this; } /** - * - * *
      * Price of the product in this region.
      * 
@@ -1539,8 +1402,6 @@ public com.google.shopping.type.Price.Builder getPriceBuilder() { return getPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price of the product in this region.
      * 
@@ -1551,12 +1412,11 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; + return price_ == null ? + com.google.shopping.type.Price.getDefaultInstance() : price_; } } /** - * - * *
      * Price of the product in this region.
      * 
@@ -1564,17 +1424,14 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { * .google.shopping.type.Price price = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder>( - getPrice(), getParentForChildren(), isClean()); + priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( + getPrice(), + getParentForChildren(), + isClean()); price_ = null; } return priceBuilder_; @@ -1582,13 +1439,8 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { private com.google.shopping.type.Price salePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - salePriceBuilder_; + com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> salePriceBuilder_; /** - * - * *
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1596,15 +1448,12 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
      * 
* * .google.shopping.type.Price sale_price = 5; - * * @return Whether the salePrice field is set. */ public boolean hasSalePrice() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1612,21 +1461,16 @@ public boolean hasSalePrice() {
      * 
* * .google.shopping.type.Price sale_price = 5; - * * @return The salePrice. */ public com.google.shopping.type.Price getSalePrice() { if (salePriceBuilder_ == null) { - return salePrice_ == null - ? com.google.shopping.type.Price.getDefaultInstance() - : salePrice_; + return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; } else { return salePriceBuilder_.getMessage(); } } /** - * - * *
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1649,8 +1493,6 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1659,7 +1501,8 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
      *
      * .google.shopping.type.Price sale_price = 5;
      */
-    public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForValue) {
+    public Builder setSalePrice(
+        com.google.shopping.type.Price.Builder builderForValue) {
       if (salePriceBuilder_ == null) {
         salePrice_ = builderForValue.build();
       } else {
@@ -1670,8 +1513,6 @@ public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1682,9 +1523,9 @@ public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForVal
      */
     public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       if (salePriceBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && salePrice_ != null
-            && salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          salePrice_ != null &&
+          salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
           getSalePriceBuilder().mergeFrom(value);
         } else {
           salePrice_ = value;
@@ -1697,8 +1538,6 @@ public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1718,8 +1557,6 @@ public Builder clearSalePrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1734,8 +1571,6 @@ public com.google.shopping.type.Price.Builder getSalePriceBuilder() {
       return getSalePriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1748,14 +1583,11 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
       if (salePriceBuilder_ != null) {
         return salePriceBuilder_.getMessageOrBuilder();
       } else {
-        return salePrice_ == null
-            ? com.google.shopping.type.Price.getDefaultInstance()
-            : salePrice_;
+        return salePrice_ == null ?
+            com.google.shopping.type.Price.getDefaultInstance() : salePrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1765,17 +1597,14 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
      * .google.shopping.type.Price sale_price = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.shopping.type.Price,
-            com.google.shopping.type.Price.Builder,
-            com.google.shopping.type.PriceOrBuilder>
+        com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> 
         getSalePriceFieldBuilder() {
       if (salePriceBuilder_ == null) {
-        salePriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.shopping.type.Price,
-                com.google.shopping.type.Price.Builder,
-                com.google.shopping.type.PriceOrBuilder>(
-                getSalePrice(), getParentForChildren(), isClean());
+        salePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>(
+                getSalePrice(),
+                getParentForChildren(),
+                isClean());
         salePrice_ = null;
       }
       return salePriceBuilder_;
@@ -1783,49 +1612,36 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
 
     private com.google.type.Interval salePriceEffectiveDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Interval,
-            com.google.type.Interval.Builder,
-            com.google.type.IntervalOrBuilder>
-        salePriceEffectiveDateBuilder_;
+        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> salePriceEffectiveDateBuilder_;
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
      * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return Whether the salePriceEffectiveDate field is set. */ public boolean hasSalePriceEffectiveDate() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The `TimePeriod` of the
      * sale price in this region.
      * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return The salePriceEffectiveDate. */ public com.google.type.Interval getSalePriceEffectiveDate() { if (salePriceEffectiveDateBuilder_ == null) { - return salePriceEffectiveDate_ == null - ? com.google.type.Interval.getDefaultInstance() - : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; } else { return salePriceEffectiveDateBuilder_.getMessage(); } } /** - * - * *
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1847,8 +1663,6 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1856,7 +1670,8 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
      *
      * .google.type.Interval sale_price_effective_date = 6;
      */
-    public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builderForValue) {
+    public Builder setSalePriceEffectiveDate(
+        com.google.type.Interval.Builder builderForValue) {
       if (salePriceEffectiveDateBuilder_ == null) {
         salePriceEffectiveDate_ = builderForValue.build();
       } else {
@@ -1867,8 +1682,6 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1878,9 +1691,9 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builde
      */
     public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       if (salePriceEffectiveDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && salePriceEffectiveDate_ != null
-            && salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          salePriceEffectiveDate_ != null &&
+          salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
           getSalePriceEffectiveDateBuilder().mergeFrom(value);
         } else {
           salePriceEffectiveDate_ = value;
@@ -1893,8 +1706,6 @@ public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1913,8 +1724,6 @@ public Builder clearSalePriceEffectiveDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1928,8 +1737,6 @@ public com.google.type.Interval.Builder getSalePriceEffectiveDateBuilder() {
       return getSalePriceEffectiveDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1941,14 +1748,11 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
       if (salePriceEffectiveDateBuilder_ != null) {
         return salePriceEffectiveDateBuilder_.getMessageOrBuilder();
       } else {
-        return salePriceEffectiveDate_ == null
-            ? com.google.type.Interval.getDefaultInstance()
-            : salePriceEffectiveDate_;
+        return salePriceEffectiveDate_ == null ?
+            com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
       }
     }
     /**
-     *
-     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1957,17 +1761,14 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * .google.type.Interval sale_price_effective_date = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Interval,
-            com.google.type.Interval.Builder,
-            com.google.type.IntervalOrBuilder>
+        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> 
         getSalePriceEffectiveDateFieldBuilder() {
       if (salePriceEffectiveDateBuilder_ == null) {
-        salePriceEffectiveDateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Interval,
-                com.google.type.Interval.Builder,
-                com.google.type.IntervalOrBuilder>(
-                getSalePriceEffectiveDate(), getParentForChildren(), isClean());
+        salePriceEffectiveDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>(
+                getSalePriceEffectiveDate(),
+                getParentForChildren(),
+                isClean());
         salePriceEffectiveDate_ = null;
       }
       return salePriceEffectiveDateBuilder_;
@@ -1975,8 +1776,6 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
 
     private java.lang.Object availability_ = "";
     /**
-     *
-     *
      * 
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1984,15 +1783,12 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * 
* * optional string availability = 7; - * * @return Whether the availability field is set. */ public boolean hasAvailability() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -2000,13 +1796,13 @@ public boolean hasAvailability() {
      * 
* * optional string availability = 7; - * * @return The availability. */ public java.lang.String getAvailability() { java.lang.Object ref = availability_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; @@ -2015,8 +1811,6 @@ public java.lang.String getAvailability() { } } /** - * - * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -2024,14 +1818,15 @@ public java.lang.String getAvailability() {
      * 
* * optional string availability = 7; - * * @return The bytes for availability. */ - public com.google.protobuf.ByteString getAvailabilityBytes() { + public com.google.protobuf.ByteString + getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availability_ = b; return b; } else { @@ -2039,8 +1834,6 @@ public com.google.protobuf.ByteString getAvailabilityBytes() { } } /** - * - * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -2048,22 +1841,18 @@ public com.google.protobuf.ByteString getAvailabilityBytes() {
      * 
* * optional string availability = 7; - * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAvailability( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } availability_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -2071,7 +1860,6 @@ public Builder setAvailability(java.lang.String value) {
      * 
* * optional string availability = 7; - * * @return This builder for chaining. */ public Builder clearAvailability() { @@ -2081,8 +1869,6 @@ public Builder clearAvailability() { return this; } /** - * - * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -2090,14 +1876,12 @@ public Builder clearAvailability() {
      * 
* * optional string availability = 7; - * * @param value The bytes for availability to set. * @return This builder for chaining. */ - public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAvailabilityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); availability_ = value; bitField0_ |= 0x00000040; @@ -2106,25 +1890,18 @@ public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { } private java.util.List customAttributes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - customAttributes_ = - new java.util.ArrayList(customAttributes_); + customAttributes_ = new java.util.ArrayList(customAttributes_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.type.CustomAttribute, - com.google.shopping.type.CustomAttribute.Builder, - com.google.shopping.type.CustomAttributeOrBuilder> - customAttributesBuilder_; + com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> customAttributesBuilder_; /** - * - * *
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2141,8 +1918,6 @@ public java.util.List getCustomAttribu
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2159,8 +1934,6 @@ public int getCustomAttributesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2177,8 +1950,6 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2187,7 +1958,8 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public Builder setCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder setCustomAttributes(
+        int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2201,8 +1973,6 @@ public Builder setCustomAttributes(int index, com.google.shopping.type.CustomAtt
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2223,8 +1993,6 @@ public Builder setCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2247,8 +2015,6 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2257,7 +2023,8 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public Builder addCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder addCustomAttributes(
+        int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2271,8 +2038,6 @@ public Builder addCustomAttributes(int index, com.google.shopping.type.CustomAtt
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2293,8 +2058,6 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2315,8 +2078,6 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2329,7 +2090,8 @@ public Builder addAllCustomAttributes(
         java.lang.Iterable values) {
       if (customAttributesBuilder_ == null) {
         ensureCustomAttributesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customAttributes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, customAttributes_);
         onChanged();
       } else {
         customAttributesBuilder_.addAllMessages(values);
@@ -2337,8 +2099,6 @@ public Builder addAllCustomAttributes(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2358,8 +2118,6 @@ public Builder clearCustomAttributes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2379,8 +2137,6 @@ public Builder removeCustomAttributes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2389,12 +2145,11 @@ public Builder removeCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(int index) {
+    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(
+        int index) {
       return getCustomAttributesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2406,14 +2161,11 @@ public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuild
     public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
         int index) {
       if (customAttributesBuilder_ == null) {
-        return customAttributes_.get(index);
-      } else {
+        return customAttributes_.get(index);  } else {
         return customAttributesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2422,8 +2174,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public java.util.List
-        getCustomAttributesOrBuilderList() {
+    public java.util.List 
+         getCustomAttributesOrBuilderList() {
       if (customAttributesBuilder_ != null) {
         return customAttributesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2431,8 +2183,6 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
       }
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2442,12 +2192,10 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
     public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder() {
-      return getCustomAttributesFieldBuilder()
-          .addBuilder(com.google.shopping.type.CustomAttribute.getDefaultInstance());
+      return getCustomAttributesFieldBuilder().addBuilder(
+          com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2456,13 +2204,12 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(int index) {
-      return getCustomAttributesFieldBuilder()
-          .addBuilder(index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
+    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(
+        int index) {
+      return getCustomAttributesFieldBuilder().addBuilder(
+          index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2471,22 +2218,16 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public java.util.List
-        getCustomAttributesBuilderList() {
+    public java.util.List 
+         getCustomAttributesBuilderList() {
       return getCustomAttributesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.shopping.type.CustomAttribute,
-            com.google.shopping.type.CustomAttribute.Builder,
-            com.google.shopping.type.CustomAttributeOrBuilder>
+        com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> 
         getCustomAttributesFieldBuilder() {
       if (customAttributesBuilder_ == null) {
-        customAttributesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.shopping.type.CustomAttribute,
-                com.google.shopping.type.CustomAttribute.Builder,
-                com.google.shopping.type.CustomAttributeOrBuilder>(
+        customAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>(
                 customAttributes_,
                 ((bitField0_ & 0x00000080) != 0),
                 getParentForChildren(),
@@ -2495,9 +2236,9 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
       }
       return customAttributesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2507,43 +2248,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.RegionalInventory)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.RegionalInventory)
-  private static final com.google.shopping.merchant.inventories.v1beta.RegionalInventory
-      DEFAULT_INSTANCE;
-
+  private static final com.google.shopping.merchant.inventories.v1beta.RegionalInventory DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.RegionalInventory();
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory
-      getDefaultInstance() {
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RegionalInventory parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RegionalInventory parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2555,8 +2294,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.shopping.merchant.inventories.v1beta.RegionalInventory
-      getDefaultInstanceForType() {
+  public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java
similarity index 100%
rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java
rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
similarity index 85%
rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
index 77e1d8c854d3..82b4823c9512 100644
--- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto
 
 package com.google.shopping.merchant.inventories.v1beta;
 
-public interface RegionalInventoryOrBuilder
-    extends
+public interface RegionalInventoryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.RegionalInventory)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -33,13 +15,10 @@ public interface RegionalInventoryOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -47,28 +26,23 @@ public interface RegionalInventoryOrBuilder
    * 
* * 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 account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The account. */ long getAccount(); /** - * - * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -77,13 +51,10 @@ public interface RegionalInventoryOrBuilder
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The region. */ java.lang.String getRegion(); /** - * - * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -92,38 +63,30 @@ public interface RegionalInventoryOrBuilder
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for region. */ - com.google.protobuf.ByteString getRegionBytes(); + com.google.protobuf.ByteString + getRegionBytes(); /** - * - * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; - * * @return Whether the price field is set. */ boolean hasPrice(); /** - * - * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; - * * @return The price. */ com.google.shopping.type.Price getPrice(); /** - * - * *
    * Price of the product in this region.
    * 
@@ -133,8 +96,6 @@ public interface RegionalInventoryOrBuilder com.google.shopping.type.PriceOrBuilder getPriceOrBuilder(); /** - * - * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -142,13 +103,10 @@ public interface RegionalInventoryOrBuilder
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return Whether the salePrice field is set. */ boolean hasSalePrice(); /** - * - * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -156,13 +114,10 @@ public interface RegionalInventoryOrBuilder
    * 
* * .google.shopping.type.Price sale_price = 5; - * * @return The salePrice. */ com.google.shopping.type.Price getSalePrice(); /** - * - * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -174,34 +129,26 @@ public interface RegionalInventoryOrBuilder
   com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return Whether the salePriceEffectiveDate field is set. */ boolean hasSalePriceEffectiveDate(); /** - * - * *
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; - * * @return The salePriceEffectiveDate. */ com.google.type.Interval getSalePriceEffectiveDate(); /** - * - * *
    * The `TimePeriod` of the
    * sale price in this region.
@@ -212,8 +159,6 @@ public interface RegionalInventoryOrBuilder
   com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -221,13 +166,10 @@ public interface RegionalInventoryOrBuilder
    * 
* * optional string availability = 7; - * * @return Whether the availability field is set. */ boolean hasAvailability(); /** - * - * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -235,13 +177,10 @@ public interface RegionalInventoryOrBuilder
    * 
* * optional string availability = 7; - * * @return The availability. */ java.lang.String getAvailability(); /** - * - * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -249,14 +188,12 @@ public interface RegionalInventoryOrBuilder
    * 
* * optional string availability = 7; - * * @return The bytes for availability. */ - com.google.protobuf.ByteString getAvailabilityBytes(); + com.google.protobuf.ByteString + getAvailabilityBytes(); /** - * - * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -265,10 +202,9 @@ public interface RegionalInventoryOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
-  java.util.List getCustomAttributesList();
+  java.util.List 
+      getCustomAttributesList();
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -279,8 +215,6 @@ public interface RegionalInventoryOrBuilder
    */
   com.google.shopping.type.CustomAttribute getCustomAttributes(int index);
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -291,8 +225,6 @@ public interface RegionalInventoryOrBuilder
    */
   int getCustomAttributesCount();
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -301,11 +233,9 @@ public interface RegionalInventoryOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
-  java.util.List
+  java.util.List 
       getCustomAttributesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -314,5 +244,6 @@ public interface RegionalInventoryOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
-  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index);
+  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java
new file mode 100644
index 000000000000..16bf1392727c
--- /dev/null
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java
@@ -0,0 +1,173 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto
+
+package com.google.shopping.merchant.inventories.v1beta;
+
+public final class RegionalInventoryProto {
+  private RegionalInventoryProto() {}
+  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_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\nCgoogle/shopping/merchant/inventories/v" +
+      "1beta/regionalinventory.proto\022+google.sh" +
+      "opping.merchant.inventories.v1beta\032\034goog" +
+      "le/api/annotations.proto\032\027google/api/cli" +
+      "ent.proto\032\037google/api/field_behavior.pro" +
+      "to\032\031google/api/resource.proto\032\033google/pr" +
+      "otobuf/empty.proto\032 google/shopping/type" +
+      "/types.proto\032\032google/type/interval.proto" +
+      "\"\320\003\n\021RegionalInventory\022\022\n\004name\030\001 \001(\tB\004\342A" +
+      "\001\003\022\025\n\007account\030\002 \001(\003B\004\342A\001\003\022\024\n\006region\030\003 \001(" +
+      "\tB\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping" +
+      ".type.Price\022/\n\nsale_price\030\005 \001(\0132\033.google" +
+      ".shopping.type.Price\0228\n\031sale_price_effec" +
+      "tive_date\030\006 \001(\0132\025.google.type.Interval\022\031" +
+      "\n\014availability\030\007 \001(\tH\000\210\001\001\022@\n\021custom_attr" +
+      "ibutes\030\010 \003(\0132%.google.shopping.type.Cust" +
+      "omAttribute:u\352Ar\n,merchantapi.googleapis" +
+      ".com/RegionalInventory\022Baccounts/{accoun" +
+      "t}/products/{product}/regionalInventorie" +
+      "s/{region}B\017\n\r_availability\"]\n\036ListRegio" +
+      "nalInventoriesRequest\022\024\n\006parent\030\001 \001(\tB\004\342" +
+      "A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" +
+      "(\t\"\230\001\n\037ListRegionalInventoriesResponse\022\\" +
+      "\n\024regional_inventories\030\001 \003(\0132>.google.sh" +
+      "opping.merchant.inventories.v1beta.Regio" +
+      "nalInventory\022\027\n\017next_page_token\030\002 \001(\t\"\230\001" +
+      "\n\036InsertRegionalInventoryRequest\022\024\n\006pare" +
+      "nt\030\001 \001(\tB\004\342A\001\002\022`\n\022regional_inventory\030\002 \001" +
+      "(\0132>.google.shopping.merchant.inventorie" +
+      "s.v1beta.RegionalInventoryB\004\342A\001\002\"e\n\036Dele" +
+      "teRegionalInventoryRequest\022C\n\004name\030\001 \001(\t" +
+      "B5\342A\001\002\372A.\n,merchantapi.googleapis.com/Re" +
+      "gionalInventory2\337\006\n\030RegionalInventorySer" +
+      "vice\022\215\002\n\027ListRegionalInventories\022K.googl" +
+      "e.shopping.merchant.inventories.v1beta.L" +
+      "istRegionalInventoriesRequest\032L.google.s" +
+      "hopping.merchant.inventories.v1beta.List" +
+      "RegionalInventoriesResponse\"W\332A\006parent\202\323" +
+      "\344\223\002H\022F/inventories/v1beta/{parent=accoun" +
+      "ts/*/products/*}/regionalInventories\022\221\002\n" +
+      "\027InsertRegionalInventory\022K.google.shoppi" +
+      "ng.merchant.inventories.v1beta.InsertReg" +
+      "ionalInventoryRequest\032>.google.shopping." +
+      "merchant.inventories.v1beta.RegionalInve" +
+      "ntory\"i\202\323\344\223\002c\"M/inventories/v1beta/{pare" +
+      "nt=accounts/*/products/*}/regionalInvent" +
+      "ories:insert:\022regional_inventory\022\325\001\n\027Del" +
+      "eteRegionalInventory\022K.google.shopping.m" +
+      "erchant.inventories.v1beta.DeleteRegiona" +
+      "lInventoryRequest\032\026.google.protobuf.Empt" +
+      "y\"U\332A\004name\202\323\344\223\002H*F/inventories/v1beta/{n" +
+      "ame=accounts/*/products/*/regionalInvent" +
+      "ories/*}\032G\312A\032merchantapi.googleapis.com\322" +
+      "A\'https://www.googleapis.com/auth/conten" +
+      "tB\244\001\n/com.google.shopping.merchant.inven" +
+      "tories.v1betaB\026RegionalInventoryProtoP\001Z" +
+      "Wcloud.google.com/go/shopping/merchant/i" +
+      "nventories/apiv1beta/inventoriespb;inven" +
+      "toriespbb\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.protobuf.EmptyProto.getDescriptor(),
+          com.google.shopping.type.TypesProto.getDescriptor(),
+          com.google.type.IntervalProto.getDescriptor(),
+        });
+    internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor,
+        new java.lang.String[] { "Name", "Account", "Region", "Price", "SalePrice", "SalePriceEffectiveDate", "Availability", "CustomAttributes", "Availability", });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor,
+        new java.lang.String[] { "RegionalInventories", "NextPageToken", });
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor,
+        new java.lang.String[] { "Parent", "RegionalInventory", });
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    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.protobuf.EmptyProto.getDescriptor();
+    com.google.shopping.type.TypesProto.getDescriptor();
+    com.google.type.IntervalProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
new file mode 100644
index 000000000000..0ef5ca13b1ee
--- /dev/null
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
@@ -0,0 +1,555 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/type/types.proto
+
+package com.google.shopping.type;
+
+/**
+ * 
+ * [Channel](https://support.google.com/merchants/answer/7361332) of a product.
+ *
+ * Channel is used to distinguish between online and local products.
+ * 
+ * + * Protobuf type {@code google.shopping.type.Channel} + */ +public final class Channel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.shopping.type.Channel) + ChannelOrBuilder { +private static final long serialVersionUID = 0L; + // Use Channel.newBuilder() to construct. + private Channel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Channel() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Channel(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.type.Channel.class, com.google.shopping.type.Channel.Builder.class); + } + + /** + *
+   * Channel values.
+   * 
+ * + * Protobuf enum {@code google.shopping.type.Channel.ChannelEnum} + */ + public enum ChannelEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Not specified.
+     * 
+ * + * CHANNEL_ENUM_UNSPECIFIED = 0; + */ + CHANNEL_ENUM_UNSPECIFIED(0), + /** + *
+     * Online product.
+     * 
+ * + * ONLINE = 1; + */ + ONLINE(1), + /** + *
+     * Local product.
+     * 
+ * + * LOCAL = 2; + */ + LOCAL(2), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Not specified.
+     * 
+ * + * CHANNEL_ENUM_UNSPECIFIED = 0; + */ + public static final int CHANNEL_ENUM_UNSPECIFIED_VALUE = 0; + /** + *
+     * Online product.
+     * 
+ * + * ONLINE = 1; + */ + public static final int ONLINE_VALUE = 1; + /** + *
+     * Local product.
+     * 
+ * + * LOCAL = 2; + */ + public static final int LOCAL_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ChannelEnum valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ChannelEnum forNumber(int value) { + switch (value) { + case 0: return CHANNEL_ENUM_UNSPECIFIED; + case 1: return ONLINE; + case 2: return LOCAL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChannelEnum> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChannelEnum findValueByNumber(int number) { + return ChannelEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.shopping.type.Channel.getDescriptor().getEnumTypes().get(0); + } + + private static final ChannelEnum[] VALUES = values(); + + public static ChannelEnum valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ChannelEnum(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.shopping.type.Channel.ChannelEnum) + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.shopping.type.Channel)) { + return super.equals(obj); + } + com.google.shopping.type.Channel other = (com.google.shopping.type.Channel) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.shopping.type.Channel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.Channel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.Channel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.Channel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.Channel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.Channel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.Channel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.shopping.type.Channel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.shopping.type.Channel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.shopping.type.Channel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.shopping.type.Channel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.shopping.type.Channel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.shopping.type.Channel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * [Channel](https://support.google.com/merchants/answer/7361332) of a product.
+   *
+   * Channel is used to distinguish between online and local products.
+   * 
+ * + * Protobuf type {@code google.shopping.type.Channel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.shopping.type.Channel) + com.google.shopping.type.ChannelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.type.Channel.class, com.google.shopping.type.Channel.Builder.class); + } + + // Construct using com.google.shopping.type.Channel.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_descriptor; + } + + @java.lang.Override + public com.google.shopping.type.Channel getDefaultInstanceForType() { + return com.google.shopping.type.Channel.getDefaultInstance(); + } + + @java.lang.Override + public com.google.shopping.type.Channel build() { + com.google.shopping.type.Channel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.shopping.type.Channel buildPartial() { + com.google.shopping.type.Channel result = new com.google.shopping.type.Channel(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.shopping.type.Channel) { + return mergeFrom((com.google.shopping.type.Channel)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.shopping.type.Channel other) { + if (other == com.google.shopping.type.Channel.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.shopping.type.Channel) + } + + // @@protoc_insertion_point(class_scope:google.shopping.type.Channel) + private static final com.google.shopping.type.Channel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.shopping.type.Channel(); + } + + public static com.google.shopping.type.Channel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Channel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.shopping.type.Channel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java new file mode 100644 index 000000000000..47fac0672055 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/type/types.proto + +package com.google.shopping.type; + +public interface ChannelOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.shopping.type.Channel) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java similarity index 74% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java index bd71ca66a62b..8d31fd4e03be 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/type/types.proto package com.google.shopping.type; /** - * - * *
  * A message that represents custom attributes. Exactly one of `value` or
  * `group_values` must not be empty.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.shopping.type.CustomAttribute}
  */
-public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CustomAttribute extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.shopping.type.CustomAttribute)
     CustomAttributeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CustomAttribute.newBuilder() to construct.
   private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CustomAttribute() {
     name_ = "";
     value_ = "";
@@ -46,39 +28,34 @@ private CustomAttribute() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CustomAttribute();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.shopping.type.TypesProto
-        .internal_static_google_shopping_type_CustomAttribute_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.type.TypesProto
-        .internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
+    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.type.CustomAttribute.class,
-            com.google.shopping.type.CustomAttribute.Builder.class);
+            com.google.shopping.type.CustomAttribute.class, com.google.shopping.type.CustomAttribute.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the attribute.
    * 
* * optional string name = 1; - * * @return Whether the name field is set. */ @java.lang.Override @@ -86,14 +63,11 @@ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The name of the attribute.
    * 
* * optional string name = 1; - * * @return The name. */ @java.lang.Override @@ -102,29 +76,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; } } /** - * - * *
    * The name of the attribute.
    * 
* * optional 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 { @@ -133,19 +107,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -153,15 +123,12 @@ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; - * * @return The value. */ @java.lang.Override @@ -170,30 +137,30 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -202,12 +169,9 @@ public com.google.protobuf.ByteString getValueBytes() { } public static final int GROUP_VALUES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List groupValues_; /** - * - * *
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -220,8 +184,6 @@ public java.util.List getGroupValuesLi
     return groupValues_;
   }
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -230,13 +192,11 @@ public java.util.List getGroupValuesLi
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getGroupValuesOrBuilderList() {
     return groupValues_;
   }
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -249,8 +209,6 @@ public int getGroupValuesCount() {
     return groupValues_.size();
   }
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -263,8 +221,6 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
     return groupValues_.get(index);
   }
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -273,12 +229,12 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
   @java.lang.Override
-  public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(int index) {
+  public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(
+      int index) {
     return groupValues_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -290,7 +246,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -316,7 +273,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
     }
     for (int i = 0; i < groupValues_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, groupValues_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, groupValues_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -326,7 +284,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.shopping.type.CustomAttribute)) {
       return super.equals(obj);
@@ -335,13 +293,16 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasName() != other.hasName()) return false;
     if (hasName()) {
-      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 (!getGroupValuesList().equals(other.getGroupValuesList())) return false;
+    if (!getGroupValuesList()
+        .equals(other.getGroupValuesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -370,104 +331,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.shopping.type.CustomAttribute parseFrom(java.nio.ByteBuffer data)
+  public static com.google.shopping.type.CustomAttribute parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.shopping.type.CustomAttribute parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.shopping.type.CustomAttribute parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.shopping.type.CustomAttribute parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.shopping.type.CustomAttribute parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.shopping.type.CustomAttribute prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 message that represents custom attributes. Exactly one of `value` or
    * `group_values` must not be empty.
@@ -475,32 +431,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.shopping.type.CustomAttribute}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.shopping.type.CustomAttribute)
       com.google.shopping.type.CustomAttributeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.shopping.type.TypesProto
-          .internal_static_google_shopping_type_CustomAttribute_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.type.TypesProto
-          .internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
+      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.type.CustomAttribute.class,
-              com.google.shopping.type.CustomAttribute.Builder.class);
+              com.google.shopping.type.CustomAttribute.class, com.google.shopping.type.CustomAttribute.Builder.class);
     }
 
     // Construct using com.google.shopping.type.CustomAttribute.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -518,9 +475,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.shopping.type.TypesProto
-          .internal_static_google_shopping_type_CustomAttribute_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_descriptor;
     }
 
     @java.lang.Override
@@ -539,12 +496,9 @@ public com.google.shopping.type.CustomAttribute build() {
 
     @java.lang.Override
     public com.google.shopping.type.CustomAttribute buildPartial() {
-      com.google.shopping.type.CustomAttribute result =
-          new com.google.shopping.type.CustomAttribute(this);
+      com.google.shopping.type.CustomAttribute result = new com.google.shopping.type.CustomAttribute(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -579,39 +533,38 @@ private void buildPartial0(com.google.shopping.type.CustomAttribute result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.type.CustomAttribute) {
-        return mergeFrom((com.google.shopping.type.CustomAttribute) other);
+        return mergeFrom((com.google.shopping.type.CustomAttribute)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -648,10 +601,9 @@ public Builder mergeFrom(com.google.shopping.type.CustomAttribute other) {
             groupValuesBuilder_ = null;
             groupValues_ = other.groupValues_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            groupValuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getGroupValuesFieldBuilder()
-                    : null;
+            groupValuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getGroupValuesFieldBuilder() : null;
           } else {
             groupValuesBuilder_.addAllMessages(other.groupValues_);
           }
@@ -683,38 +635,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                value_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.shopping.type.CustomAttribute m =
-                    input.readMessage(
-                        com.google.shopping.type.CustomAttribute.parser(), extensionRegistry);
-                if (groupValuesBuilder_ == null) {
-                  ensureGroupValuesIsMutable();
-                  groupValues_.add(m);
-                } else {
-                  groupValuesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              value_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.shopping.type.CustomAttribute m =
+                  input.readMessage(
+                      com.google.shopping.type.CustomAttribute.parser(),
+                      extensionRegistry);
+              if (groupValuesBuilder_ == null) {
+                ensureGroupValuesIsMutable();
+                groupValues_.add(m);
+              } else {
+                groupValuesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -724,39 +673,33 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the attribute.
      * 
* * optional string name = 1; - * * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The name of the attribute.
      * 
* * optional 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; @@ -765,21 +708,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the attribute.
      * 
* * optional 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 { @@ -787,35 +729,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the attribute.
      * 
* * optional string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the attribute.
      * 
* * optional string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -825,21 +760,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the attribute.
      * 
* * optional string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -849,36 +780,31 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object value_ = ""; /** - * - * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -887,22 +813,21 @@ public java.lang.String getValue() { } } /** - * - * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -910,37 +835,30 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -950,22 +868,18 @@ public Builder clearValue() { return this; } /** - * - * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -974,25 +888,18 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { } private java.util.List groupValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGroupValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - groupValues_ = - new java.util.ArrayList(groupValues_); + groupValues_ = new java.util.ArrayList(groupValues_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.type.CustomAttribute, - com.google.shopping.type.CustomAttribute.Builder, - com.google.shopping.type.CustomAttributeOrBuilder> - groupValuesBuilder_; + com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> groupValuesBuilder_; /** - * - * *
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1008,8 +915,6 @@ public java.util.List getGroupValuesLi
       }
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1025,8 +930,6 @@ public int getGroupValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1042,8 +945,6 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1051,7 +952,8 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public Builder setGroupValues(int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder setGroupValues(
+        int index, com.google.shopping.type.CustomAttribute value) {
       if (groupValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1065,8 +967,6 @@ public Builder setGroupValues(int index, com.google.shopping.type.CustomAttribut
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1086,8 +986,6 @@ public Builder setGroupValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1109,8 +1007,6 @@ public Builder addGroupValues(com.google.shopping.type.CustomAttribute value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1118,7 +1014,8 @@ public Builder addGroupValues(com.google.shopping.type.CustomAttribute value) {
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public Builder addGroupValues(int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder addGroupValues(
+        int index, com.google.shopping.type.CustomAttribute value) {
       if (groupValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1132,8 +1029,6 @@ public Builder addGroupValues(int index, com.google.shopping.type.CustomAttribut
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1153,8 +1048,6 @@ public Builder addGroupValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1174,8 +1067,6 @@ public Builder addGroupValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1187,7 +1078,8 @@ public Builder addAllGroupValues(
         java.lang.Iterable values) {
       if (groupValuesBuilder_ == null) {
         ensureGroupValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, groupValues_);
         onChanged();
       } else {
         groupValuesBuilder_.addAllMessages(values);
@@ -1195,8 +1087,6 @@ public Builder addAllGroupValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1215,8 +1105,6 @@ public Builder clearGroupValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1235,8 +1123,6 @@ public Builder removeGroupValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1244,12 +1130,11 @@ public Builder removeGroupValues(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public com.google.shopping.type.CustomAttribute.Builder getGroupValuesBuilder(int index) {
+    public com.google.shopping.type.CustomAttribute.Builder getGroupValuesBuilder(
+        int index) {
       return getGroupValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1257,16 +1142,14 @@ public com.google.shopping.type.CustomAttribute.Builder getGroupValuesBuilder(in
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(int index) {
+    public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(
+        int index) {
       if (groupValuesBuilder_ == null) {
-        return groupValues_.get(index);
-      } else {
+        return groupValues_.get(index);  } else {
         return groupValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1274,8 +1157,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public java.util.List
-        getGroupValuesOrBuilderList() {
+    public java.util.List 
+         getGroupValuesOrBuilderList() {
       if (groupValuesBuilder_ != null) {
         return groupValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1283,8 +1166,6 @@ public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1293,12 +1174,10 @@ public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
     public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder() {
-      return getGroupValuesFieldBuilder()
-          .addBuilder(com.google.shopping.type.CustomAttribute.getDefaultInstance());
+      return getGroupValuesFieldBuilder().addBuilder(
+          com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1306,13 +1185,12 @@ public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder()
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(int index) {
-      return getGroupValuesFieldBuilder()
-          .addBuilder(index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
+    public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(
+        int index) {
+      return getGroupValuesFieldBuilder().addBuilder(
+          index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1320,30 +1198,27 @@ public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(in
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public java.util.List
-        getGroupValuesBuilderList() {
+    public java.util.List 
+         getGroupValuesBuilderList() {
       return getGroupValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.shopping.type.CustomAttribute,
-            com.google.shopping.type.CustomAttribute.Builder,
-            com.google.shopping.type.CustomAttributeOrBuilder>
+        com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> 
         getGroupValuesFieldBuilder() {
       if (groupValuesBuilder_ == null) {
-        groupValuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.shopping.type.CustomAttribute,
-                com.google.shopping.type.CustomAttribute.Builder,
-                com.google.shopping.type.CustomAttributeOrBuilder>(
-                groupValues_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        groupValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>(
+                groupValues_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         groupValues_ = null;
       }
       return groupValuesBuilder_;
     }
-
     @java.lang.Override
-    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 +1228,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.shopping.type.CustomAttribute)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.type.CustomAttribute)
   private static final com.google.shopping.type.CustomAttribute DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.shopping.type.CustomAttribute();
   }
@@ -1367,27 +1242,27 @@ public static com.google.shopping.type.CustomAttribute getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CustomAttribute parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CustomAttribute parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1402,4 +1277,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.shopping.type.CustomAttribute getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
similarity index 74%
rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
index 6e2f027973f6..b0cd57501197 100644
--- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
@@ -1,108 +1,74 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/type/types.proto
 
 package com.google.shopping.type;
 
-public interface CustomAttributeOrBuilder
-    extends
+public interface CustomAttributeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.shopping.type.CustomAttribute)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the attribute.
    * 
* * optional string name = 1; - * * @return Whether the name field is set. */ boolean hasName(); /** - * - * *
    * The name of the attribute.
    * 
* * optional string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the attribute.
    * 
* * optional string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -110,10 +76,9 @@ public interface CustomAttributeOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
-  java.util.List getGroupValuesList();
+  java.util.List 
+      getGroupValuesList();
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -123,8 +88,6 @@ public interface CustomAttributeOrBuilder
    */
   com.google.shopping.type.CustomAttribute getGroupValues(int index);
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -134,8 +97,6 @@ public interface CustomAttributeOrBuilder
    */
   int getGroupValuesCount();
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -143,11 +104,9 @@ public interface CustomAttributeOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
-  java.util.List
+  java.util.List 
       getGroupValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -155,5 +114,6 @@ public interface CustomAttributeOrBuilder
    *
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
-  com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(int index);
+  com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
new file mode 100644
index 000000000000..e1cf44343d9b
--- /dev/null
+++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
@@ -0,0 +1,629 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/type/types.proto
+
+package com.google.shopping.type;
+
+/**
+ * 
+ * Destinations available for a product.
+ *
+ * Destinations are used in Merchant Center to allow you to control where the
+ * products from your data feed should be displayed.
+ * 
+ * + * Protobuf type {@code google.shopping.type.Destination} + */ +public final class Destination extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.shopping.type.Destination) + DestinationOrBuilder { +private static final long serialVersionUID = 0L; + // Use Destination.newBuilder() to construct. + private Destination(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Destination() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Destination(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.type.Destination.class, com.google.shopping.type.Destination.Builder.class); + } + + /** + *
+   * Destination values.
+   * 
+ * + * Protobuf enum {@code google.shopping.type.Destination.DestinationEnum} + */ + public enum DestinationEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Not specified.
+     * 
+ * + * DESTINATION_ENUM_UNSPECIFIED = 0; + */ + DESTINATION_ENUM_UNSPECIFIED(0), + /** + *
+     * [Shopping ads](https://support.google.com/google-ads/answer/2454022).
+     * 
+ * + * SHOPPING_ADS = 1; + */ + SHOPPING_ADS(1), + /** + *
+     * [Display ads](https://support.google.com/merchants/answer/6069387).
+     * 
+ * + * DISPLAY_ADS = 2; + */ + DISPLAY_ADS(2), + /** + *
+     * [Local inventory
+     * ads](https://support.google.com/merchants/answer/3057972).
+     * 
+ * + * LOCAL_INVENTORY_ADS = 3; + */ + LOCAL_INVENTORY_ADS(3), + /** + *
+     * [Free listings](https://support.google.com/merchants/answer/9199328).
+     * 
+ * + * FREE_LISTINGS = 4; + */ + FREE_LISTINGS(4), + /** + *
+     * [Free local product
+     * listings](https://support.google.com/merchants/answer/9825611).
+     * 
+ * + * FREE_LOCAL_LISTINGS = 5; + */ + FREE_LOCAL_LISTINGS(5), + /** + *
+     * [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
+     * 
+ * + * YOUTUBE_SHOPPING = 6; + */ + YOUTUBE_SHOPPING(6), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Not specified.
+     * 
+ * + * DESTINATION_ENUM_UNSPECIFIED = 0; + */ + public static final int DESTINATION_ENUM_UNSPECIFIED_VALUE = 0; + /** + *
+     * [Shopping ads](https://support.google.com/google-ads/answer/2454022).
+     * 
+ * + * SHOPPING_ADS = 1; + */ + public static final int SHOPPING_ADS_VALUE = 1; + /** + *
+     * [Display ads](https://support.google.com/merchants/answer/6069387).
+     * 
+ * + * DISPLAY_ADS = 2; + */ + public static final int DISPLAY_ADS_VALUE = 2; + /** + *
+     * [Local inventory
+     * ads](https://support.google.com/merchants/answer/3057972).
+     * 
+ * + * LOCAL_INVENTORY_ADS = 3; + */ + public static final int LOCAL_INVENTORY_ADS_VALUE = 3; + /** + *
+     * [Free listings](https://support.google.com/merchants/answer/9199328).
+     * 
+ * + * FREE_LISTINGS = 4; + */ + public static final int FREE_LISTINGS_VALUE = 4; + /** + *
+     * [Free local product
+     * listings](https://support.google.com/merchants/answer/9825611).
+     * 
+ * + * FREE_LOCAL_LISTINGS = 5; + */ + public static final int FREE_LOCAL_LISTINGS_VALUE = 5; + /** + *
+     * [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
+     * 
+ * + * YOUTUBE_SHOPPING = 6; + */ + public static final int YOUTUBE_SHOPPING_VALUE = 6; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DestinationEnum valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static DestinationEnum forNumber(int value) { + switch (value) { + case 0: return DESTINATION_ENUM_UNSPECIFIED; + case 1: return SHOPPING_ADS; + case 2: return DISPLAY_ADS; + case 3: return LOCAL_INVENTORY_ADS; + case 4: return FREE_LISTINGS; + case 5: return FREE_LOCAL_LISTINGS; + case 6: return YOUTUBE_SHOPPING; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + DestinationEnum> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DestinationEnum findValueByNumber(int number) { + return DestinationEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.shopping.type.Destination.getDescriptor().getEnumTypes().get(0); + } + + private static final DestinationEnum[] VALUES = values(); + + public static DestinationEnum valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private DestinationEnum(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.shopping.type.Destination.DestinationEnum) + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.shopping.type.Destination)) { + return super.equals(obj); + } + com.google.shopping.type.Destination other = (com.google.shopping.type.Destination) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.shopping.type.Destination parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.Destination parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.Destination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.Destination parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.Destination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.Destination parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.Destination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.shopping.type.Destination parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.shopping.type.Destination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.shopping.type.Destination parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.shopping.type.Destination parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.shopping.type.Destination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.shopping.type.Destination prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Destinations available for a product.
+   *
+   * Destinations are used in Merchant Center to allow you to control where the
+   * products from your data feed should be displayed.
+   * 
+ * + * Protobuf type {@code google.shopping.type.Destination} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.shopping.type.Destination) + com.google.shopping.type.DestinationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.type.Destination.class, com.google.shopping.type.Destination.Builder.class); + } + + // Construct using com.google.shopping.type.Destination.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_descriptor; + } + + @java.lang.Override + public com.google.shopping.type.Destination getDefaultInstanceForType() { + return com.google.shopping.type.Destination.getDefaultInstance(); + } + + @java.lang.Override + public com.google.shopping.type.Destination build() { + com.google.shopping.type.Destination result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.shopping.type.Destination buildPartial() { + com.google.shopping.type.Destination result = new com.google.shopping.type.Destination(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.shopping.type.Destination) { + return mergeFrom((com.google.shopping.type.Destination)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.shopping.type.Destination other) { + if (other == com.google.shopping.type.Destination.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.shopping.type.Destination) + } + + // @@protoc_insertion_point(class_scope:google.shopping.type.Destination) + private static final com.google.shopping.type.Destination DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.shopping.type.Destination(); + } + + public static com.google.shopping.type.Destination getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Destination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.shopping.type.Destination getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java new file mode 100644 index 000000000000..9592163e8b16 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/type/types.proto + +package com.google.shopping.type; + +public interface DestinationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.shopping.type.Destination) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java similarity index 71% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java index 64a582473d71..03a8876ef906 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java @@ -1,62 +1,44 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/type/types.proto package com.google.shopping.type; /** - * - * *
  * The price represented as a number and currency.
  * 
* * Protobuf type {@code google.shopping.type.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.shopping.type.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() { currencyCode_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Price(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.type.TypesProto - .internal_static_google_shopping_type_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.type.TypesProto - .internal_static_google_shopping_type_Price_fieldAccessorTable + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.shopping.type.Price.class, com.google.shopping.type.Price.Builder.class); } @@ -65,16 +47,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int AMOUNT_MICROS_FIELD_NUMBER = 1; private long amountMicros_ = 0L; /** - * - * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
    * micros).
+   * This field can also be set as infinity by setting to -1.
+   * This field only support -1 and positive value.
    * 
* * optional int64 amount_micros = 1; - * * @return Whether the amountMicros field is set. */ @java.lang.Override @@ -82,16 +63,15 @@ public boolean hasAmountMicros() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
    * micros).
+   * This field can also be set as infinity by setting to -1.
+   * This field only support -1 and positive value.
    * 
* * optional int64 amount_micros = 1; - * * @return The amountMicros. */ @java.lang.Override @@ -100,19 +80,15 @@ public long getAmountMicros() { } public static final int CURRENCY_CODE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** - * - * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; - * * @return Whether the currencyCode field is set. */ @java.lang.Override @@ -120,15 +96,12 @@ public boolean hasCurrencyCode() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; - * * @return The currencyCode. */ @java.lang.Override @@ -137,30 +110,30 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** - * - * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; - * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, amountMicros_); } @@ -198,7 +171,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, amountMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, amountMicros_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, currencyCode_); @@ -211,7 +185,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.shopping.type.Price)) { return super.equals(obj); @@ -220,11 +194,13 @@ public boolean equals(final java.lang.Object obj) { if (hasAmountMicros() != other.hasAmountMicros()) return false; if (hasAmountMicros()) { - if (getAmountMicros() != other.getAmountMicros()) return false; + if (getAmountMicros() + != other.getAmountMicros()) return false; } if (hasCurrencyCode() != other.hasCurrencyCode()) return false; if (hasCurrencyCode()) { - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; + if (!getCurrencyCode() + .equals(other.getCurrencyCode())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -239,7 +215,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasAmountMicros()) { hash = (37 * hash) + AMOUNT_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAmountMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAmountMicros()); } if (hasCurrencyCode()) { hash = (37 * hash) + CURRENCY_CODE_FIELD_NUMBER; @@ -250,134 +227,132 @@ public int hashCode() { return hash; } - public static com.google.shopping.type.Price parseFrom(java.nio.ByteBuffer data) + public static com.google.shopping.type.Price parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.type.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.shopping.type.Price parseFrom(com.google.protobuf.ByteString data) + public static com.google.shopping.type.Price parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.type.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.shopping.type.Price parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.type.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.shopping.type.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.shopping.type.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.shopping.type.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.shopping.type.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.shopping.type.Price parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.shopping.type.Price parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.shopping.type.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.shopping.type.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; } /** - * - * *
    * The price represented as a number and currency.
    * 
* * Protobuf type {@code google.shopping.type.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.shopping.type.Price) com.google.shopping.type.PriceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.shopping.type.TypesProto - .internal_static_google_shopping_type_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.type.TypesProto - .internal_static_google_shopping_type_Price_fieldAccessorTable + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.shopping.type.Price.class, com.google.shopping.type.Price.Builder.class); } // Construct using com.google.shopping.type.Price.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.shopping.type.TypesProto - .internal_static_google_shopping_type_Price_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override @@ -410,9 +385,7 @@ public com.google.shopping.type.Price build() { @java.lang.Override public com.google.shopping.type.Price buildPartial() { com.google.shopping.type.Price result = new com.google.shopping.type.Price(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,39 +408,38 @@ private void buildPartial0(com.google.shopping.type.Price result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.Price) { - return mergeFrom((com.google.shopping.type.Price) other); + return mergeFrom((com.google.shopping.type.Price)other); } else { super.mergeFrom(other); return this; @@ -510,25 +482,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - amountMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - currencyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + amountMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + currencyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,21 +507,19 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long amountMicros_; + private long amountMicros_ ; /** - * - * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
      * micros).
+     * This field can also be set as infinity by setting to -1.
+     * This field only support -1 and positive value.
      * 
* * optional int64 amount_micros = 1; - * * @return Whether the amountMicros field is set. */ @java.lang.Override @@ -560,16 +527,15 @@ public boolean hasAmountMicros() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
      * micros).
+     * This field can also be set as infinity by setting to -1.
+     * This field only support -1 and positive value.
      * 
* * optional int64 amount_micros = 1; - * * @return The amountMicros. */ @java.lang.Override @@ -577,16 +543,15 @@ public long getAmountMicros() { return amountMicros_; } /** - * - * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
      * micros).
+     * This field can also be set as infinity by setting to -1.
+     * This field only support -1 and positive value.
      * 
* * optional int64 amount_micros = 1; - * * @param value The amountMicros to set. * @return This builder for chaining. */ @@ -598,16 +563,15 @@ public Builder setAmountMicros(long value) { return this; } /** - * - * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
      * micros).
+     * This field can also be set as infinity by setting to -1.
+     * This field only support -1 and positive value.
      * 
* * optional int64 amount_micros = 1; - * * @return This builder for chaining. */ public Builder clearAmountMicros() { @@ -619,36 +583,31 @@ public Builder clearAmountMicros() { private java.lang.Object currencyCode_ = ""; /** - * - * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; - * * @return Whether the currencyCode field is set. */ public boolean hasCurrencyCode() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; - * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -657,22 +616,21 @@ public java.lang.String getCurrencyCode() { } } /** - * - * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; - * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -680,37 +638,30 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } } /** - * - * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; - * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCurrencyCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } currencyCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; - * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -720,31 +671,27 @@ public Builder clearCurrencyCode() { return this; } /** - * - * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; - * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCurrencyCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.shopping.type.Price) } // @@protoc_insertion_point(class_scope:google.shopping.type.Price) private static final com.google.shopping.type.Price DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.shopping.type.Price(); } @@ -768,27 +715,27 @@ public static com.google.shopping.type.Price getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Price parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Price parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,4 +750,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.shopping.type.Price getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java similarity index 69% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java index d071d52a528a..ae1bff897bfd 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java @@ -1,94 +1,68 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/type/types.proto package com.google.shopping.type; -public interface PriceOrBuilder - extends +public interface PriceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.shopping.type.Price) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
    * micros).
+   * This field can also be set as infinity by setting to -1.
+   * This field only support -1 and positive value.
    * 
* * optional int64 amount_micros = 1; - * * @return Whether the amountMicros field is set. */ boolean hasAmountMicros(); /** - * - * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
    * micros).
+   * This field can also be set as infinity by setting to -1.
+   * This field only support -1 and positive value.
    * 
* * optional int64 amount_micros = 1; - * * @return The amountMicros. */ long getAmountMicros(); /** - * - * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; - * * @return Whether the currencyCode field is set. */ boolean hasCurrencyCode(); /** - * - * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; - * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** - * - * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; - * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); + com.google.protobuf.ByteString + getCurrencyCodeBytes(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java new file mode 100644 index 000000000000..ab22f65f6864 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java @@ -0,0 +1,747 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/type/types.proto + +package com.google.shopping.type; + +/** + *
+ * Reporting contexts that your account and product issues apply to.
+ *
+ * Reporting contexts are groups of surfaces and formats for product results on
+ * Google. They can represent the entire destination (for example, [Shopping
+ * ads](https://support.google.com/merchants/answer/6149970)) or a subset of
+ * formats within a destination (for example, [Discovery
+ * ads](https://support.google.com/merchants/answer/13389785)).
+ * 
+ * + * Protobuf type {@code google.shopping.type.ReportingContext} + */ +public final class ReportingContext extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.shopping.type.ReportingContext) + ReportingContextOrBuilder { +private static final long serialVersionUID = 0L; + // Use ReportingContext.newBuilder() to construct. + private ReportingContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReportingContext() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReportingContext(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.type.ReportingContext.class, com.google.shopping.type.ReportingContext.Builder.class); + } + + /** + *
+   * Reporting context values.
+   * 
+ * + * Protobuf enum {@code google.shopping.type.ReportingContext.ReportingContextEnum} + */ + public enum ReportingContextEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Not specified.
+     * 
+ * + * REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0; + */ + REPORTING_CONTEXT_ENUM_UNSPECIFIED(0), + /** + *
+     * [Shopping ads](https://support.google.com/merchants/answer/6149970).
+     * 
+ * + * SHOPPING_ADS = 1; + */ + SHOPPING_ADS(1), + /** + *
+     * [Discovery and Demand Gen
+     * ads](https://support.google.com/merchants/answer/13389785).
+     * 
+ * + * DISCOVERY_ADS = 2; + */ + DISCOVERY_ADS(2), + /** + *
+     * [Video ads](https://support.google.com/google-ads/answer/6340491).
+     * 
+ * + * VIDEO_ADS = 3; + */ + VIDEO_ADS(3), + /** + *
+     * [Display ads](https://support.google.com/merchants/answer/6069387).
+     * 
+ * + * DISPLAY_ADS = 4; + */ + DISPLAY_ADS(4), + /** + *
+     * [Local inventory
+     * ads](https://support.google.com/merchants/answer/3271956).
+     * 
+ * + * LOCAL_INVENTORY_ADS = 5; + */ + LOCAL_INVENTORY_ADS(5), + /** + *
+     * [Vehicle inventory
+     * ads](https://support.google.com/merchants/answer/11544533).
+     * 
+ * + * VEHICLE_INVENTORY_ADS = 6; + */ + VEHICLE_INVENTORY_ADS(6), + /** + *
+     * [Free product
+     * listings](https://support.google.com/merchants/answer/9199328).
+     * 
+ * + * FREE_LISTINGS = 7; + */ + FREE_LISTINGS(7), + /** + *
+     * [Free local product
+     * listings](https://support.google.com/merchants/answer/9825611).
+     * 
+ * + * FREE_LOCAL_LISTINGS = 8; + */ + FREE_LOCAL_LISTINGS(8), + /** + *
+     * [Free local vehicle
+     * listings](https://support.google.com/merchants/answer/11544533).
+     * 
+ * + * FREE_LOCAL_VEHICLE_LISTINGS = 9; + */ + FREE_LOCAL_VEHICLE_LISTINGS(9), + /** + *
+     * [YouTube
+     * Shopping](https://support.google.com/merchants/answer/13478370).
+     * 
+ * + * YOUTUBE_SHOPPING = 10; + */ + YOUTUBE_SHOPPING(10), + /** + *
+     * [Cloud retail](https://cloud.google.com/solutions/retail).
+     * 
+ * + * CLOUD_RETAIL = 11; + */ + CLOUD_RETAIL(11), + /** + *
+     * [Local cloud retail](https://cloud.google.com/solutions/retail).
+     * 
+ * + * LOCAL_CLOUD_RETAIL = 12; + */ + LOCAL_CLOUD_RETAIL(12), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Not specified.
+     * 
+ * + * REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0; + */ + public static final int REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE = 0; + /** + *
+     * [Shopping ads](https://support.google.com/merchants/answer/6149970).
+     * 
+ * + * SHOPPING_ADS = 1; + */ + public static final int SHOPPING_ADS_VALUE = 1; + /** + *
+     * [Discovery and Demand Gen
+     * ads](https://support.google.com/merchants/answer/13389785).
+     * 
+ * + * DISCOVERY_ADS = 2; + */ + public static final int DISCOVERY_ADS_VALUE = 2; + /** + *
+     * [Video ads](https://support.google.com/google-ads/answer/6340491).
+     * 
+ * + * VIDEO_ADS = 3; + */ + public static final int VIDEO_ADS_VALUE = 3; + /** + *
+     * [Display ads](https://support.google.com/merchants/answer/6069387).
+     * 
+ * + * DISPLAY_ADS = 4; + */ + public static final int DISPLAY_ADS_VALUE = 4; + /** + *
+     * [Local inventory
+     * ads](https://support.google.com/merchants/answer/3271956).
+     * 
+ * + * LOCAL_INVENTORY_ADS = 5; + */ + public static final int LOCAL_INVENTORY_ADS_VALUE = 5; + /** + *
+     * [Vehicle inventory
+     * ads](https://support.google.com/merchants/answer/11544533).
+     * 
+ * + * VEHICLE_INVENTORY_ADS = 6; + */ + public static final int VEHICLE_INVENTORY_ADS_VALUE = 6; + /** + *
+     * [Free product
+     * listings](https://support.google.com/merchants/answer/9199328).
+     * 
+ * + * FREE_LISTINGS = 7; + */ + public static final int FREE_LISTINGS_VALUE = 7; + /** + *
+     * [Free local product
+     * listings](https://support.google.com/merchants/answer/9825611).
+     * 
+ * + * FREE_LOCAL_LISTINGS = 8; + */ + public static final int FREE_LOCAL_LISTINGS_VALUE = 8; + /** + *
+     * [Free local vehicle
+     * listings](https://support.google.com/merchants/answer/11544533).
+     * 
+ * + * FREE_LOCAL_VEHICLE_LISTINGS = 9; + */ + public static final int FREE_LOCAL_VEHICLE_LISTINGS_VALUE = 9; + /** + *
+     * [YouTube
+     * Shopping](https://support.google.com/merchants/answer/13478370).
+     * 
+ * + * YOUTUBE_SHOPPING = 10; + */ + public static final int YOUTUBE_SHOPPING_VALUE = 10; + /** + *
+     * [Cloud retail](https://cloud.google.com/solutions/retail).
+     * 
+ * + * CLOUD_RETAIL = 11; + */ + public static final int CLOUD_RETAIL_VALUE = 11; + /** + *
+     * [Local cloud retail](https://cloud.google.com/solutions/retail).
+     * 
+ * + * LOCAL_CLOUD_RETAIL = 12; + */ + public static final int LOCAL_CLOUD_RETAIL_VALUE = 12; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ReportingContextEnum valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ReportingContextEnum forNumber(int value) { + switch (value) { + case 0: return REPORTING_CONTEXT_ENUM_UNSPECIFIED; + case 1: return SHOPPING_ADS; + case 2: return DISCOVERY_ADS; + case 3: return VIDEO_ADS; + case 4: return DISPLAY_ADS; + case 5: return LOCAL_INVENTORY_ADS; + case 6: return VEHICLE_INVENTORY_ADS; + case 7: return FREE_LISTINGS; + case 8: return FREE_LOCAL_LISTINGS; + case 9: return FREE_LOCAL_VEHICLE_LISTINGS; + case 10: return YOUTUBE_SHOPPING; + case 11: return CLOUD_RETAIL; + case 12: return LOCAL_CLOUD_RETAIL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ReportingContextEnum> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ReportingContextEnum findValueByNumber(int number) { + return ReportingContextEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.shopping.type.ReportingContext.getDescriptor().getEnumTypes().get(0); + } + + private static final ReportingContextEnum[] VALUES = values(); + + public static ReportingContextEnum valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ReportingContextEnum(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.shopping.type.ReportingContext.ReportingContextEnum) + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.shopping.type.ReportingContext)) { + return super.equals(obj); + } + com.google.shopping.type.ReportingContext other = (com.google.shopping.type.ReportingContext) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.shopping.type.ReportingContext parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.ReportingContext parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.ReportingContext parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.ReportingContext parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.ReportingContext parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.shopping.type.ReportingContext parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.shopping.type.ReportingContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.shopping.type.ReportingContext parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.shopping.type.ReportingContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.shopping.type.ReportingContext parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.shopping.type.ReportingContext parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.shopping.type.ReportingContext parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.shopping.type.ReportingContext prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Reporting contexts that your account and product issues apply to.
+   *
+   * Reporting contexts are groups of surfaces and formats for product results on
+   * Google. They can represent the entire destination (for example, [Shopping
+   * ads](https://support.google.com/merchants/answer/6149970)) or a subset of
+   * formats within a destination (for example, [Discovery
+   * ads](https://support.google.com/merchants/answer/13389785)).
+   * 
+ * + * Protobuf type {@code google.shopping.type.ReportingContext} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.shopping.type.ReportingContext) + com.google.shopping.type.ReportingContextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.type.ReportingContext.class, com.google.shopping.type.ReportingContext.Builder.class); + } + + // Construct using com.google.shopping.type.ReportingContext.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_descriptor; + } + + @java.lang.Override + public com.google.shopping.type.ReportingContext getDefaultInstanceForType() { + return com.google.shopping.type.ReportingContext.getDefaultInstance(); + } + + @java.lang.Override + public com.google.shopping.type.ReportingContext build() { + com.google.shopping.type.ReportingContext result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.shopping.type.ReportingContext buildPartial() { + com.google.shopping.type.ReportingContext result = new com.google.shopping.type.ReportingContext(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.shopping.type.ReportingContext) { + return mergeFrom((com.google.shopping.type.ReportingContext)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.shopping.type.ReportingContext other) { + if (other == com.google.shopping.type.ReportingContext.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.shopping.type.ReportingContext) + } + + // @@protoc_insertion_point(class_scope:google.shopping.type.ReportingContext) + private static final com.google.shopping.type.ReportingContext DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.shopping.type.ReportingContext(); + } + + public static com.google.shopping.type.ReportingContext getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportingContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.shopping.type.ReportingContext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java new file mode 100644 index 000000000000..32a724110a01 --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/type/types.proto + +package com.google.shopping.type; + +public interface ReportingContextOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.shopping.type.ReportingContext) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java new file mode 100644 index 000000000000..f680720eab3a --- /dev/null +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/type/types.proto + +package com.google.shopping.type; + +public final class TypesProto { + private TypesProto() {} + 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_shopping_type_Price_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_shopping_type_Price_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_shopping_type_CustomAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_shopping_type_Destination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_shopping_type_Destination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_shopping_type_ReportingContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_shopping_type_ReportingContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_shopping_type_Channel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_shopping_type_Channel_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/shopping/type/types.proto\022\024goog" + + "le.shopping.type\"c\n\005Price\022\032\n\ramount_micr" + + "os\030\001 \001(\003H\000\210\001\001\022\032\n\rcurrency_code\030\002 \001(\tH\001\210\001" + + "\001B\020\n\016_amount_microsB\020\n\016_currency_code\"\210\001" + + "\n\017CustomAttribute\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\022\n\005" + + "value\030\002 \001(\tH\001\210\001\001\022;\n\014group_values\030\003 \003(\0132%" + + ".google.shopping.type.CustomAttributeB\007\n" + + "\005_nameB\010\n\006_value\"\301\001\n\013Destination\"\261\001\n\017Des" + + "tinationEnum\022 \n\034DESTINATION_ENUM_UNSPECI" + + "FIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022\017\n\013DISPLAY_ADS\020" + + "\002\022\027\n\023LOCAL_INVENTORY_ADS\020\003\022\021\n\rFREE_LISTI" + + "NGS\020\004\022\027\n\023FREE_LOCAL_LISTINGS\020\005\022\024\n\020YOUTUB" + + "E_SHOPPING\020\006\"\331\002\n\020ReportingContext\"\304\002\n\024Re" + + "portingContextEnum\022&\n\"REPORTING_CONTEXT_" + + "ENUM_UNSPECIFIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022\021\n\r" + + "DISCOVERY_ADS\020\002\022\r\n\tVIDEO_ADS\020\003\022\017\n\013DISPLA" + + "Y_ADS\020\004\022\027\n\023LOCAL_INVENTORY_ADS\020\005\022\031\n\025VEHI" + + "CLE_INVENTORY_ADS\020\006\022\021\n\rFREE_LISTINGS\020\007\022\027" + + "\n\023FREE_LOCAL_LISTINGS\020\010\022\037\n\033FREE_LOCAL_VE" + + "HICLE_LISTINGS\020\t\022\024\n\020YOUTUBE_SHOPPING\020\n\022\020" + + "\n\014CLOUD_RETAIL\020\013\022\026\n\022LOCAL_CLOUD_RETAIL\020\014" + + "\"M\n\007Channel\"B\n\013ChannelEnum\022\034\n\030CHANNEL_EN" + + "UM_UNSPECIFIED\020\000\022\n\n\006ONLINE\020\001\022\t\n\005LOCAL\020\002B" + + "p\n\030com.google.shopping.typeB\nTypesProtoP" + + "\001Z/cloud.google.com/go/shopping/type/typ" + + "epb;typepb\252\002\024Google.Shopping.Typeb\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_shopping_type_Price_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_shopping_type_Price_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_shopping_type_Price_descriptor, + new java.lang.String[] { "AmountMicros", "CurrencyCode", "AmountMicros", "CurrencyCode", }); + internal_static_google_shopping_type_CustomAttribute_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_shopping_type_CustomAttribute_descriptor, + new java.lang.String[] { "Name", "Value", "GroupValues", "Name", "Value", }); + internal_static_google_shopping_type_Destination_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_shopping_type_Destination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_shopping_type_Destination_descriptor, + new java.lang.String[] { }); + internal_static_google_shopping_type_ReportingContext_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_shopping_type_ReportingContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_shopping_type_ReportingContext_descriptor, + new java.lang.String[] { }); + internal_static_google_shopping_type_Channel_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_shopping_type_Channel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_shopping_type_Channel_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto similarity index 98% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto index 2e35cb5a163c..6e128d2bc6ab 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/shopping/type/types.proto"; import "google/type/interval.proto"; -option go_package = "google.golang.org/genproto/googleapis/shopping/merchant/inventories/v1beta;inventories"; +option go_package = "cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb;inventoriespb"; option java_multiple_files = true; option java_outer_classname = "LocalInventoryProto"; option java_package = "com.google.shopping.merchant.inventories.v1beta"; diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto similarity index 98% rename from java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto index 7b3a76e5e103..756bef28ce6a 100644 --- a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto +++ b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/shopping/type/types.proto"; import "google/type/interval.proto"; -option go_package = "google.golang.org/genproto/googleapis/shopping/merchant/inventories/v1beta;inventories"; +option go_package = "cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb;inventoriespb"; option java_multiple_files = true; option java_outer_classname = "RegionalInventoryProto"; option java_package = "com.google.shopping.merchant.inventories.v1beta"; diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java diff --git a/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java similarity index 100% rename from java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java rename to owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java From fa8446059c59446c7c1576645747afab4003f6c8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Oct 2023 19:17:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-shopping-merchant-inventories/README.md | 4 +- .../v1beta/LocalInventoryServiceClient.java | 0 .../v1beta/LocalInventoryServiceSettings.java | 1 - .../RegionalInventoryServiceClient.java | 0 .../RegionalInventoryServiceSettings.java | 1 - .../inventories/v1beta/gapic_metadata.json | 0 .../inventories/v1beta/package-info.java | 0 ...cLocalInventoryServiceCallableFactory.java | 0 .../stub/GrpcLocalInventoryServiceStub.java | 1 - ...gionalInventoryServiceCallableFactory.java | 0 .../GrpcRegionalInventoryServiceStub.java | 1 - ...nLocalInventoryServiceCallableFactory.java | 0 .../HttpJsonLocalInventoryServiceStub.java | 0 ...gionalInventoryServiceCallableFactory.java | 0 .../HttpJsonRegionalInventoryServiceStub.java | 0 .../stub/LocalInventoryServiceStub.java | 0 .../LocalInventoryServiceStubSettings.java | 0 .../stub/RegionalInventoryServiceStub.java | 0 .../RegionalInventoryServiceStubSettings.java | 0 .../reflect-config.json | 0 ...calInventoryServiceClientHttpJsonTest.java | 0 .../LocalInventoryServiceClientTest.java | 0 .../v1beta/MockLocalInventoryService.java | 0 .../v1beta/MockLocalInventoryServiceImpl.java | 0 .../v1beta/MockRegionalInventoryService.java | 0 .../MockRegionalInventoryServiceImpl.java | 0 ...nalInventoryServiceClientHttpJsonTest.java | 0 .../RegionalInventoryServiceClientTest.java | 0 .../v1beta/LocalInventoryServiceGrpc.java | 455 ++++-- .../v1beta/RegionalInventoryServiceGrpc.java | 728 ++++++++++ .../v1beta/DeleteLocalInventoryRequest.java | 445 +++--- .../DeleteLocalInventoryRequestOrBuilder.java | 58 + .../DeleteRegionalInventoryRequest.java | 454 +++--- ...leteRegionalInventoryRequestOrBuilder.java | 58 + .../v1beta/InsertLocalInventoryRequest.java | 577 +++++--- .../InsertLocalInventoryRequestOrBuilder.java | 50 +- .../InsertRegionalInventoryRequest.java | 592 +++++--- ...sertRegionalInventoryRequestOrBuilder.java | 50 +- .../v1beta/ListLocalInventoriesRequest.java | 520 ++++--- .../ListLocalInventoriesRequestOrBuilder.java | 39 +- .../v1beta/ListLocalInventoriesResponse.java | 702 ++++++---- ...ListLocalInventoriesResponseOrBuilder.java | 65 +- .../ListRegionalInventoriesRequest.java | 529 ++++--- ...stRegionalInventoriesRequestOrBuilder.java | 39 +- .../ListRegionalInventoriesResponse.java | 717 ++++++---- ...tRegionalInventoriesResponseOrBuilder.java | 69 +- .../inventories/v1beta/LocalInventory.java | 1228 +++++++++++------ .../v1beta/LocalInventoryName.java | 0 .../v1beta/LocalInventoryOrBuilder.java | 135 +- .../v1beta/LocalInventoryProto.java | 211 +++ .../inventories/v1beta/RegionalInventory.java | 964 ++++++++----- .../v1beta/RegionalInventoryName.java | 0 .../v1beta/RegionalInventoryOrBuilder.java | 93 +- .../v1beta/RegionalInventoryProto.java | 200 +++ .../com/google/shopping/type/Channel.java | 292 ++-- .../shopping/type/ChannelOrBuilder.java | 24 + .../google/shopping/type/CustomAttribute.java | 551 +++++--- .../type/CustomAttributeOrBuilder.java | 60 +- .../com/google/shopping/type/Destination.java | 321 +++-- .../shopping/type/DestinationOrBuilder.java | 24 + .../java/com/google/shopping/type/Price.java | 345 +++-- .../google/shopping/type/PriceOrBuilder.java | 36 +- .../shopping/type/ReportingContext.java | 367 +++-- .../type/ReportingContextOrBuilder.java | 24 + .../com/google/shopping/type/TypesProto.java | 125 ++ .../inventories/v1beta/localinventory.proto | 0 .../v1beta/regionalinventory.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteLocalInventory.java | 0 .../SyncDeleteLocalInventory.java | 0 ...eleteLocalInventoryLocalinventoryname.java | 0 .../SyncDeleteLocalInventoryString.java | 0 .../AsyncInsertLocalInventory.java | 0 .../SyncInsertLocalInventory.java | 0 .../AsyncListLocalInventories.java | 0 .../AsyncListLocalInventoriesPaged.java | 0 .../SyncListLocalInventories.java | 0 .../SyncListLocalInventoriesString.java | 0 .../SyncInsertLocalInventory.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegionalInventory.java | 0 .../SyncDeleteRegionalInventory.java | 0 ...egionalInventoryRegionalinventoryname.java | 0 .../SyncDeleteRegionalInventoryString.java | 0 .../AsyncInsertRegionalInventory.java | 0 .../SyncInsertRegionalInventory.java | 0 .../AsyncListRegionalInventories.java | 0 .../AsyncListRegionalInventoriesPaged.java | 0 .../SyncListRegionalInventories.java | 0 .../SyncListRegionalInventoriesString.java | 0 .../SyncInsertRegionalInventory.java | 0 .../SyncInsertLocalInventory.java | 0 .../SyncInsertRegionalInventory.java | 0 .../v1beta/RegionalInventoryServiceGrpc.java | 557 -------- .../DeleteLocalInventoryRequestOrBuilder.java | 33 - ...leteRegionalInventoryRequestOrBuilder.java | 33 - .../v1beta/LocalInventoryProto.java | 176 --- .../v1beta/RegionalInventoryProto.java | 173 --- .../shopping/type/ChannelOrBuilder.java | 9 - .../shopping/type/DestinationOrBuilder.java | 9 - .../type/ReportingContextOrBuilder.java | 9 - .../com/google/shopping/type/TypesProto.java | 116 -- 106 files changed, 7617 insertions(+), 4653 deletions(-) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java (99%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java (99%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java (99%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java (99%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java (50%) create mode 100644 java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java (53%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java (52%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java (58%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java (60%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java (57%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java (60%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java (66%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java (75%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java (59%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java (56%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java (65%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java (76%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java (58%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java (53%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java (78%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java (87%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java (76%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java (85%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java (65%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java (74%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java (74%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java (67%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java (72%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java (72%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java (70%) create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java create mode 100644 java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java (100%) rename {owl-bot-staging/java-shopping-merchant-inventories/v1beta => java-shopping-merchant-inventories}/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java (100%) delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java delete mode 100644 owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java diff --git a/java-shopping-merchant-inventories/README.md b/java-shopping-merchant-inventories/README.md index 6de5acbd9533..dca68d1e8ed3 100644 --- a/java-shopping-merchant-inventories/README.md +++ b/java-shopping-merchant-inventories/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.23.0 + 26.25.0 pom import @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-shopping-merchant-inventories/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-inventories.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/0.4.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClient.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java similarity index 99% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java index 1dc5eb55e893..128602d89417 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClient.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java similarity index 99% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java index b05fe6b30735..4387ecb52bda 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/package-info.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceCallableFactory.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java similarity index 99% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java index f3d4616b86d9..e7ce7fc3a527 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcLocalInventoryServiceStub.java @@ -36,7 +36,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceCallableFactory.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java similarity index 99% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java index d6066dfb81ae..998717f893b6 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/GrpcRegionalInventoryServiceStub.java @@ -36,7 +36,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceCallableFactory.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonLocalInventoryServiceStub.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceCallableFactory.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/HttpJsonRegionalInventoryServiceStub.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStub.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/LocalInventoryServiceStubSettings.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStub.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/RegionalInventoryServiceStubSettings.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceClientTest.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryService.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockLocalInventoryServiceImpl.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryService.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/MockRegionalInventoryServiceImpl.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java rename to java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/test/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceClientTest.java diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java b/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java similarity index 50% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java rename to java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java index 53baa09639a3..5c54cd4168cd 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java +++ b/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.shopping.merchant.inventories.v1beta; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Service to manage local inventory for products
  * 
@@ -15,147 +32,211 @@ public final class LocalInventoryServiceGrpc { private LocalInventoryServiceGrpc() {} - public static final java.lang.String SERVICE_NAME = "google.shopping.merchant.inventories.v1beta.LocalInventoryService"; + public static final java.lang.String SERVICE_NAME = + "google.shopping.merchant.inventories.v1beta.LocalInventoryService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListLocalInventoriesMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> + getListLocalInventoriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListLocalInventories", - requestType = com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, - responseType = com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, + requestType = + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, + responseType = + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListLocalInventoriesMethod() { - io.grpc.MethodDescriptor getListLocalInventoriesMethod; - if ((getListLocalInventoriesMethod = LocalInventoryServiceGrpc.getListLocalInventoriesMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> + getListLocalInventoriesMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> + getListLocalInventoriesMethod; + if ((getListLocalInventoriesMethod = LocalInventoryServiceGrpc.getListLocalInventoriesMethod) + == null) { synchronized (LocalInventoryServiceGrpc.class) { - if ((getListLocalInventoriesMethod = LocalInventoryServiceGrpc.getListLocalInventoriesMethod) == null) { - LocalInventoryServiceGrpc.getListLocalInventoriesMethod = getListLocalInventoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocalInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new LocalInventoryServiceMethodDescriptorSupplier("ListLocalInventories")) - .build(); + if ((getListLocalInventoriesMethod = + LocalInventoryServiceGrpc.getListLocalInventoriesMethod) + == null) { + LocalInventoryServiceGrpc.getListLocalInventoriesMethod = + getListLocalInventoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListLocalInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .ListLocalInventoriesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .ListLocalInventoriesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new LocalInventoryServiceMethodDescriptorSupplier("ListLocalInventories")) + .build(); } } } return getListLocalInventoriesMethod; } - private static volatile io.grpc.MethodDescriptor getInsertLocalInventoryMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.LocalInventory> + getInsertLocalInventoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "InsertLocalInventory", - requestType = com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, + requestType = + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, responseType = com.google.shopping.merchant.inventories.v1beta.LocalInventory.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInsertLocalInventoryMethod() { - io.grpc.MethodDescriptor getInsertLocalInventoryMethod; - if ((getInsertLocalInventoryMethod = LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.LocalInventory> + getInsertLocalInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.LocalInventory> + getInsertLocalInventoryMethod; + if ((getInsertLocalInventoryMethod = LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) + == null) { synchronized (LocalInventoryServiceGrpc.class) { - if ((getInsertLocalInventoryMethod = LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) == null) { - LocalInventoryServiceGrpc.getInsertLocalInventoryMethod = getInsertLocalInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InsertLocalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance())) - .setSchemaDescriptor(new LocalInventoryServiceMethodDescriptorSupplier("InsertLocalInventory")) - .build(); + if ((getInsertLocalInventoryMethod = + LocalInventoryServiceGrpc.getInsertLocalInventoryMethod) + == null) { + LocalInventoryServiceGrpc.getInsertLocalInventoryMethod = + getInsertLocalInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "InsertLocalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .InsertLocalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.LocalInventory + .getDefaultInstance())) + .setSchemaDescriptor( + new LocalInventoryServiceMethodDescriptorSupplier("InsertLocalInventory")) + .build(); } } } return getInsertLocalInventoryMethod; } - private static volatile io.grpc.MethodDescriptor getDeleteLocalInventoryMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, + com.google.protobuf.Empty> + getDeleteLocalInventoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteLocalInventory", - requestType = com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, + requestType = + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteLocalInventoryMethod() { - io.grpc.MethodDescriptor getDeleteLocalInventoryMethod; - if ((getDeleteLocalInventoryMethod = LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, + com.google.protobuf.Empty> + getDeleteLocalInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest, + com.google.protobuf.Empty> + getDeleteLocalInventoryMethod; + if ((getDeleteLocalInventoryMethod = LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) + == null) { synchronized (LocalInventoryServiceGrpc.class) { - if ((getDeleteLocalInventoryMethod = LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) == null) { - LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod = getDeleteLocalInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteLocalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new LocalInventoryServiceMethodDescriptorSupplier("DeleteLocalInventory")) - .build(); + if ((getDeleteLocalInventoryMethod = + LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod) + == null) { + LocalInventoryServiceGrpc.getDeleteLocalInventoryMethod = + getDeleteLocalInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteLocalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .DeleteLocalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new LocalInventoryServiceMethodDescriptorSupplier("DeleteLocalInventory")) + .build(); } } } return getDeleteLocalInventoryMethod; } - /** - * 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 LocalInventoryServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LocalInventoryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocalInventoryServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LocalInventoryServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocalInventoryServiceStub(channel, callOptions); + } + }; return LocalInventoryServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static LocalInventoryServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static LocalInventoryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LocalInventoryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocalInventoryServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LocalInventoryServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocalInventoryServiceBlockingStub(channel, callOptions); + } + }; return LocalInventoryServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static LocalInventoryServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static LocalInventoryServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public LocalInventoryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new LocalInventoryServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public LocalInventoryServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new LocalInventoryServiceFutureStub(channel, callOptions); + } + }; return LocalInventoryServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Service to manage local inventory for products
    * 
@@ -163,6 +244,8 @@ public LocalInventoryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc. public interface AsyncService { /** + * + * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -171,12 +254,18 @@ public interface AsyncService {
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - default void listLocalInventories(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLocalInventoriesMethod(), responseObserver); + default void listLocalInventories( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListLocalInventoriesMethod(), responseObserver); } /** + * + * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -187,12 +276,17 @@ default void listLocalInventories(com.google.shopping.merchant.inventories.v1bet
      * resource to appear in products.
      * 
*/ - default void insertLocalInventory(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertLocalInventoryMethod(), responseObserver); + default void insertLocalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInsertLocalInventoryMethod(), responseObserver); } /** + * + * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -201,36 +295,40 @@ default void insertLocalInventory(com.google.shopping.merchant.inventories.v1bet
      * period before attempting a delete again.
      * 
*/ - default void deleteLocalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, + default void deleteLocalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLocalInventoryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteLocalInventoryMethod(), responseObserver); } } /** * Base class for the server implementation of the service LocalInventoryService. + * *
    * Service to manage local inventory for products
    * 
*/ - public static abstract class LocalInventoryServiceImplBase + public abstract static class LocalInventoryServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return LocalInventoryServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service LocalInventoryService. + * *
    * Service to manage local inventory for products
    * 
*/ public static final class LocalInventoryServiceStub extends io.grpc.stub.AbstractAsyncStub { - private LocalInventoryServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private LocalInventoryServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -241,6 +339,8 @@ protected LocalInventoryServiceStub build( } /** + * + * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -249,13 +349,20 @@ protected LocalInventoryServiceStub build(
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - public void listLocalInventories(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listLocalInventories( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLocalInventoriesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListLocalInventoriesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -266,13 +373,19 @@ public void listLocalInventories(com.google.shopping.merchant.inventories.v1beta
      * resource to appear in products.
      * 
*/ - public void insertLocalInventory(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void insertLocalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInsertLocalInventoryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getInsertLocalInventoryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -281,15 +394,19 @@ public void insertLocalInventory(com.google.shopping.merchant.inventories.v1beta
      * period before attempting a delete again.
      * 
*/ - public void deleteLocalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, + public void deleteLocalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteLocalInventoryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteLocalInventoryMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service LocalInventoryService. + * *
    * Service to manage local inventory for products
    * 
@@ -308,6 +425,8 @@ protected LocalInventoryServiceBlockingStub build( } /** + * + * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -316,12 +435,16 @@ protected LocalInventoryServiceBlockingStub build(
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse listLocalInventories(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + listLocalInventories( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListLocalInventoriesMethod(), getCallOptions(), request); } /** + * + * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -332,12 +455,15 @@ public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRespo
      * resource to appear in products.
      * 
*/ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory insertLocalInventory(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory insertLocalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInsertLocalInventoryMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -346,14 +472,17 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory insertLoca
      * period before attempting a delete again.
      * 
*/ - public com.google.protobuf.Empty deleteLocalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) { + public com.google.protobuf.Empty deleteLocalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteLocalInventoryMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service LocalInventoryService. + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * LocalInventoryService. + * *
    * Service to manage local inventory for products
    * 
@@ -372,6 +501,8 @@ protected LocalInventoryServiceFutureStub build( } /** + * + * *
      * Lists the `LocalInventory` resources for the given product in your merchant
      * account. The response might contain fewer items than specified by
@@ -380,13 +511,17 @@ protected LocalInventoryServiceFutureStub build(
      * `LocalInventory` resources are listed per product for a given account.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listLocalInventories( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse> + listLocalInventories( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListLocalInventoriesMethod(), getCallOptions()), request); } /** + * + * *
      * Inserts a `LocalInventory` resource to a product in your merchant
      * account.
@@ -397,13 +532,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture insertLocalInventory(
-        com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.shopping.merchant.inventories.v1beta.LocalInventory>
+        insertLocalInventory(
+            com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getInsertLocalInventoryMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes the specified `LocalInventory` from the given product in your
      * merchant account. It might take a up to an hour for the
@@ -412,8 +551,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteLocalInventory(
-        com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteLocalInventory(
+            com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteLocalInventoryMethod(), getCallOptions()), request);
     }
@@ -423,11 +563,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 AsyncService serviceImpl;
     private final int methodId;
 
@@ -441,15 +581,22 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_LOCAL_INVENTORIES:
-          serviceImpl.listLocalInventories((com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listLocalInventories(
+              (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse>)
+                  responseObserver);
           break;
         case METHODID_INSERT_LOCAL_INVENTORY:
-          serviceImpl.insertLocalInventory((com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.insertLocalInventory(
+              (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.shopping.merchant.inventories.v1beta.LocalInventory>)
+                  responseObserver);
           break;
         case METHODID_DELETE_LOCAL_INVENTORY:
-          serviceImpl.deleteLocalInventory((com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) request,
+          serviceImpl.deleteLocalInventory(
+              (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -471,31 +618,31 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getListLocalInventoriesMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest,
-              com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse>(
-                service, METHODID_LIST_LOCAL_INVENTORIES)))
+            getListLocalInventoriesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest,
+                    com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse>(
+                    service, METHODID_LIST_LOCAL_INVENTORIES)))
         .addMethod(
-          getInsertLocalInventoryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest,
-              com.google.shopping.merchant.inventories.v1beta.LocalInventory>(
-                service, METHODID_INSERT_LOCAL_INVENTORY)))
+            getInsertLocalInventoryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest,
+                    com.google.shopping.merchant.inventories.v1beta.LocalInventory>(
+                    service, METHODID_INSERT_LOCAL_INVENTORY)))
         .addMethod(
-          getDeleteLocalInventoryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_LOCAL_INVENTORY)))
+            getDeleteLocalInventoryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest,
+                    com.google.protobuf.Empty>(service, METHODID_DELETE_LOCAL_INVENTORY)))
         .build();
   }
 
-  private static abstract class LocalInventoryServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class LocalInventoryServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     LocalInventoryServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -537,12 +684,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (LocalInventoryServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new LocalInventoryServiceFileDescriptorSupplier())
-              .addMethod(getListLocalInventoriesMethod())
-              .addMethod(getInsertLocalInventoryMethod())
-              .addMethod(getDeleteLocalInventoryMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new LocalInventoryServiceFileDescriptorSupplier())
+                      .addMethod(getListLocalInventoriesMethod())
+                      .addMethod(getInsertLocalInventoryMethod())
+                      .addMethod(getDeleteLocalInventoryMethod())
+                      .build();
         }
       }
     }
diff --git a/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java b/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java
new file mode 100644
index 000000000000..f7fd4d453c18
--- /dev/null
+++ b/java-shopping-merchant-inventories/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java
@@ -0,0 +1,728 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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.shopping.merchant.inventories.v1beta;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * Service to manage regional inventory for products. There is also separate
+ * `regions` resource and API to manage regions definitions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class RegionalInventoryServiceGrpc { + + private RegionalInventoryServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.shopping.merchant.inventories.v1beta.RegionalInventoryService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> + getListRegionalInventoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRegionalInventories", + requestType = + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, + responseType = + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> + getListRegionalInventoriesMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> + getListRegionalInventoriesMethod; + if ((getListRegionalInventoriesMethod = + RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) + == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + if ((getListRegionalInventoriesMethod = + RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) + == null) { + RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod = + getListRegionalInventoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListRegionalInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .ListRegionalInventoriesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .ListRegionalInventoriesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new RegionalInventoryServiceMethodDescriptorSupplier( + "ListRegionalInventories")) + .build(); + } + } + } + return getListRegionalInventoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + getInsertRegionalInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InsertRegionalInventory", + requestType = + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, + responseType = com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + getInsertRegionalInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + getInsertRegionalInventoryMethod; + if ((getInsertRegionalInventoryMethod = + RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) + == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + if ((getInsertRegionalInventoryMethod = + RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) + == null) { + RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod = + getInsertRegionalInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "InsertRegionalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .InsertRegionalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory + .getDefaultInstance())) + .setSchemaDescriptor( + new RegionalInventoryServiceMethodDescriptorSupplier( + "InsertRegionalInventory")) + .build(); + } + } + } + return getInsertRegionalInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, + com.google.protobuf.Empty> + getDeleteRegionalInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRegionalInventory", + requestType = + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, + com.google.protobuf.Empty> + getDeleteRegionalInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, + com.google.protobuf.Empty> + getDeleteRegionalInventoryMethod; + if ((getDeleteRegionalInventoryMethod = + RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) + == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + if ((getDeleteRegionalInventoryMethod = + RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) + == null) { + RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod = + getDeleteRegionalInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteRegionalInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.inventories.v1beta + .DeleteRegionalInventoryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new RegionalInventoryServiceMethodDescriptorSupplier( + "DeleteRegionalInventory")) + .build(); + } + } + } + return getDeleteRegionalInventoryMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static RegionalInventoryServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegionalInventoryServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceStub(channel, callOptions); + } + }; + return RegionalInventoryServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static RegionalInventoryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegionalInventoryServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceBlockingStub(channel, callOptions); + } + }; + return RegionalInventoryServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static RegionalInventoryServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegionalInventoryServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceFutureStub(channel, callOptions); + } + }; + return RegionalInventoryServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + default void listRegionalInventories( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRegionalInventoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + default void insertRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, + io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInsertRegionalInventoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + default void deleteRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRegionalInventoryMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service RegionalInventoryService. + * + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public abstract static class RegionalInventoryServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return RegionalInventoryServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service RegionalInventoryService. + * + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static final class RegionalInventoryServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private RegionalInventoryServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegionalInventoryServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + public void listRegionalInventories( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + public void insertRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, + io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + public void deleteRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service RegionalInventoryService. + * + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static final class RegionalInventoryServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private RegionalInventoryServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegionalInventoryServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + listRegionalInventories( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRegionalInventoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory + insertRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInsertRegionalInventoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + public com.google.protobuf.Empty deleteRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRegionalInventoryMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * RegionalInventoryService. + * + *
+   * Service to manage regional inventory for products. There is also separate
+   * `regions` resource and API to manage regions definitions.
+   * 
+ */ + public static final class RegionalInventoryServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private RegionalInventoryServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegionalInventoryServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegionalInventoryServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the `RegionalInventory` resources for the given product in your
+     * merchant account. The response might contain fewer items than specified by
+     * `pageSize`.  If `pageToken` was returned in previous request, it can be
+     * used to obtain additional results.
+     * `RegionalInventory` resources are listed per product for a given account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse> + listRegionalInventories( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Inserts a `RegionalInventory` to a given product in your
+     * merchant account.
+     * Replaces the full `RegionalInventory` resource if an entry with the same
+     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
+     * already exists for the product.
+     * It might take up to 30 minutes for the new or updated `RegionalInventory`
+     * resource to appear in products.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + insertRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified `RegionalInventory` resource from the given product
+     * in your merchant account.  It might take up to an hour for the
+     * `RegionalInventory` to be deleted from the specific product.
+     * Once you have received a successful delete response, wait for that
+     * period before attempting a delete again.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_REGIONAL_INVENTORIES = 0; + private static final int METHODID_INSERT_REGIONAL_INVENTORY = 1; + private static final int METHODID_DELETE_REGIONAL_INVENTORY = 2; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_REGIONAL_INVENTORIES: + serviceImpl.listRegionalInventories( + (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta + .ListRegionalInventoriesResponse>) + responseObserver); + break; + case METHODID_INSERT_REGIONAL_INVENTORY: + serviceImpl.insertRegionalInventory( + (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory>) + responseObserver); + break; + case METHODID_DELETE_REGIONAL_INVENTORY: + serviceImpl.deleteRegionalInventory( + (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListRegionalInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, + com.google.shopping.merchant.inventories.v1beta + .ListRegionalInventoriesResponse>( + service, METHODID_LIST_REGIONAL_INVENTORIES))) + .addMethod( + getInsertRegionalInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory>( + service, METHODID_INSERT_REGIONAL_INVENTORY))) + .addMethod( + getDeleteRegionalInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_REGIONAL_INVENTORY))) + .build(); + } + + private abstract static class RegionalInventoryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + RegionalInventoryServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("RegionalInventoryService"); + } + } + + private static final class RegionalInventoryServiceFileDescriptorSupplier + extends RegionalInventoryServiceBaseDescriptorSupplier { + RegionalInventoryServiceFileDescriptorSupplier() {} + } + + private static final class RegionalInventoryServiceMethodDescriptorSupplier + extends RegionalInventoryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + RegionalInventoryServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (RegionalInventoryServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RegionalInventoryServiceFileDescriptorSupplier()) + .addMethod(getListRegionalInventoriesMethod()) + .addMethod(getInsertRegionalInventoryMethod()) + .addMethod(getDeleteRegionalInventoryMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java similarity index 53% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java index ee98b0e0076f..694d9061f376 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequest.java @@ -1,59 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Request message for the `DeleteLocalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest} */ -public final class DeleteLocalInventoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteLocalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) DeleteLocalInventoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteLocalInventoryRequest.newBuilder() to construct. private DeleteLocalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteLocalInventoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteLocalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the local inventory for the given product to delete.
    * Format:
    * `accounts/{account}/products/{product}/localInventories/{store_code}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,31 +88,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the local inventory for the given product to delete.
    * Format:
    * `accounts/{account}/products/{product}/localInventories/{store_code}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,15 +159,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest)) { + if (!(obj + instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other = + (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,132 +187,145 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest 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.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + 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.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for the `DeleteLocalInventory` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.newBuilder() - private Builder() { + // Construct using + // com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +335,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,14 +358,19 @@ public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryReque } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest buildPartial() { - com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result = + new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -331,46 +381,52 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Delet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest)other); + if (other + instanceof com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other) { - if (other == com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,17 +458,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,24 +480,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,22 +511,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -471,32 +537,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -506,28 +583,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the local inventory for the given product to delete.
      * Format:
      * `accounts/{account}/products/{product}/localInventories/{store_code}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,41 +620,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteLocalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteLocalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,9 +669,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java new file mode 100644 index 000000000000..debcfec144ba --- /dev/null +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/merchant/inventories/v1beta/localinventory.proto + +package com.google.shopping.merchant.inventories.v1beta; + +public interface DeleteLocalInventoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the local inventory for the given product to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/localInventories/{store_code}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the local inventory for the given product to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/localInventories/{store_code}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java similarity index 52% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java index 966a4bca332b..e6420c95aee0 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequest.java @@ -1,59 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Request message for the `DeleteRegionalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest} */ -public final class DeleteRegionalInventoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRegionalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) DeleteRegionalInventoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRegionalInventoryRequest.newBuilder() to construct. - private DeleteRegionalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteRegionalInventoryRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRegionalInventoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRegionalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the `RegionalInventory` resource to delete.
    * Format:
    * `accounts/{account}/products/{product}/regionalInventories/{region}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,31 +89,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the `RegionalInventory` resource to delete.
    * Format:
    * `accounts/{account}/products/{product}/regionalInventories/{region}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,15 +160,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest)) { + if (!(obj + instanceof + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other = + (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,132 +189,146 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest 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.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + 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.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for the `DeleteRegionalInventory` method.
    * 
* - * Protobuf type {@code google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest} + * Protobuf type {@code + * google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.newBuilder() - private Builder() { + // Construct using + // com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +338,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,14 +361,19 @@ public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest buildPartial() { - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result = + new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -331,46 +384,53 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Delet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest)other); + if (other + instanceof + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other) { - if (other == com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,17 +462,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,24 +484,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,22 +515,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -471,32 +541,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -506,28 +587,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the `RegionalInventory` resource to delete.
      * Format:
      * `accounts/{account}/products/{product}/regionalInventories/{region}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,41 +624,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta + .DeleteRegionalInventoryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegionalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegionalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,9 +674,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java new file mode 100644 index 000000000000..3e0a16717e9f --- /dev/null +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto + +package com.google.shopping.merchant.inventories.v1beta; + +public interface DeleteRegionalInventoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `RegionalInventory` resource to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/regionalInventories/{region}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `RegionalInventory` resource to delete.
+   * Format:
+   * `accounts/{account}/products/{product}/regionalInventories/{region}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java similarity index 58% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java index 212821ebc5d5..ac2b3bfee675 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequest.java @@ -1,58 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Request message for the `InsertLocalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest} */ -public final class InsertLocalInventoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InsertLocalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) InsertLocalInventoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InsertLocalInventoryRequest.newBuilder() to construct. private InsertLocalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InsertLocalInventoryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InsertLocalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -61,30 +85,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 account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * 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 { @@ -95,13 +119,18 @@ public java.lang.String getParent() { public static final int LOCAL_INVENTORY_FIELD_NUMBER = 2; private com.google.shopping.merchant.inventories.v1beta.LocalInventory localInventory_; /** + * + * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the localInventory field is set. */ @java.lang.Override @@ -109,34 +138,49 @@ public boolean hasLocalInventory() { return localInventory_ != null; } /** + * + * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The localInventory. */ @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventory() { - return localInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; + return localInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() + : localInventory_; } /** + * + * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoryOrBuilder() { - return localInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder + getLocalInventoryOrBuilder() { + return localInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() + : localInventory_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +212,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (localInventory_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLocalInventory()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLocalInventory()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +222,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.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest)) { + if (!(obj + instanceof com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other = + (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasLocalInventory() != other.hasLocalInventory()) return false; if (hasLocalInventory()) { - if (!getLocalInventory() - .equals(other.getLocalInventory())) return false; + if (!getLocalInventory().equals(other.getLocalInventory())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,132 +258,145 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest 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.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + 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.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for the `InsertLocalInventory` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -356,19 +411,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -376,22 +434,26 @@ public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryReque } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest buildPartial() { - com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result = + new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.localInventory_ = localInventoryBuilder_ == null - ? localInventory_ - : localInventoryBuilder_.build(); + result.localInventory_ = + localInventoryBuilder_ == null ? localInventory_ : localInventoryBuilder_.build(); } } @@ -399,46 +461,52 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Inser public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest)other); + if (other + instanceof com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other) { - if (other == com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -473,24 +541,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getLocalInventoryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getLocalInventoryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,23 +569,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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; @@ -525,21 +597,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -547,30 +620,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -580,18 +660,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -601,47 +685,67 @@ public Builder setParentBytes( private com.google.shopping.merchant.inventories.v1beta.LocalInventory localInventory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> localInventoryBuilder_; + com.google.shopping.merchant.inventories.v1beta.LocalInventory, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + localInventoryBuilder_; /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the localInventory field is set. */ public boolean hasLocalInventory() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The localInventory. */ public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventory() { if (localInventoryBuilder_ == null) { - return localInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; + return localInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() + : localInventory_; } else { return localInventoryBuilder_.getMessage(); } } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLocalInventory(com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { + public Builder setLocalInventory( + com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { if (localInventoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -655,13 +759,17 @@ public Builder setLocalInventory(com.google.shopping.merchant.inventories.v1beta return this; } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLocalInventory( com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { @@ -675,19 +783,26 @@ public Builder setLocalInventory( return this; } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeLocalInventory(com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { + public Builder mergeLocalInventory( + com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { if (localInventoryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - localInventory_ != null && - localInventory_ != com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && localInventory_ != null + && localInventory_ + != com.google.shopping.merchant.inventories.v1beta.LocalInventory + .getDefaultInstance()) { getLocalInventoryBuilder().mergeFrom(value); } else { localInventory_ = value; @@ -700,13 +815,17 @@ public Builder mergeLocalInventory(com.google.shopping.merchant.inventories.v1be return this; } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLocalInventory() { bitField0_ = (bitField0_ & ~0x00000002); @@ -719,61 +838,79 @@ public Builder clearLocalInventory() { return this; } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder getLocalInventoryBuilder() { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder + getLocalInventoryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getLocalInventoryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoryOrBuilder() { + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder + getLocalInventoryOrBuilder() { if (localInventoryBuilder_ != null) { return localInventoryBuilder_.getMessageOrBuilder(); } else { - return localInventory_ == null ? - com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() : localInventory_; + return localInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance() + : localInventory_; } } /** + * + * *
      * Required. Local inventory information of the product. If the product
      * already has a `LocalInventory` resource for the same `storeCode`, full
      * replacement of the `LocalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.LocalInventory, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> getLocalInventoryFieldBuilder() { if (localInventoryBuilder_ == null) { - localInventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( - getLocalInventory(), - getParentForChildren(), - isClean()); + localInventoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.LocalInventory, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( + getLocalInventory(), getParentForChildren(), isClean()); localInventory_ = null; } return localInventoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,41 +920,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InsertLocalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertLocalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,9 +969,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java index 4e076097758d..4ed6335c2344 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertLocalInventoryRequestOrBuilder.java @@ -1,64 +1,100 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface InsertLocalInventoryRequestOrBuilder extends +public interface InsertLocalInventoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.InsertLocalInventoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the localInventory field is set. */ boolean hasLocalInventory(); /** + * + * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The localInventory. */ com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventory(); /** + * + * *
    * Required. Local inventory information of the product. If the product
    * already has a `LocalInventory` resource for the same `storeCode`, full
    * replacement of the `LocalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoryOrBuilder(); + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder + getLocalInventoryOrBuilder(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java similarity index 57% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java index daf4d6432539..7dc001dfac3a 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Request message for the `InsertRegionalInventory` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest} */ -public final class InsertRegionalInventoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InsertRegionalInventoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) InsertRegionalInventoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InsertRegionalInventoryRequest.newBuilder() to construct. - private InsertRegionalInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private InsertRegionalInventoryRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InsertRegionalInventoryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InsertRegionalInventoryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,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 account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * 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 { @@ -95,13 +120,18 @@ public java.lang.String getParent() { public static final int REGIONAL_INVENTORY_FIELD_NUMBER = 2; private com.google.shopping.merchant.inventories.v1beta.RegionalInventory regionalInventory_; /** + * + * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the regionalInventory field is set. */ @java.lang.Override @@ -109,34 +139,49 @@ public boolean hasRegionalInventory() { return regionalInventory_ != null; } /** + * + * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The regionalInventory. */ @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventory() { - return regionalInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; + return regionalInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() + : regionalInventory_; } /** + * + * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoryOrBuilder() { - return regionalInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder + getRegionalInventoryOrBuilder() { + return regionalInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() + : regionalInventory_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +213,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (regionalInventory_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegionalInventory()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegionalInventory()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +223,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.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest)) { + if (!(obj + instanceof + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other = (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) obj; + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other = + (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegionalInventory() != other.hasRegionalInventory()) return false; if (hasRegionalInventory()) { - if (!getRegionalInventory() - .equals(other.getRegionalInventory())) return false; + if (!getRegionalInventory().equals(other.getRegionalInventory())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,132 +260,146 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest 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.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + 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.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for the `InsertRegionalInventory` method.
    * 
* - * Protobuf type {@code google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest} + * Protobuf type {@code + * google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -356,19 +414,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest build() { - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -376,22 +437,28 @@ public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest buildPartial() { - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result = + new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.regionalInventory_ = regionalInventoryBuilder_ == null - ? regionalInventory_ - : regionalInventoryBuilder_.build(); + result.regionalInventory_ = + regionalInventoryBuilder_ == null + ? regionalInventory_ + : regionalInventoryBuilder_.build(); } } @@ -399,46 +466,53 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Inser public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest)other); + if (other + instanceof + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other) { - if (other == com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -473,24 +547,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRegionalInventoryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getRegionalInventoryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,23 +576,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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; @@ -525,21 +604,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -547,30 +627,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -580,18 +667,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account and product where this inventory will be inserted.
      * Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -601,47 +692,68 @@ public Builder setParentBytes( private com.google.shopping.merchant.inventories.v1beta.RegionalInventory regionalInventory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> regionalInventoryBuilder_; + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + regionalInventoryBuilder_; /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the regionalInventory field is set. */ public boolean hasRegionalInventory() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The regionalInventory. */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventory() { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory + getRegionalInventory() { if (regionalInventoryBuilder_ == null) { - return regionalInventory_ == null ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; + return regionalInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() + : regionalInventory_; } else { return regionalInventoryBuilder_.getMessage(); } } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRegionalInventory(com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { + public Builder setRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { if (regionalInventoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -655,13 +767,17 @@ public Builder setRegionalInventory(com.google.shopping.merchant.inventories.v1b return this; } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegionalInventory( com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { @@ -675,19 +791,26 @@ public Builder setRegionalInventory( return this; } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRegionalInventory(com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { + public Builder mergeRegionalInventory( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { if (regionalInventoryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - regionalInventory_ != null && - regionalInventory_ != com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && regionalInventory_ != null + && regionalInventory_ + != com.google.shopping.merchant.inventories.v1beta.RegionalInventory + .getDefaultInstance()) { getRegionalInventoryBuilder().mergeFrom(value); } else { regionalInventory_ = value; @@ -700,13 +823,17 @@ public Builder mergeRegionalInventory(com.google.shopping.merchant.inventories.v return this; } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegionalInventory() { bitField0_ = (bitField0_ & ~0x00000002); @@ -719,61 +846,79 @@ public Builder clearRegionalInventory() { return this; } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder getRegionalInventoryBuilder() { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder + getRegionalInventoryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRegionalInventoryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoryOrBuilder() { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder + getRegionalInventoryOrBuilder() { if (regionalInventoryBuilder_ != null) { return regionalInventoryBuilder_.getMessageOrBuilder(); } else { - return regionalInventory_ == null ? - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() : regionalInventory_; + return regionalInventory_ == null + ? com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance() + : regionalInventory_; } } /** + * + * *
      * Required. Regional inventory information to add to the product. If the
      * product already has a `RegionalInventory` resource for the same `region`,
      * full replacement of the `RegionalInventory` resource is performed.
      * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> getRegionalInventoryFieldBuilder() { if (regionalInventoryBuilder_ == null) { - regionalInventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( - getRegionalInventory(), - getParentForChildren(), - isClean()); + regionalInventoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( + getRegionalInventory(), getParentForChildren(), isClean()); regionalInventory_ = null; } return regionalInventoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,41 +928,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) - private static final com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta + .InsertRegionalInventoryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InsertRegionalInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertRegionalInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,9 +978,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java index e9c002260a8b..1c219667a60e 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/InsertRegionalInventoryRequestOrBuilder.java @@ -1,64 +1,100 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface InsertRegionalInventoryRequestOrBuilder extends +public interface InsertRegionalInventoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account and product where this inventory will be inserted.
    * Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the regionalInventory field is set. */ boolean hasRegionalInventory(); /** + * + * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The regionalInventory. */ com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventory(); /** + * + * *
    * Required. Regional inventory information to add to the product. If the
    * product already has a `RegionalInventory` resource for the same `region`,
    * full replacement of the `RegionalInventory` resource is performed.
    * 
* - * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventory = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoryOrBuilder(); + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder + getRegionalInventoryOrBuilder(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java similarity index 66% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java index eec93597dca2..c7418ceecd49 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Request message for the `ListLocalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest} */ -public final class ListLocalInventoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListLocalInventoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) ListLocalInventoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListLocalInventoriesRequest.newBuilder() to construct. private ListLocalInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListLocalInventoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,33 @@ private ListLocalInventoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLocalInventoriesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The `name` of the parent product to list local inventories for.
    * Format:
@@ -55,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -63,14 +87,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 `name` of the parent product to list local inventories for.
    * Format:
@@ -78,16 +103,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 { @@ -98,6 +122,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of `LocalInventory` resources for the given
    * product to return. The service returns fewer than this value if the number
@@ -107,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -115,9 +142,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -129,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -156,16 +188,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 { @@ -174,6 +205,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -209,8 +240,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -223,19 +253,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.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest)) { + if (!(obj + instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other = (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) obj; + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other = + (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -258,132 +287,145 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for the `ListLocalInventories` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.class, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -395,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest build() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,14 +460,19 @@ public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesReque } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result = + new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -439,46 +489,52 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListL public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest)other); + if (other + instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other) { - if (other == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -518,27 +574,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,10 +608,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -559,13 +622,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; @@ -574,6 +637,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -581,15 +646,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 { @@ -597,6 +661,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -604,18 +670,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -623,6 +693,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -632,6 +703,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The `name` of the parent product to list local inventories for.
      * Format:
@@ -639,12 +712,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -652,8 +727,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of `LocalInventory` resources for the given
      * product to return. The service returns fewer than this value if the number
@@ -663,6 +740,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -670,6 +748,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of `LocalInventory` resources for the given
      * product to return. The service returns fewer than this value if the number
@@ -679,6 +759,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -690,6 +771,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of `LocalInventory` resources for the given
      * product to return. The service returns fewer than this value if the number
@@ -699,6 +782,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -710,6 +794,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -721,13 +807,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; @@ -736,6 +822,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -747,15 +835,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -763,6 +850,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -774,18 +863,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -797,6 +890,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -806,6 +900,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListLocalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -817,21 +913,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -841,41 +939,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) - private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocalInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocalInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -887,9 +988,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java index 26e946b308cb..690647509c74 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListLocalInventoriesRequestOrBuilder extends +public interface ListLocalInventoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `name` of the parent product to list local inventories for.
    * Format:
@@ -15,10 +33,13 @@ public interface ListLocalInventoriesRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The `name` of the parent product to list local inventories for.
    * Format:
@@ -26,12 +47,14 @@ public interface ListLocalInventoriesRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of `LocalInventory` resources for the given
    * product to return. The service returns fewer than this value if the number
@@ -41,11 +64,14 @@ public interface ListLocalInventoriesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -57,10 +83,13 @@ public interface ListLocalInventoriesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListLocalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -72,8 +101,8 @@ public interface ListLocalInventoriesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java similarity index 59% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java index 60195f438003..f0636f836bda 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Response message for the `ListLocalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse} */ -public final class ListLocalInventoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListLocalInventoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) ListLocalInventoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListLocalInventoriesResponse.newBuilder() to construct. private ListLocalInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListLocalInventoriesResponse() { localInventories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +44,131 @@ private ListLocalInventoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLocalInventoriesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder + .class); } public static final int LOCAL_INVENTORIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List localInventories_; + private java.util.List + localInventories_; /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ @java.lang.Override - public java.util.List getLocalInventoriesList() { + public java.util.List + getLocalInventoriesList() { return localInventories_; } /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> getLocalInventoriesOrBuilderList() { return localInventories_; } /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ @java.lang.Override public int getLocalInventoriesCount() { return localInventories_.size(); } /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories(int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories( + int index) { return localInventories_.get(index); } /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoriesOrBuilder( - int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder + getLocalInventoriesOrBuilder(int index) { return localInventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +177,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +209,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +221,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < localInventories_.size(); i++) { output.writeMessage(1, localInventories_.get(i)); } @@ -189,8 +238,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < localInventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, localInventories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, localInventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +251,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse)) { + if (!(obj + instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other = (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) obj; + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other = + (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) obj; - if (!getLocalInventoriesList() - .equals(other.getLocalInventoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getLocalInventoriesList().equals(other.getLocalInventoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,132 +284,145 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + 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.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 the `ListLocalInventories` method.
    * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.class, + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,19 +439,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse build() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -398,15 +462,20 @@ public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesRespo } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(this); + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result = + new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { + private void buildPartialRepeatedFields( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { if (localInventoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { localInventories_ = java.util.Collections.unmodifiableList(localInventories_); @@ -418,7 +487,8 @@ private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories } } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +499,52 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListL public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse)other); + if (other + instanceof com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other) { - if (other == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + .getDefaultInstance()) return this; if (localInventoriesBuilder_ == null) { if (!other.localInventories_.isEmpty()) { if (localInventories_.isEmpty()) { @@ -487,9 +563,10 @@ public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListLoc localInventoriesBuilder_ = null; localInventories_ = other.localInventories_; bitField0_ = (bitField0_ & ~0x00000001); - localInventoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocalInventoriesFieldBuilder() : null; + localInventoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocalInventoriesFieldBuilder() + : null; } else { localInventoriesBuilder_.addAllMessages(other.localInventories_); } @@ -526,30 +603,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.shopping.merchant.inventories.v1beta.LocalInventory m = - input.readMessage( - com.google.shopping.merchant.inventories.v1beta.LocalInventory.parser(), - extensionRegistry); - if (localInventoriesBuilder_ == null) { - ensureLocalInventoriesIsMutable(); - localInventories_.add(m); - } else { - localInventoriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.shopping.merchant.inventories.v1beta.LocalInventory m = + input.readMessage( + com.google.shopping.merchant.inventories.v1beta.LocalInventory.parser(), + extensionRegistry); + if (localInventoriesBuilder_ == null) { + ensureLocalInventoriesIsMutable(); + localInventories_.add(m); + } else { + localInventoriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,29 +639,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List localInventories_ = - java.util.Collections.emptyList(); + private java.util.List + localInventories_ = java.util.Collections.emptyList(); + private void ensureLocalInventoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - localInventories_ = new java.util.ArrayList(localInventories_); + localInventories_ = + new java.util.ArrayList( + localInventories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> localInventoriesBuilder_; + com.google.shopping.merchant.inventories.v1beta.LocalInventory, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + localInventoriesBuilder_; /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public java.util.List getLocalInventoriesList() { + public java.util.List + getLocalInventoriesList() { if (localInventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(localInventories_); } else { @@ -589,12 +681,16 @@ public java.util.List * The `LocalInventory` resources for the given product from the specified * account. *
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public int getLocalInventoriesCount() { if (localInventoriesBuilder_ == null) { @@ -604,14 +700,19 @@ public int getLocalInventoriesCount() { } } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories(int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories( + int index) { if (localInventoriesBuilder_ == null) { return localInventories_.get(index); } else { @@ -619,12 +720,16 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalIn } } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder setLocalInventories( int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { @@ -641,15 +746,20 @@ public Builder setLocalInventories( return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder setLocalInventories( - int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { + int index, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { if (localInventoriesBuilder_ == null) { ensureLocalInventoriesIsMutable(); localInventories_.set(index, builderForValue.build()); @@ -660,14 +770,19 @@ public Builder setLocalInventories( return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public Builder addLocalInventories(com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { + public Builder addLocalInventories( + com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { if (localInventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -681,12 +796,16 @@ public Builder addLocalInventories(com.google.shopping.merchant.inventories.v1be return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder addLocalInventories( int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory value) { @@ -703,12 +822,16 @@ public Builder addLocalInventories( return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder addLocalInventories( com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { @@ -722,15 +845,20 @@ public Builder addLocalInventories( return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder addLocalInventories( - int index, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { + int index, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder builderForValue) { if (localInventoriesBuilder_ == null) { ensureLocalInventoriesIsMutable(); localInventories_.add(index, builderForValue.build()); @@ -741,19 +869,23 @@ public Builder addLocalInventories( return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder addAllLocalInventories( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (localInventoriesBuilder_ == null) { ensureLocalInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, localInventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, localInventories_); onChanged(); } else { localInventoriesBuilder_.addAllMessages(values); @@ -761,12 +893,16 @@ public Builder addAllLocalInventories( return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder clearLocalInventories() { if (localInventoriesBuilder_ == null) { @@ -779,12 +915,16 @@ public Builder clearLocalInventories() { return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ public Builder removeLocalInventories(int index) { if (localInventoriesBuilder_ == null) { @@ -797,42 +937,56 @@ public Builder removeLocalInventories(int index) { return this; } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder getLocalInventoriesBuilder( - int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder + getLocalInventoriesBuilder(int index) { return getLocalInventoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoriesOrBuilder( - int index) { + public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder + getLocalInventoriesOrBuilder(int index) { if (localInventoriesBuilder_ == null) { - return localInventories_.get(index); } else { + return localInventories_.get(index); + } else { return localInventoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public java.util.List - getLocalInventoriesOrBuilderList() { + public java.util.List< + ? extends com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + getLocalInventoriesOrBuilderList() { if (localInventoriesBuilder_ != null) { return localInventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -840,48 +994,70 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder g } } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder addLocalInventoriesBuilder() { - return getLocalInventoriesFieldBuilder().addBuilder( - com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder + addLocalInventoriesBuilder() { + return getLocalInventoriesFieldBuilder() + .addBuilder( + com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder addLocalInventoriesBuilder( - int index) { - return getLocalInventoriesFieldBuilder().addBuilder( - index, com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder + addLocalInventoriesBuilder(int index) { + return getLocalInventoriesFieldBuilder() + .addBuilder( + index, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()); } /** + * + * *
      * The `LocalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - public java.util.List - getLocalInventoriesBuilderList() { + public java.util.List + getLocalInventoriesBuilderList() { return getLocalInventoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.LocalInventory, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder> getLocalInventoriesFieldBuilder() { if (localInventoriesBuilder_ == null) { - localInventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.LocalInventory, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( + localInventoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.LocalInventory, + com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder>( localInventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -893,19 +1069,21 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder ad private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1092,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1115,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1155,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,41 +1189,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) - private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse(); } - public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocalInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocalInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,9 +1238,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java index 47f04ecc5681..7a087bc55d59 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListLocalInventoriesResponseOrBuilder.java @@ -1,80 +1,121 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListLocalInventoriesResponseOrBuilder extends +public interface ListLocalInventoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - java.util.List + java.util.List getLocalInventoriesList(); /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ com.google.shopping.merchant.inventories.v1beta.LocalInventory getLocalInventories(int index); /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ int getLocalInventoriesCount(); /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - java.util.List + java.util.List getLocalInventoriesOrBuilderList(); /** + * + * *
    * The `LocalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1; + * */ - com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder getLocalInventoriesOrBuilder( - int index); + com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder + getLocalInventoriesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java similarity index 65% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java index 8aa45c06ced1..5e7b15efe468 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Request message for the `ListRegionalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest} */ -public final class ListRegionalInventoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegionalInventoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) ListRegionalInventoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegionalInventoriesRequest.newBuilder() to construct. - private ListRegionalInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListRegionalInventoriesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegionalInventoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +45,40 @@ private ListRegionalInventoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegionalInventoriesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,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 `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * 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 { @@ -96,6 +121,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of `RegionalInventory` resources for the given product
    * to return. The service returns fewer than this value if the number of
@@ -105,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +141,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -127,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -154,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -172,6 +204,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -207,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -221,19 +252,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest)) { + if (!(obj + instanceof + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other = (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) obj; + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other = + (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,132 +287,146 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for the `ListRegionalInventories` method.
    * 
* - * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest} + * Protobuf type {@code + * google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.Builder + .class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -393,19 +438,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest build() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -413,14 +461,19 @@ public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result = + new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -437,46 +490,53 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest)other); + if (other + instanceof + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other) { - if (other == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -516,27 +576,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,23 +610,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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; @@ -571,21 +638,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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 { @@ -593,30 +661,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -626,18 +701,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The `name` of the parent product to list `RegionalInventory`
      * resources for. Format: `accounts/{account}/products/{product}`
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -645,8 +724,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of `RegionalInventory` resources for the given product
      * to return. The service returns fewer than this value if the number of
@@ -656,6 +737,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -663,6 +745,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of `RegionalInventory` resources for the given product
      * to return. The service returns fewer than this value if the number of
@@ -672,6 +756,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -683,6 +768,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of `RegionalInventory` resources for the given product
      * to return. The service returns fewer than this value if the number of
@@ -692,6 +779,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -703,6 +791,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -714,13 +804,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -729,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -740,15 +832,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -756,6 +847,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -767,18 +860,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -790,6 +887,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -799,6 +897,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListRegionalInventories` call.
      * Provide the page token to retrieve the subsequent page.
@@ -810,21 +910,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,41 +936,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) - private static final com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta + .ListRegionalInventoriesRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest(); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegionalInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegionalInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -880,9 +986,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java index e94d8af6b8ad..39af77f9bac6 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListRegionalInventoriesRequestOrBuilder extends +public interface ListRegionalInventoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The `name` of the parent product to list `RegionalInventory`
    * resources for. Format: `accounts/{account}/products/{product}`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of `RegionalInventory` resources for the given product
    * to return. The service returns fewer than this value if the number of
@@ -39,11 +62,14 @@ public interface ListRegionalInventoriesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -55,10 +81,13 @@ public interface ListRegionalInventoriesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListRegionalInventories` call.
    * Provide the page token to retrieve the subsequent page.
@@ -70,8 +99,8 @@ public interface ListRegionalInventoriesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java similarity index 58% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java index a698a4eead9c..ac99fea8ba28 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Response message for the `ListRegionalInventories` method.
  * 
* * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse} */ -public final class ListRegionalInventoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegionalInventoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) ListRegionalInventoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegionalInventoriesResponse.newBuilder() to construct. - private ListRegionalInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListRegionalInventoriesResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegionalInventoriesResponse() { regionalInventories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +45,131 @@ private ListRegionalInventoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegionalInventoriesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.Builder + .class); } public static final int REGIONAL_INVENTORIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List regionalInventories_; + private java.util.List + regionalInventories_; /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ @java.lang.Override - public java.util.List getRegionalInventoriesList() { + public java.util.List + getRegionalInventoriesList() { return regionalInventories_; } /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> getRegionalInventoriesOrBuilderList() { return regionalInventories_; } /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ @java.lang.Override public int getRegionalInventoriesCount() { return regionalInventories_.size(); } /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories(int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories( + int index) { return regionalInventories_.get(index); } /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder( - int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder + getRegionalInventoriesOrBuilder(int index) { return regionalInventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +178,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +210,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < regionalInventories_.size(); i++) { output.writeMessage(1, regionalInventories_.get(i)); } @@ -189,8 +239,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < regionalInventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, regionalInventories_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, regionalInventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +253,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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse)) { + if (!(obj + instanceof + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse)) { return super.equals(obj); } - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other = (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) obj; + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other = + (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) obj; - if (!getRegionalInventoriesList() - .equals(other.getRegionalInventoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRegionalInventoriesList().equals(other.getRegionalInventoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,132 +287,146 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + 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.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 the `ListRegionalInventories` method.
    * 
* - * Protobuf type {@code google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse} + * Protobuf type {@code + * google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.Builder.class); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + .Builder.class); } - // Construct using com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,19 +443,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto + .internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse getDefaultInstanceForType() { - return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.getDefaultInstance(); + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + getDefaultInstanceForType() { + return com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse build() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = buildPartial(); + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -398,15 +466,20 @@ public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRe } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse buildPartial() { - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(this); + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + buildPartial() { + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result = + new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { + private void buildPartialRepeatedFields( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { if (regionalInventoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { regionalInventories_ = java.util.Collections.unmodifiableList(regionalInventories_); @@ -418,7 +491,8 @@ private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories } } - private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { + private void buildPartial0( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +503,54 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.ListR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) { - return mergeFrom((com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse)other); + if (other + instanceof + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) { + return mergeFrom( + (com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other) { - if (other == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse other) { + if (other + == com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + .getDefaultInstance()) return this; if (regionalInventoriesBuilder_ == null) { if (!other.regionalInventories_.isEmpty()) { if (regionalInventories_.isEmpty()) { @@ -487,9 +569,10 @@ public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.ListReg regionalInventoriesBuilder_ = null; regionalInventories_ = other.regionalInventories_; bitField0_ = (bitField0_ & ~0x00000001); - regionalInventoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegionalInventoriesFieldBuilder() : null; + regionalInventoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegionalInventoriesFieldBuilder() + : null; } else { regionalInventoriesBuilder_.addAllMessages(other.regionalInventories_); } @@ -526,30 +609,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.shopping.merchant.inventories.v1beta.RegionalInventory m = - input.readMessage( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.parser(), - extensionRegistry); - if (regionalInventoriesBuilder_ == null) { - ensureRegionalInventoriesIsMutable(); - regionalInventories_.add(m); - } else { - regionalInventoriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.shopping.merchant.inventories.v1beta.RegionalInventory m = + input.readMessage( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.parser(), + extensionRegistry); + if (regionalInventoriesBuilder_ == null) { + ensureRegionalInventoriesIsMutable(); + regionalInventories_.add(m); + } else { + regionalInventoriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,29 +645,42 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List regionalInventories_ = - java.util.Collections.emptyList(); + private java.util.List + regionalInventories_ = java.util.Collections.emptyList(); + private void ensureRegionalInventoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - regionalInventories_ = new java.util.ArrayList(regionalInventories_); + regionalInventories_ = + new java.util.ArrayList< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory>( + regionalInventories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> regionalInventoriesBuilder_; + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + regionalInventoriesBuilder_; /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public java.util.List getRegionalInventoriesList() { + public java.util.List + getRegionalInventoriesList() { if (regionalInventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(regionalInventories_); } else { @@ -589,12 +688,16 @@ public java.util.List * The `RegionalInventory` resources for the given product from the specified * account. *
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public int getRegionalInventoriesCount() { if (regionalInventoriesBuilder_ == null) { @@ -604,14 +707,19 @@ public int getRegionalInventoriesCount() { } } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories(int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories( + int index) { if (regionalInventoriesBuilder_ == null) { return regionalInventories_.get(index); } else { @@ -619,12 +727,16 @@ public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegi } } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder setRegionalInventories( int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { @@ -641,15 +753,20 @@ public Builder setRegionalInventories( return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder setRegionalInventories( - int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { + int index, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { if (regionalInventoriesBuilder_ == null) { ensureRegionalInventoriesIsMutable(); regionalInventories_.set(index, builderForValue.build()); @@ -660,14 +777,19 @@ public Builder setRegionalInventories( return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public Builder addRegionalInventories(com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { + public Builder addRegionalInventories( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { if (regionalInventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -681,12 +803,16 @@ public Builder addRegionalInventories(com.google.shopping.merchant.inventories.v return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder addRegionalInventories( int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory value) { @@ -703,12 +829,16 @@ public Builder addRegionalInventories( return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder addRegionalInventories( com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { @@ -722,15 +852,20 @@ public Builder addRegionalInventories( return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder addRegionalInventories( - int index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { + int index, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder builderForValue) { if (regionalInventoriesBuilder_ == null) { ensureRegionalInventoriesIsMutable(); regionalInventories_.add(index, builderForValue.build()); @@ -741,19 +876,24 @@ public Builder addRegionalInventories( return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder addAllRegionalInventories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventory> + values) { if (regionalInventoriesBuilder_ == null) { ensureRegionalInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, regionalInventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, regionalInventories_); onChanged(); } else { regionalInventoriesBuilder_.addAllMessages(values); @@ -761,12 +901,16 @@ public Builder addAllRegionalInventories( return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder clearRegionalInventories() { if (regionalInventoriesBuilder_ == null) { @@ -779,12 +923,16 @@ public Builder clearRegionalInventories() { return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ public Builder removeRegionalInventories(int index) { if (regionalInventoriesBuilder_ == null) { @@ -797,42 +945,56 @@ public Builder removeRegionalInventories(int index) { return this; } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder getRegionalInventoriesBuilder( - int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder + getRegionalInventoriesBuilder(int index) { return getRegionalInventoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder( - int index) { + public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder + getRegionalInventoriesOrBuilder(int index) { if (regionalInventoriesBuilder_ == null) { - return regionalInventories_.get(index); } else { + return regionalInventories_.get(index); + } else { return regionalInventoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public java.util.List - getRegionalInventoriesOrBuilderList() { + public java.util.List< + ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + getRegionalInventoriesOrBuilderList() { if (regionalInventoriesBuilder_ != null) { return regionalInventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -840,48 +1002,72 @@ public com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilde } } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder addRegionalInventoriesBuilder() { - return getRegionalInventoriesFieldBuilder().addBuilder( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder + addRegionalInventoriesBuilder() { + return getRegionalInventoriesFieldBuilder() + .addBuilder( + com.google.shopping.merchant.inventories.v1beta.RegionalInventory + .getDefaultInstance()); } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder addRegionalInventoriesBuilder( - int index) { - return getRegionalInventoriesFieldBuilder().addBuilder( - index, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()); + public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder + addRegionalInventoriesBuilder(int index) { + return getRegionalInventoriesFieldBuilder() + .addBuilder( + index, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory + .getDefaultInstance()); } /** + * + * *
      * The `RegionalInventory` resources for the given product from the specified
      * account.
      * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - public java.util.List - getRegionalInventoriesBuilderList() { + public java.util.List + getRegionalInventoriesBuilderList() { return getRegionalInventoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> getRegionalInventoriesFieldBuilder() { if (regionalInventoriesBuilder_ == null) { - regionalInventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.inventories.v1beta.RegionalInventory, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( + regionalInventoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.inventories.v1beta.RegionalInventory, + com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder, + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>( regionalInventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -893,19 +1079,21 @@ public com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1102,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1125,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1165,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `pageToken` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,41 +1199,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) - private static final com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.inventories.v1beta + .ListRegionalInventoriesResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse(); } - public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse getDefaultInstance() { + public static com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegionalInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegionalInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,9 +1249,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse getDefaultInstanceForType() { + public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java similarity index 53% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java index 36765216e324..d8e11bf1617c 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/ListRegionalInventoriesResponseOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto package com.google.shopping.merchant.inventories.v1beta; -public interface ListRegionalInventoriesResponseOrBuilder extends +public interface ListRegionalInventoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - java.util.List + java.util.List getRegionalInventoriesList(); /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories(int index); + com.google.shopping.merchant.inventories.v1beta.RegionalInventory getRegionalInventories( + int index); /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ int getRegionalInventoriesCount(); /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> getRegionalInventoriesOrBuilderList(); /** + * + * *
    * The `RegionalInventory` resources for the given product from the specified
    * account.
    * 
* - * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * + * repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1; + * */ - com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder( - int index); + com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder + getRegionalInventoriesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `pageToken` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java similarity index 78% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java index 03c7a982e4f6..d9e58b84d1e5 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventory.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/inventories/v1beta/localinventory.proto package com.google.shopping.merchant.inventories.v1beta; /** + * + * *
  * Local inventory information for the product. Represents in-store information
  * for a specific product at the store specified by
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.shopping.merchant.inventories.v1beta.LocalInventory}
  */
-public final class LocalInventory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LocalInventory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.LocalInventory)
     LocalInventoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LocalInventory.newBuilder() to construct.
   private LocalInventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private LocalInventory() {
     name_ = "";
     storeCode_ = "";
@@ -35,29 +53,33 @@ private LocalInventory() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LocalInventory();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
+        .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
+    return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
+        .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.merchant.inventories.v1beta.LocalInventory.class, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
+            com.google.shopping.merchant.inventories.v1beta.LocalInventory.class,
+            com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -65,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -73,14 +96,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -88,16 +112,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,12 +131,15 @@ public java.lang.String getName() { public static final int ACCOUNT_FIELD_NUMBER = 2; private long account_ = 0L; /** + * + * *
    * Output only. The account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The account. */ @java.lang.Override @@ -122,9 +148,12 @@ public long getAccount() { } public static final int STORE_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object storeCode_ = ""; /** + * + * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -133,6 +162,7 @@ public long getAccount() {
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The storeCode. */ @java.lang.Override @@ -141,14 +171,15 @@ public java.lang.String getStoreCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeCode_ = s; return s; } } /** + * + * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -157,16 +188,15 @@ public java.lang.String getStoreCode() {
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for storeCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getStoreCodeBytes() { + public com.google.protobuf.ByteString getStoreCodeBytes() { java.lang.Object ref = storeCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); storeCode_ = b; return b; } else { @@ -177,11 +207,14 @@ public java.lang.String getStoreCode() { public static final int PRICE_FIELD_NUMBER = 4; private com.google.shopping.type.Price price_; /** + * + * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; + * * @return Whether the price field is set. */ @java.lang.Override @@ -189,11 +222,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; + * * @return The price. */ @java.lang.Override @@ -201,6 +237,8 @@ public com.google.shopping.type.Price getPrice() { return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } /** + * + * *
    * Price of the product at this store.
    * 
@@ -215,6 +253,8 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { public static final int SALE_PRICE_FIELD_NUMBER = 5; private com.google.shopping.type.Price salePrice_; /** + * + * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -222,6 +262,7 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return Whether the salePrice field is set. */ @java.lang.Override @@ -229,6 +270,8 @@ public boolean hasSalePrice() { return salePrice_ != null; } /** + * + * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -236,6 +279,7 @@ public boolean hasSalePrice() {
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return The salePrice. */ @java.lang.Override @@ -243,6 +287,8 @@ public com.google.shopping.type.Price getSalePrice() { return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; } /** + * + * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -259,12 +305,15 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
   public static final int SALE_PRICE_EFFECTIVE_DATE_FIELD_NUMBER = 6;
   private com.google.type.Interval salePriceEffectiveDate_;
   /**
+   *
+   *
    * 
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return Whether the salePriceEffectiveDate field is set. */ @java.lang.Override @@ -272,19 +321,26 @@ public boolean hasSalePriceEffectiveDate() { return salePriceEffectiveDate_ != null; } /** + * + * *
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return The salePriceEffectiveDate. */ @java.lang.Override public com.google.type.Interval getSalePriceEffectiveDate() { - return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null + ? com.google.type.Interval.getDefaultInstance() + : salePriceEffectiveDate_; } /** + * + * *
    * The `TimePeriod` of the
    * sale at this store.
@@ -294,13 +350,18 @@ public com.google.type.Interval getSalePriceEffectiveDate() {
    */
   @java.lang.Override
   public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
-    return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
+    return salePriceEffectiveDate_ == null
+        ? com.google.type.Interval.getDefaultInstance()
+        : salePriceEffectiveDate_;
   }
 
   public static final int AVAILABILITY_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object availability_ = "";
   /**
+   *
+   *
    * 
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -308,6 +369,7 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
    * 
* * optional string availability = 7; + * * @return Whether the availability field is set. */ @java.lang.Override @@ -315,6 +377,8 @@ public boolean hasAvailability() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -322,6 +386,7 @@ public boolean hasAvailability() {
    * 
* * optional string availability = 7; + * * @return The availability. */ @java.lang.Override @@ -330,14 +395,15 @@ public java.lang.String getAvailability() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; } } /** + * + * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -345,16 +411,15 @@ public java.lang.String getAvailability() {
    * 
* * optional string availability = 7; + * * @return The bytes for availability. */ @java.lang.Override - public com.google.protobuf.ByteString - getAvailabilityBytes() { + public com.google.protobuf.ByteString getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availability_ = b; return b; } else { @@ -365,12 +430,15 @@ public java.lang.String getAvailability() { public static final int QUANTITY_FIELD_NUMBER = 8; private long quantity_ = 0L; /** + * + * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; + * * @return Whether the quantity field is set. */ @java.lang.Override @@ -378,12 +446,15 @@ public boolean hasQuantity() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; + * * @return The quantity. */ @java.lang.Override @@ -392,9 +463,12 @@ public long getQuantity() { } public static final int PICKUP_METHOD_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object pickupMethod_ = ""; /** + * + * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -404,6 +478,7 @@ public long getQuantity() {
    * 
* * optional string pickup_method = 9; + * * @return Whether the pickupMethod field is set. */ @java.lang.Override @@ -411,6 +486,8 @@ public boolean hasPickupMethod() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -420,6 +497,7 @@ public boolean hasPickupMethod() {
    * 
* * optional string pickup_method = 9; + * * @return The pickupMethod. */ @java.lang.Override @@ -428,14 +506,15 @@ public java.lang.String getPickupMethod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupMethod_ = s; return s; } } /** + * + * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -445,16 +524,15 @@ public java.lang.String getPickupMethod() {
    * 
* * optional string pickup_method = 9; + * * @return The bytes for pickupMethod. */ @java.lang.Override - public com.google.protobuf.ByteString - getPickupMethodBytes() { + public com.google.protobuf.ByteString getPickupMethodBytes() { java.lang.Object ref = pickupMethod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pickupMethod_ = b; return b; } else { @@ -463,9 +541,12 @@ public java.lang.String getPickupMethod() { } public static final int PICKUP_SLA_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object pickupSla_ = ""; /** + * + * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -475,6 +556,7 @@ public java.lang.String getPickupMethod() {
    * 
* * optional string pickup_sla = 10; + * * @return Whether the pickupSla field is set. */ @java.lang.Override @@ -482,6 +564,8 @@ public boolean hasPickupSla() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -491,6 +575,7 @@ public boolean hasPickupSla() {
    * 
* * optional string pickup_sla = 10; + * * @return The pickupSla. */ @java.lang.Override @@ -499,14 +584,15 @@ public java.lang.String getPickupSla() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupSla_ = s; return s; } } /** + * + * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -516,16 +602,15 @@ public java.lang.String getPickupSla() {
    * 
* * optional string pickup_sla = 10; + * * @return The bytes for pickupSla. */ @java.lang.Override - public com.google.protobuf.ByteString - getPickupSlaBytes() { + public com.google.protobuf.ByteString getPickupSlaBytes() { java.lang.Object ref = pickupSla_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pickupSla_ = b; return b; } else { @@ -534,14 +619,18 @@ public java.lang.String getPickupSla() { } public static final int INSTORE_PRODUCT_LOCATION_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object instoreProductLocation_ = ""; /** + * + * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; + * * @return Whether the instoreProductLocation field is set. */ @java.lang.Override @@ -549,11 +638,14 @@ public boolean hasInstoreProductLocation() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; + * * @return The instoreProductLocation. */ @java.lang.Override @@ -562,29 +654,29 @@ public java.lang.String getInstoreProductLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instoreProductLocation_ = s; return s; } } /** + * + * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; + * * @return The bytes for instoreProductLocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstoreProductLocationBytes() { + public com.google.protobuf.ByteString getInstoreProductLocationBytes() { java.lang.Object ref = instoreProductLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instoreProductLocation_ = b; return b; } else { @@ -593,9 +685,12 @@ public java.lang.String getInstoreProductLocation() { } public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private java.util.List customAttributes_; /** + * + * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -609,6 +704,8 @@ public java.util.List getCustomAttribu
     return customAttributes_;
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -618,11 +715,13 @@ public java.util.List getCustomAttribu
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCustomAttributesOrBuilderList() {
     return customAttributes_;
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -636,6 +735,8 @@ public int getCustomAttributesCount() {
     return customAttributes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -649,6 +750,8 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
     return customAttributes_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -658,12 +761,12 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
   @java.lang.Override
-  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
-      int index) {
+  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index) {
     return customAttributes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -675,8 +778,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -726,30 +828,26 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (account_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(2, account_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, account_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeCode_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storeCode_);
     }
     if (price_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getPrice());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrice());
     }
     if (salePrice_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getSalePrice());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSalePrice());
     }
     if (salePriceEffectiveDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getSalePriceEffectiveDate());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSalePriceEffectiveDate());
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, availability_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(8, quantity_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, quantity_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pickupMethod_);
@@ -761,8 +859,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, instoreProductLocation_);
     }
     for (int i = 0; i < customAttributes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, customAttributes_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(12, customAttributes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -772,61 +870,50 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.LocalInventory)) {
       return super.equals(obj);
     }
-    com.google.shopping.merchant.inventories.v1beta.LocalInventory other = (com.google.shopping.merchant.inventories.v1beta.LocalInventory) obj;
+    com.google.shopping.merchant.inventories.v1beta.LocalInventory other =
+        (com.google.shopping.merchant.inventories.v1beta.LocalInventory) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (getAccount()
-        != other.getAccount()) return false;
-    if (!getStoreCode()
-        .equals(other.getStoreCode())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (getAccount() != other.getAccount()) return false;
+    if (!getStoreCode().equals(other.getStoreCode())) 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 (hasSalePrice() != other.hasSalePrice()) return false;
     if (hasSalePrice()) {
-      if (!getSalePrice()
-          .equals(other.getSalePrice())) return false;
+      if (!getSalePrice().equals(other.getSalePrice())) return false;
     }
     if (hasSalePriceEffectiveDate() != other.hasSalePriceEffectiveDate()) return false;
     if (hasSalePriceEffectiveDate()) {
-      if (!getSalePriceEffectiveDate()
-          .equals(other.getSalePriceEffectiveDate())) return false;
+      if (!getSalePriceEffectiveDate().equals(other.getSalePriceEffectiveDate())) return false;
     }
     if (hasAvailability() != other.hasAvailability()) return false;
     if (hasAvailability()) {
-      if (!getAvailability()
-          .equals(other.getAvailability())) return false;
+      if (!getAvailability().equals(other.getAvailability())) return false;
     }
     if (hasQuantity() != other.hasQuantity()) return false;
     if (hasQuantity()) {
-      if (getQuantity()
-          != other.getQuantity()) return false;
+      if (getQuantity() != other.getQuantity()) return false;
     }
     if (hasPickupMethod() != other.hasPickupMethod()) return false;
     if (hasPickupMethod()) {
-      if (!getPickupMethod()
-          .equals(other.getPickupMethod())) return false;
+      if (!getPickupMethod().equals(other.getPickupMethod())) return false;
     }
     if (hasPickupSla() != other.hasPickupSla()) return false;
     if (hasPickupSla()) {
-      if (!getPickupSla()
-          .equals(other.getPickupSla())) return false;
+      if (!getPickupSla().equals(other.getPickupSla())) return false;
     }
     if (hasInstoreProductLocation() != other.hasInstoreProductLocation()) return false;
     if (hasInstoreProductLocation()) {
-      if (!getInstoreProductLocation()
-          .equals(other.getInstoreProductLocation())) return false;
+      if (!getInstoreProductLocation().equals(other.getInstoreProductLocation())) return false;
     }
-    if (!getCustomAttributesList()
-        .equals(other.getCustomAttributesList())) return false;
+    if (!getCustomAttributesList().equals(other.getCustomAttributesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -841,8 +928,7 @@ public int hashCode() {
     hash = (37 * hash) + NAME_FIELD_NUMBER;
     hash = (53 * hash) + getName().hashCode();
     hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getAccount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAccount());
     hash = (37 * hash) + STORE_CODE_FIELD_NUMBER;
     hash = (53 * hash) + getStoreCode().hashCode();
     if (hasPrice()) {
@@ -863,8 +949,7 @@ public int hashCode() {
     }
     if (hasQuantity()) {
       hash = (37 * hash) + QUANTITY_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-          getQuantity());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getQuantity());
     }
     if (hasPickupMethod()) {
       hash = (37 * hash) + PICKUP_METHOD_FIELD_NUMBER;
@@ -888,98 +973,104 @@ public int hashCode() {
   }
 
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.LocalInventory parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.LocalInventory prototype) {
+
+  public static Builder newBuilder(
+      com.google.shopping.merchant.inventories.v1beta.LocalInventory prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Local inventory information for the product. Represents in-store information
    * for a specific product at the store specified by
@@ -990,33 +1081,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.shopping.merchant.inventories.v1beta.LocalInventory}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.LocalInventory)
       com.google.shopping.merchant.inventories.v1beta.LocalInventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
+          .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
+      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
+          .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.merchant.inventories.v1beta.LocalInventory.class, com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
+              com.google.shopping.merchant.inventories.v1beta.LocalInventory.class,
+              com.google.shopping.merchant.inventories.v1beta.LocalInventory.Builder.class);
     }
 
     // Construct using com.google.shopping.merchant.inventories.v1beta.LocalInventory.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1055,13 +1145,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.shopping.merchant.inventories.v1beta.LocalInventoryProto
+          .internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
     }
 
     @java.lang.Override
-    public com.google.shopping.merchant.inventories.v1beta.LocalInventory getDefaultInstanceForType() {
+    public com.google.shopping.merchant.inventories.v1beta.LocalInventory
+        getDefaultInstanceForType() {
       return com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance();
     }
 
@@ -1076,14 +1167,18 @@ public com.google.shopping.merchant.inventories.v1beta.LocalInventory build() {
 
     @java.lang.Override
     public com.google.shopping.merchant.inventories.v1beta.LocalInventory buildPartial() {
-      com.google.shopping.merchant.inventories.v1beta.LocalInventory result = new com.google.shopping.merchant.inventories.v1beta.LocalInventory(this);
+      com.google.shopping.merchant.inventories.v1beta.LocalInventory result =
+          new com.google.shopping.merchant.inventories.v1beta.LocalInventory(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
+    private void buildPartialRepeatedFields(
+        com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
       if (customAttributesBuilder_ == null) {
         if (((bitField0_ & 0x00000800) != 0)) {
           customAttributes_ = java.util.Collections.unmodifiableList(customAttributes_);
@@ -1095,7 +1190,8 @@ private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories
       }
     }
 
-    private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
+    private void buildPartial0(
+        com.google.shopping.merchant.inventories.v1beta.LocalInventory result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -1107,19 +1203,16 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Local
         result.storeCode_ = storeCode_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.price_ = priceBuilder_ == null
-            ? price_
-            : priceBuilder_.build();
+        result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.salePrice_ = salePriceBuilder_ == null
-            ? salePrice_
-            : salePriceBuilder_.build();
+        result.salePrice_ = salePriceBuilder_ == null ? salePrice_ : salePriceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.salePriceEffectiveDate_ = salePriceEffectiveDateBuilder_ == null
-            ? salePriceEffectiveDate_
-            : salePriceEffectiveDateBuilder_.build();
+        result.salePriceEffectiveDate_ =
+            salePriceEffectiveDateBuilder_ == null
+                ? salePriceEffectiveDate_
+                : salePriceEffectiveDateBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1149,38 +1242,39 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Local
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.merchant.inventories.v1beta.LocalInventory) {
-        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.LocalInventory)other);
+        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.LocalInventory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1188,7 +1282,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.LocalInventory other) {
-      if (other == com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance()) return this;
+      if (other
+          == com.google.shopping.merchant.inventories.v1beta.LocalInventory.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1252,9 +1348,10 @@ public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.LocalIn
             customAttributesBuilder_ = null;
             customAttributes_ = other.customAttributes_;
             bitField0_ = (bitField0_ & ~0x00000800);
-            customAttributesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCustomAttributesFieldBuilder() : null;
+            customAttributesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCustomAttributesFieldBuilder()
+                    : null;
           } else {
             customAttributesBuilder_.addAllMessages(other.customAttributes_);
           }
@@ -1286,86 +1383,93 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              account_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              storeCode_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getPriceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getSalePriceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getSalePriceEffectiveDateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              availability_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              quantity_ = input.readInt64();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 74: {
-              pickupMethod_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 74
-            case 82: {
-              pickupSla_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              instoreProductLocation_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            case 98: {
-              com.google.shopping.type.CustomAttribute m =
-                  input.readMessage(
-                      com.google.shopping.type.CustomAttribute.parser(),
-                      extensionRegistry);
-              if (customAttributesBuilder_ == null) {
-                ensureCustomAttributesIsMutable();
-                customAttributes_.add(m);
-              } else {
-                customAttributesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 98
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                account_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                storeCode_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getSalePriceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getSalePriceEffectiveDateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                availability_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                quantity_ = input.readInt64();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 74:
+              {
+                pickupMethod_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 74
+            case 82:
+              {
+                pickupSla_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                instoreProductLocation_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            case 98:
+              {
+                com.google.shopping.type.CustomAttribute m =
+                    input.readMessage(
+                        com.google.shopping.type.CustomAttribute.parser(), extensionRegistry);
+                if (customAttributesBuilder_ == null) {
+                  ensureCustomAttributesIsMutable();
+                  customAttributes_.add(m);
+                } else {
+                  customAttributesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 98
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1375,10 +1479,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1386,13 +1493,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; @@ -1401,6 +1508,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1408,15 +1517,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 { @@ -1424,6 +1532,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1431,18 +1541,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1450,6 +1564,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1459,6 +1574,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the `LocalInventory` resource.
      * Format:
@@ -1466,12 +1583,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1479,14 +1598,17 @@ public Builder setNameBytes( return this; } - private long account_ ; + private long account_; /** + * + * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The account. */ @java.lang.Override @@ -1494,12 +1616,15 @@ public long getAccount() { return account_; } /** + * + * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The account to set. * @return This builder for chaining. */ @@ -1511,12 +1636,15 @@ public Builder setAccount(long value) { return this; } /** + * + * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -1528,6 +1656,8 @@ public Builder clearAccount() { private java.lang.Object storeCode_ = ""; /** + * + * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1536,13 +1666,13 @@ public Builder clearAccount() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The storeCode. */ public java.lang.String getStoreCode() { java.lang.Object ref = storeCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeCode_ = s; return s; @@ -1551,6 +1681,8 @@ public java.lang.String getStoreCode() { } } /** + * + * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1559,15 +1691,14 @@ public java.lang.String getStoreCode() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for storeCode. */ - public com.google.protobuf.ByteString - getStoreCodeBytes() { + public com.google.protobuf.ByteString getStoreCodeBytes() { java.lang.Object ref = storeCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); storeCode_ = b; return b; } else { @@ -1575,6 +1706,8 @@ public java.lang.String getStoreCode() { } } /** + * + * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1583,18 +1716,22 @@ public java.lang.String getStoreCode() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The storeCode to set. * @return This builder for chaining. */ - public Builder setStoreCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStoreCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } storeCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1603,6 +1740,7 @@ public Builder setStoreCode(
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearStoreCode() { @@ -1612,6 +1750,8 @@ public Builder clearStoreCode() { return this; } /** + * + * *
      * Required. Store code (the store ID from your Business Profile) of the
      * physical store the product is sold in. See the [Local product inventory
@@ -1620,12 +1760,14 @@ public Builder clearStoreCode() {
      * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for storeCode to set. * @return This builder for chaining. */ - public Builder setStoreCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStoreCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); storeCode_ = value; bitField0_ |= 0x00000004; @@ -1635,24 +1777,33 @@ public Builder setStoreCodeBytes( private com.google.shopping.type.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> priceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + priceBuilder_; /** + * + * *
      * Price of the product at this store.
      * 
* * .google.shopping.type.Price price = 4; + * * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Price of the product at this store.
      * 
* * .google.shopping.type.Price price = 4; + * * @return The price. */ public com.google.shopping.type.Price getPrice() { @@ -1663,6 +1814,8 @@ public com.google.shopping.type.Price getPrice() { } } /** + * + * *
      * Price of the product at this store.
      * 
@@ -1683,14 +1836,15 @@ public Builder setPrice(com.google.shopping.type.Price value) { return this; } /** + * + * *
      * Price of the product at this store.
      * 
* * .google.shopping.type.Price price = 4; */ - public Builder setPrice( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { @@ -1701,6 +1855,8 @@ public Builder setPrice( return this; } /** + * + * *
      * Price of the product at this store.
      * 
@@ -1709,9 +1865,9 @@ public Builder setPrice( */ public Builder mergePrice(com.google.shopping.type.Price value) { if (priceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - price_ != null && - price_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && price_ != null + && price_ != com.google.shopping.type.Price.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; @@ -1724,6 +1880,8 @@ public Builder mergePrice(com.google.shopping.type.Price value) { return this; } /** + * + * *
      * Price of the product at this store.
      * 
@@ -1741,6 +1899,8 @@ public Builder clearPrice() { return this; } /** + * + * *
      * Price of the product at this store.
      * 
@@ -1753,6 +1913,8 @@ public com.google.shopping.type.Price.Builder getPriceBuilder() { return getPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price of the product at this store.
      * 
@@ -1763,11 +1925,12 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } } /** + * + * *
      * Price of the product at this store.
      * 
@@ -1775,14 +1938,17 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { * .google.shopping.type.Price price = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; @@ -1790,8 +1956,13 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { private com.google.shopping.type.Price salePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> salePriceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + salePriceBuilder_; /** + * + * *
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1799,12 +1970,15 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
      * 
* * .google.shopping.type.Price sale_price = 5; + * * @return Whether the salePrice field is set. */ public boolean hasSalePrice() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1812,16 +1986,21 @@ public boolean hasSalePrice() {
      * 
* * .google.shopping.type.Price sale_price = 5; + * * @return The salePrice. */ public com.google.shopping.type.Price getSalePrice() { if (salePriceBuilder_ == null) { - return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; + return salePrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : salePrice_; } else { return salePriceBuilder_.getMessage(); } } /** + * + * *
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1844,6 +2023,8 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1852,8 +2033,7 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
      *
      * .google.shopping.type.Price sale_price = 5;
      */
-    public Builder setSalePrice(
-        com.google.shopping.type.Price.Builder builderForValue) {
+    public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForValue) {
       if (salePriceBuilder_ == null) {
         salePrice_ = builderForValue.build();
       } else {
@@ -1864,6 +2044,8 @@ public Builder setSalePrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1874,9 +2056,9 @@ public Builder setSalePrice(
      */
     public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       if (salePriceBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          salePrice_ != null &&
-          salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && salePrice_ != null
+            && salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
           getSalePriceBuilder().mergeFrom(value);
         } else {
           salePrice_ = value;
@@ -1889,6 +2071,8 @@ public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1908,6 +2092,8 @@ public Builder clearSalePrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1922,6 +2108,8 @@ public com.google.shopping.type.Price.Builder getSalePriceBuilder() {
       return getSalePriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1934,11 +2122,14 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
       if (salePriceBuilder_ != null) {
         return salePriceBuilder_.getMessageOrBuilder();
       } else {
-        return salePrice_ == null ?
-            com.google.shopping.type.Price.getDefaultInstance() : salePrice_;
+        return salePrice_ == null
+            ? com.google.shopping.type.Price.getDefaultInstance()
+            : salePrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Sale price of the product at this store. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -1948,14 +2139,17 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
      * .google.shopping.type.Price sale_price = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> 
+            com.google.shopping.type.Price,
+            com.google.shopping.type.Price.Builder,
+            com.google.shopping.type.PriceOrBuilder>
         getSalePriceFieldBuilder() {
       if (salePriceBuilder_ == null) {
-        salePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>(
-                getSalePrice(),
-                getParentForChildren(),
-                isClean());
+        salePriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.shopping.type.Price,
+                com.google.shopping.type.Price.Builder,
+                com.google.shopping.type.PriceOrBuilder>(
+                getSalePrice(), getParentForChildren(), isClean());
         salePrice_ = null;
       }
       return salePriceBuilder_;
@@ -1963,36 +2157,49 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
 
     private com.google.type.Interval salePriceEffectiveDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> salePriceEffectiveDateBuilder_;
+            com.google.type.Interval,
+            com.google.type.Interval.Builder,
+            com.google.type.IntervalOrBuilder>
+        salePriceEffectiveDateBuilder_;
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
      * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return Whether the salePriceEffectiveDate field is set. */ public boolean hasSalePriceEffectiveDate() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * The `TimePeriod` of the
      * sale at this store.
      * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return The salePriceEffectiveDate. */ public com.google.type.Interval getSalePriceEffectiveDate() { if (salePriceEffectiveDateBuilder_ == null) { - return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null + ? com.google.type.Interval.getDefaultInstance() + : salePriceEffectiveDate_; } else { return salePriceEffectiveDateBuilder_.getMessage(); } } /** + * + * *
      * The `TimePeriod` of the
      * sale at this store.
@@ -2014,6 +2221,8 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2021,8 +2230,7 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
      *
      * .google.type.Interval sale_price_effective_date = 6;
      */
-    public Builder setSalePriceEffectiveDate(
-        com.google.type.Interval.Builder builderForValue) {
+    public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builderForValue) {
       if (salePriceEffectiveDateBuilder_ == null) {
         salePriceEffectiveDate_ = builderForValue.build();
       } else {
@@ -2033,6 +2241,8 @@ public Builder setSalePriceEffectiveDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2042,9 +2252,9 @@ public Builder setSalePriceEffectiveDate(
      */
     public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       if (salePriceEffectiveDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          salePriceEffectiveDate_ != null &&
-          salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && salePriceEffectiveDate_ != null
+            && salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
           getSalePriceEffectiveDateBuilder().mergeFrom(value);
         } else {
           salePriceEffectiveDate_ = value;
@@ -2057,6 +2267,8 @@ public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2075,6 +2287,8 @@ public Builder clearSalePriceEffectiveDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2088,6 +2302,8 @@ public com.google.type.Interval.Builder getSalePriceEffectiveDateBuilder() {
       return getSalePriceEffectiveDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2099,11 +2315,14 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
       if (salePriceEffectiveDateBuilder_ != null) {
         return salePriceEffectiveDateBuilder_.getMessageOrBuilder();
       } else {
-        return salePriceEffectiveDate_ == null ?
-            com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
+        return salePriceEffectiveDate_ == null
+            ? com.google.type.Interval.getDefaultInstance()
+            : salePriceEffectiveDate_;
       }
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale at this store.
@@ -2112,14 +2331,17 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * .google.type.Interval sale_price_effective_date = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> 
+            com.google.type.Interval,
+            com.google.type.Interval.Builder,
+            com.google.type.IntervalOrBuilder>
         getSalePriceEffectiveDateFieldBuilder() {
       if (salePriceEffectiveDateBuilder_ == null) {
-        salePriceEffectiveDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>(
-                getSalePriceEffectiveDate(),
-                getParentForChildren(),
-                isClean());
+        salePriceEffectiveDateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Interval,
+                com.google.type.Interval.Builder,
+                com.google.type.IntervalOrBuilder>(
+                getSalePriceEffectiveDate(), getParentForChildren(), isClean());
         salePriceEffectiveDate_ = null;
       }
       return salePriceEffectiveDateBuilder_;
@@ -2127,6 +2349,8 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
 
     private java.lang.Object availability_ = "";
     /**
+     *
+     *
      * 
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2134,12 +2358,15 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * 
* * optional string availability = 7; + * * @return Whether the availability field is set. */ public boolean hasAvailability() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2147,13 +2374,13 @@ public boolean hasAvailability() {
      * 
* * optional string availability = 7; + * * @return The availability. */ public java.lang.String getAvailability() { java.lang.Object ref = availability_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; @@ -2162,6 +2389,8 @@ public java.lang.String getAvailability() { } } /** + * + * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2169,15 +2398,14 @@ public java.lang.String getAvailability() {
      * 
* * optional string availability = 7; + * * @return The bytes for availability. */ - public com.google.protobuf.ByteString - getAvailabilityBytes() { + public com.google.protobuf.ByteString getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availability_ = b; return b; } else { @@ -2185,6 +2413,8 @@ public java.lang.String getAvailability() { } } /** + * + * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2192,18 +2422,22 @@ public java.lang.String getAvailability() {
      * 
* * optional string availability = 7; + * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAvailability(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } availability_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2211,6 +2445,7 @@ public Builder setAvailability(
      * 
* * optional string availability = 7; + * * @return This builder for chaining. */ public Builder clearAvailability() { @@ -2220,6 +2455,8 @@ public Builder clearAvailability() { return this; } /** + * + * *
      * Availability of the product at this store.
      * For accepted attribute values, see the [local product inventory feed
@@ -2227,12 +2464,14 @@ public Builder clearAvailability() {
      * 
* * optional string availability = 7; + * * @param value The bytes for availability to set. * @return This builder for chaining. */ - public Builder setAvailabilityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); availability_ = value; bitField0_ |= 0x00000040; @@ -2240,14 +2479,17 @@ public Builder setAvailabilityBytes( return this; } - private long quantity_ ; + private long quantity_; /** + * + * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; + * * @return Whether the quantity field is set. */ @java.lang.Override @@ -2255,12 +2497,15 @@ public boolean hasQuantity() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; + * * @return The quantity. */ @java.lang.Override @@ -2268,12 +2513,15 @@ public long getQuantity() { return quantity_; } /** + * + * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; + * * @param value The quantity to set. * @return This builder for chaining. */ @@ -2285,12 +2533,15 @@ public Builder setQuantity(long value) { return this; } /** + * + * *
      * Quantity of the product available at this store. Must be greater than or
      * equal to zero.
      * 
* * optional int64 quantity = 8; + * * @return This builder for chaining. */ public Builder clearQuantity() { @@ -2302,6 +2553,8 @@ public Builder clearQuantity() { private java.lang.Object pickupMethod_ = ""; /** + * + * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2311,12 +2564,15 @@ public Builder clearQuantity() {
      * 
* * optional string pickup_method = 9; + * * @return Whether the pickupMethod field is set. */ public boolean hasPickupMethod() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2326,13 +2582,13 @@ public boolean hasPickupMethod() {
      * 
* * optional string pickup_method = 9; + * * @return The pickupMethod. */ public java.lang.String getPickupMethod() { java.lang.Object ref = pickupMethod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupMethod_ = s; return s; @@ -2341,6 +2597,8 @@ public java.lang.String getPickupMethod() { } } /** + * + * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2350,15 +2608,14 @@ public java.lang.String getPickupMethod() {
      * 
* * optional string pickup_method = 9; + * * @return The bytes for pickupMethod. */ - public com.google.protobuf.ByteString - getPickupMethodBytes() { + public com.google.protobuf.ByteString getPickupMethodBytes() { java.lang.Object ref = pickupMethod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pickupMethod_ = b; return b; } else { @@ -2366,6 +2623,8 @@ public java.lang.String getPickupMethod() { } } /** + * + * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2375,18 +2634,22 @@ public java.lang.String getPickupMethod() {
      * 
* * optional string pickup_method = 9; + * * @param value The pickupMethod to set. * @return This builder for chaining. */ - public Builder setPickupMethod( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPickupMethod(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pickupMethod_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2396,6 +2659,7 @@ public Builder setPickupMethod(
      * 
* * optional string pickup_method = 9; + * * @return This builder for chaining. */ public Builder clearPickupMethod() { @@ -2405,6 +2669,8 @@ public Builder clearPickupMethod() { return this; } /** + * + * *
      * Supported pickup method for this product. Unless the value is `"not
      * supported"`, this field must be submitted together with
@@ -2414,12 +2680,14 @@ public Builder clearPickupMethod() {
      * 
* * optional string pickup_method = 9; + * * @param value The bytes for pickupMethod to set. * @return This builder for chaining. */ - public Builder setPickupMethodBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPickupMethodBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pickupMethod_ = value; bitField0_ |= 0x00000100; @@ -2429,6 +2697,8 @@ public Builder setPickupMethodBytes( private java.lang.Object pickupSla_ = ""; /** + * + * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2438,12 +2708,15 @@ public Builder setPickupMethodBytes(
      * 
* * optional string pickup_sla = 10; + * * @return Whether the pickupSla field is set. */ public boolean hasPickupSla() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2453,13 +2726,13 @@ public boolean hasPickupSla() {
      * 
* * optional string pickup_sla = 10; + * * @return The pickupSla. */ public java.lang.String getPickupSla() { java.lang.Object ref = pickupSla_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pickupSla_ = s; return s; @@ -2468,6 +2741,8 @@ public java.lang.String getPickupSla() { } } /** + * + * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2477,15 +2752,14 @@ public java.lang.String getPickupSla() {
      * 
* * optional string pickup_sla = 10; + * * @return The bytes for pickupSla. */ - public com.google.protobuf.ByteString - getPickupSlaBytes() { + public com.google.protobuf.ByteString getPickupSlaBytes() { java.lang.Object ref = pickupSla_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pickupSla_ = b; return b; } else { @@ -2493,6 +2767,8 @@ public java.lang.String getPickupSla() { } } /** + * + * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2502,18 +2778,22 @@ public java.lang.String getPickupSla() {
      * 
* * optional string pickup_sla = 10; + * * @param value The pickupSla to set. * @return This builder for chaining. */ - public Builder setPickupSla( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPickupSla(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pickupSla_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2523,6 +2803,7 @@ public Builder setPickupSla(
      * 
* * optional string pickup_sla = 10; + * * @return This builder for chaining. */ public Builder clearPickupSla() { @@ -2532,6 +2813,8 @@ public Builder clearPickupSla() { return this; } /** + * + * *
      * Relative time period from the order date for an order for this product,
      * from this store, to be ready for pickup. Must be submitted with
@@ -2541,12 +2824,14 @@ public Builder clearPickupSla() {
      * 
* * optional string pickup_sla = 10; + * * @param value The bytes for pickupSla to set. * @return This builder for chaining. */ - public Builder setPickupSlaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPickupSlaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pickupSla_ = value; bitField0_ |= 0x00000200; @@ -2556,29 +2841,34 @@ public Builder setPickupSlaBytes( private java.lang.Object instoreProductLocation_ = ""; /** + * + * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; + * * @return Whether the instoreProductLocation field is set. */ public boolean hasInstoreProductLocation() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; + * * @return The instoreProductLocation. */ public java.lang.String getInstoreProductLocation() { java.lang.Object ref = instoreProductLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instoreProductLocation_ = s; return s; @@ -2587,20 +2877,21 @@ public java.lang.String getInstoreProductLocation() { } } /** + * + * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; + * * @return The bytes for instoreProductLocation. */ - public com.google.protobuf.ByteString - getInstoreProductLocationBytes() { + public com.google.protobuf.ByteString getInstoreProductLocationBytes() { java.lang.Object ref = instoreProductLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instoreProductLocation_ = b; return b; } else { @@ -2608,28 +2899,35 @@ public java.lang.String getInstoreProductLocation() { } } /** + * + * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; + * * @param value The instoreProductLocation to set. * @return This builder for chaining. */ - public Builder setInstoreProductLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstoreProductLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instoreProductLocation_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; + * * @return This builder for chaining. */ public Builder clearInstoreProductLocation() { @@ -2639,17 +2937,21 @@ public Builder clearInstoreProductLocation() { return this; } /** + * + * *
      * Location of the product inside the store. Maximum length is 20 bytes.
      * 
* * optional string instore_product_location = 11; + * * @param value The bytes for instoreProductLocation to set. * @return This builder for chaining. */ - public Builder setInstoreProductLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstoreProductLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instoreProductLocation_ = value; bitField0_ |= 0x00000400; @@ -2658,18 +2960,25 @@ public Builder setInstoreProductLocationBytes( } private java.util.List customAttributes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - customAttributes_ = new java.util.ArrayList(customAttributes_); + customAttributes_ = + new java.util.ArrayList(customAttributes_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> customAttributesBuilder_; + com.google.shopping.type.CustomAttribute, + com.google.shopping.type.CustomAttribute.Builder, + com.google.shopping.type.CustomAttributeOrBuilder> + customAttributesBuilder_; /** + * + * *
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2686,6 +2995,8 @@ public java.util.List getCustomAttribu
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2702,6 +3013,8 @@ public int getCustomAttributesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2718,6 +3031,8 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2726,8 +3041,7 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public Builder setCustomAttributes(
-        int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder setCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2741,6 +3055,8 @@ public Builder setCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2761,6 +3077,8 @@ public Builder setCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2783,6 +3101,8 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2791,8 +3111,7 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public Builder addCustomAttributes(
-        int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder addCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2806,6 +3125,8 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2826,6 +3147,8 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2846,6 +3169,8 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2858,8 +3183,7 @@ public Builder addAllCustomAttributes(
         java.lang.Iterable values) {
       if (customAttributesBuilder_ == null) {
         ensureCustomAttributesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, customAttributes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customAttributes_);
         onChanged();
       } else {
         customAttributesBuilder_.addAllMessages(values);
@@ -2867,6 +3191,8 @@ public Builder addAllCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2886,6 +3212,8 @@ public Builder clearCustomAttributes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2905,6 +3233,8 @@ public Builder removeCustomAttributes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2913,11 +3243,12 @@ public Builder removeCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(
-        int index) {
+    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(int index) {
       return getCustomAttributesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2929,11 +3260,14 @@ public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuild
     public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
         int index) {
       if (customAttributesBuilder_ == null) {
-        return customAttributes_.get(index);  } else {
+        return customAttributes_.get(index);
+      } else {
         return customAttributesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2942,8 +3276,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public java.util.List 
-         getCustomAttributesOrBuilderList() {
+    public java.util.List
+        getCustomAttributesOrBuilderList() {
       if (customAttributesBuilder_ != null) {
         return customAttributesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2951,6 +3285,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2960,10 +3296,12 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
     public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder() {
-      return getCustomAttributesFieldBuilder().addBuilder(
-          com.google.shopping.type.CustomAttribute.getDefaultInstance());
+      return getCustomAttributesFieldBuilder()
+          .addBuilder(com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2972,12 +3310,13 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(
-        int index) {
-      return getCustomAttributesFieldBuilder().addBuilder(
-          index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
+    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(int index) {
+      return getCustomAttributesFieldBuilder()
+          .addBuilder(index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2986,16 +3325,22 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
      */
-    public java.util.List 
-         getCustomAttributesBuilderList() {
+    public java.util.List
+        getCustomAttributesBuilderList() {
       return getCustomAttributesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> 
+            com.google.shopping.type.CustomAttribute,
+            com.google.shopping.type.CustomAttribute.Builder,
+            com.google.shopping.type.CustomAttributeOrBuilder>
         getCustomAttributesFieldBuilder() {
       if (customAttributesBuilder_ == null) {
-        customAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>(
+        customAttributesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.shopping.type.CustomAttribute,
+                com.google.shopping.type.CustomAttribute.Builder,
+                com.google.shopping.type.CustomAttributeOrBuilder>(
                 customAttributes_,
                 ((bitField0_ & 0x00000800) != 0),
                 getParentForChildren(),
@@ -3004,9 +3349,9 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
       }
       return customAttributesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3016,41 +3361,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.LocalInventory)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.LocalInventory)
-  private static final com.google.shopping.merchant.inventories.v1beta.LocalInventory DEFAULT_INSTANCE;
+  private static final com.google.shopping.merchant.inventories.v1beta.LocalInventory
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.LocalInventory();
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory getDefaultInstance() {
+  public static com.google.shopping.merchant.inventories.v1beta.LocalInventory
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public LocalInventory parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public LocalInventory parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3062,9 +3409,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.shopping.merchant.inventories.v1beta.LocalInventory getDefaultInstanceForType() {
+  public com.google.shopping.merchant.inventories.v1beta.LocalInventory
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryName.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
similarity index 87%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
index 1a65afed157c..b2b43234a82e 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/merchant/inventories/v1beta/localinventory.proto
 
 package com.google.shopping.merchant.inventories.v1beta;
 
-public interface LocalInventoryOrBuilder extends
+public interface LocalInventoryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.LocalInventory)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -15,10 +33,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the `LocalInventory` resource.
    * Format:
@@ -26,23 +47,28 @@ public interface LocalInventoryOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The account. */ long getAccount(); /** + * + * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -51,10 +77,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The storeCode. */ java.lang.String getStoreCode(); /** + * + * *
    * Required. Store code (the store ID from your Business Profile) of the
    * physical store the product is sold in. See the [Local product inventory
@@ -63,30 +92,38 @@ public interface LocalInventoryOrBuilder extends
    * 
* * string store_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for storeCode. */ - com.google.protobuf.ByteString - getStoreCodeBytes(); + com.google.protobuf.ByteString getStoreCodeBytes(); /** + * + * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; + * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * *
    * Price of the product at this store.
    * 
* * .google.shopping.type.Price price = 4; + * * @return The price. */ com.google.shopping.type.Price getPrice(); /** + * + * *
    * Price of the product at this store.
    * 
@@ -96,6 +133,8 @@ public interface LocalInventoryOrBuilder extends com.google.shopping.type.PriceOrBuilder getPriceOrBuilder(); /** + * + * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -103,10 +142,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return Whether the salePrice field is set. */ boolean hasSalePrice(); /** + * + * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -114,10 +156,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return The salePrice. */ com.google.shopping.type.Price getSalePrice(); /** + * + * *
    * Sale price of the product at this store. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
@@ -129,26 +174,34 @@ public interface LocalInventoryOrBuilder extends
   com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return Whether the salePriceEffectiveDate field is set. */ boolean hasSalePriceEffectiveDate(); /** + * + * *
    * The `TimePeriod` of the
    * sale at this store.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return The salePriceEffectiveDate. */ com.google.type.Interval getSalePriceEffectiveDate(); /** + * + * *
    * The `TimePeriod` of the
    * sale at this store.
@@ -159,6 +212,8 @@ public interface LocalInventoryOrBuilder extends
   com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -166,10 +221,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string availability = 7; + * * @return Whether the availability field is set. */ boolean hasAvailability(); /** + * + * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -177,10 +235,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string availability = 7; + * * @return The availability. */ java.lang.String getAvailability(); /** + * + * *
    * Availability of the product at this store.
    * For accepted attribute values, see the [local product inventory feed
@@ -188,33 +249,41 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string availability = 7; + * * @return The bytes for availability. */ - com.google.protobuf.ByteString - getAvailabilityBytes(); + com.google.protobuf.ByteString getAvailabilityBytes(); /** + * + * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; + * * @return Whether the quantity field is set. */ boolean hasQuantity(); /** + * + * *
    * Quantity of the product available at this store. Must be greater than or
    * equal to zero.
    * 
* * optional int64 quantity = 8; + * * @return The quantity. */ long getQuantity(); /** + * + * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -224,10 +293,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string pickup_method = 9; + * * @return Whether the pickupMethod field is set. */ boolean hasPickupMethod(); /** + * + * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -237,10 +309,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string pickup_method = 9; + * * @return The pickupMethod. */ java.lang.String getPickupMethod(); /** + * + * *
    * Supported pickup method for this product. Unless the value is `"not
    * supported"`, this field must be submitted together with
@@ -250,12 +325,14 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string pickup_method = 9; + * * @return The bytes for pickupMethod. */ - com.google.protobuf.ByteString - getPickupMethodBytes(); + com.google.protobuf.ByteString getPickupMethodBytes(); /** + * + * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -265,10 +342,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string pickup_sla = 10; + * * @return Whether the pickupSla field is set. */ boolean hasPickupSla(); /** + * + * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -278,10 +358,13 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string pickup_sla = 10; + * * @return The pickupSla. */ java.lang.String getPickupSla(); /** + * + * *
    * Relative time period from the order date for an order for this product,
    * from this store, to be ready for pickup. Must be submitted with
@@ -291,41 +374,51 @@ public interface LocalInventoryOrBuilder extends
    * 
* * optional string pickup_sla = 10; + * * @return The bytes for pickupSla. */ - com.google.protobuf.ByteString - getPickupSlaBytes(); + com.google.protobuf.ByteString getPickupSlaBytes(); /** + * + * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; + * * @return Whether the instoreProductLocation field is set. */ boolean hasInstoreProductLocation(); /** + * + * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; + * * @return The instoreProductLocation. */ java.lang.String getInstoreProductLocation(); /** + * + * *
    * Location of the product inside the store. Maximum length is 20 bytes.
    * 
* * optional string instore_product_location = 11; + * * @return The bytes for instoreProductLocation. */ - com.google.protobuf.ByteString - getInstoreProductLocationBytes(); + com.google.protobuf.ByteString getInstoreProductLocationBytes(); /** + * + * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -334,9 +427,10 @@ public interface LocalInventoryOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
-  java.util.List 
-      getCustomAttributesList();
+  java.util.List getCustomAttributesList();
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -347,6 +441,8 @@ public interface LocalInventoryOrBuilder extends
    */
   com.google.shopping.type.CustomAttribute getCustomAttributes(int index);
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -357,6 +453,8 @@ public interface LocalInventoryOrBuilder extends
    */
   int getCustomAttributesCount();
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -365,9 +463,11 @@ public interface LocalInventoryOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
-  java.util.List 
+  java.util.List
       getCustomAttributesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -376,6 +476,5 @@ public interface LocalInventoryOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 12;
    */
-  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
-      int index);
+  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index);
 }
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java
new file mode 100644
index 000000000000..19c4627f9049
--- /dev/null
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java
@@ -0,0 +1,211 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/merchant/inventories/v1beta/localinventory.proto
+
+package com.google.shopping.merchant.inventories.v1beta;
+
+public final class LocalInventoryProto {
+  private LocalInventoryProto() {}
+
+  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_shopping_merchant_inventories_v1beta_LocalInventory_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_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/shopping/merchant/inventories/v"
+          + "1beta/localinventory.proto\022+google.shopp"
+          + "ing.merchant.inventories.v1beta\032\034google/"
+          + "api/annotations.proto\032\027google/api/client"
+          + ".proto\032\037google/api/field_behavior.proto\032"
+          + "\031google/api/resource.proto\032\033google/proto"
+          + "buf/empty.proto\032 google/shopping/type/ty"
+          + "pes.proto\032\032google/type/interval.proto\"\215\005"
+          + "\n\016LocalInventory\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\025\n\007"
+          + "account\030\002 \001(\003B\004\342A\001\003\022\030\n\nstore_code\030\003 \001(\tB"
+          + "\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping.t"
+          + "ype.Price\022/\n\nsale_price\030\005 \001(\0132\033.google.s"
+          + "hopping.type.Price\0228\n\031sale_price_effecti"
+          + "ve_date\030\006 \001(\0132\025.google.type.Interval\022\031\n\014"
+          + "availability\030\007 \001(\tH\000\210\001\001\022\025\n\010quantity\030\010 \001("
+          + "\003H\001\210\001\001\022\032\n\rpickup_method\030\t \001(\tH\002\210\001\001\022\027\n\npi"
+          + "ckup_sla\030\n \001(\tH\003\210\001\001\022%\n\030instore_product_l"
+          + "ocation\030\013 \001(\tH\004\210\001\001\022@\n\021custom_attributes\030"
+          + "\014 \003(\0132%.google.shopping.type.CustomAttri"
+          + "bute:s\352Ap\n)merchantapi.googleapis.com/Lo"
+          + "calInventory\022Caccounts/{account}/product"
+          + "s/{product}/localInventories/{store_code"
+          + "}B\017\n\r_availabilityB\013\n\t_quantityB\020\n\016_pick"
+          + "up_methodB\r\n\013_pickup_slaB\033\n\031_instore_pro"
+          + "duct_location\"Z\n\033ListLocalInventoriesReq"
+          + "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030"
+          + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001\n\034ListLocalI"
+          + "nventoriesResponse\022V\n\021local_inventories\030"
+          + "\001 \003(\0132;.google.shopping.merchant.invento"
+          + "ries.v1beta.LocalInventory\022\027\n\017next_page_"
+          + "token\030\002 \001(\t\"\217\001\n\033InsertLocalInventoryRequ"
+          + "est\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022Z\n\017local_inven"
+          + "tory\030\002 \001(\0132;.google.shopping.merchant.in"
+          + "ventories.v1beta.LocalInventoryB\004\342A\001\002\"_\n"
+          + "\033DeleteLocalInventoryRequest\022@\n\004name\030\001 \001"
+          + "(\tB2\342A\001\002\372A+\n)merchantapi.googleapis.com/"
+          + "LocalInventory2\270\006\n\025LocalInventoryService"
+          + "\022\201\002\n\024ListLocalInventories\022H.google.shopp"
+          + "ing.merchant.inventories.v1beta.ListLoca"
+          + "lInventoriesRequest\032I.google.shopping.me"
+          + "rchant.inventories.v1beta.ListLocalInven"
+          + "toriesResponse\"T\332A\006parent\202\323\344\223\002E\022C/invent"
+          + "ories/v1beta/{parent=accounts/*/products"
+          + "/*}/localInventories\022\202\002\n\024InsertLocalInve"
+          + "ntory\022H.google.shopping.merchant.invento"
+          + "ries.v1beta.InsertLocalInventoryRequest\032"
+          + ";.google.shopping.merchant.inventories.v"
+          + "1beta.LocalInventory\"c\202\323\344\223\002]\"J/inventori"
+          + "es/v1beta/{parent=accounts/*/products/*}"
+          + "/localInventories:insert:\017local_inventor"
+          + "y\022\314\001\n\024DeleteLocalInventory\022H.google.shop"
+          + "ping.merchant.inventories.v1beta.DeleteL"
+          + "ocalInventoryRequest\032\026.google.protobuf.E"
+          + "mpty\"R\332A\004name\202\323\344\223\002E*C/inventories/v1beta"
+          + "/{name=accounts/*/products/*/localInvent"
+          + "ories/*}\032G\312A\032merchantapi.googleapis.com\322"
+          + "A\'https://www.googleapis.com/auth/conten"
+          + "tB\241\001\n/com.google.shopping.merchant.inven"
+          + "tories.v1betaB\023LocalInventoryProtoP\001ZWcl"
+          + "oud.google.com/go/shopping/merchant/inve"
+          + "ntories/apiv1beta/inventoriespb;inventor"
+          + "iespbb\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.protobuf.EmptyProto.getDescriptor(),
+              com.google.shopping.type.TypesProto.getDescriptor(),
+              com.google.type.IntervalProto.getDescriptor(),
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "Account",
+              "StoreCode",
+              "Price",
+              "SalePrice",
+              "SalePriceEffectiveDate",
+              "Availability",
+              "Quantity",
+              "PickupMethod",
+              "PickupSla",
+              "InstoreProductLocation",
+              "CustomAttributes",
+              "Availability",
+              "Quantity",
+              "PickupMethod",
+              "PickupSla",
+              "InstoreProductLocation",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor,
+            new java.lang.String[] {
+              "LocalInventories", "NextPageToken",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "LocalInventory",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    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.protobuf.EmptyProto.getDescriptor();
+    com.google.shopping.type.TypesProto.getDescriptor();
+    com.google.type.IntervalProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
similarity index 76%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
index 7326d512e3c6..ed69dccf4152 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventory.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto
 
 package com.google.shopping.merchant.inventories.v1beta;
 
 /**
+ *
+ *
  * 
  * Regional inventory information for the product. Represents specific
  * information like price and availability for a given product in a specific
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.shopping.merchant.inventories.v1beta.RegionalInventory}
  */
-public final class RegionalInventory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RegionalInventory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.shopping.merchant.inventories.v1beta.RegionalInventory)
     RegionalInventoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RegionalInventory.newBuilder() to construct.
   private RegionalInventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RegionalInventory() {
     name_ = "";
     region_ = "";
@@ -33,29 +51,33 @@ private RegionalInventory() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RegionalInventory();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
+        .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
+    return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
+        .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
+            com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class,
+            com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -63,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -71,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -106,12 +129,15 @@ public java.lang.String getName() { public static final int ACCOUNT_FIELD_NUMBER = 2; private long account_ = 0L; /** + * + * *
    * Output only. The account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The account. */ @java.lang.Override @@ -120,9 +146,12 @@ public long getAccount() { } public static final int REGION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** + * + * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -131,6 +160,7 @@ public long getAccount() {
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The region. */ @java.lang.Override @@ -139,14 +169,15 @@ public java.lang.String getRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } } /** + * + * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -155,16 +186,15 @@ public java.lang.String getRegion() {
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -175,11 +205,14 @@ public java.lang.String getRegion() { public static final int PRICE_FIELD_NUMBER = 4; private com.google.shopping.type.Price price_; /** + * + * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; + * * @return Whether the price field is set. */ @java.lang.Override @@ -187,11 +220,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; + * * @return The price. */ @java.lang.Override @@ -199,6 +235,8 @@ public com.google.shopping.type.Price getPrice() { return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } /** + * + * *
    * Price of the product in this region.
    * 
@@ -213,6 +251,8 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { public static final int SALE_PRICE_FIELD_NUMBER = 5; private com.google.shopping.type.Price salePrice_; /** + * + * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -220,6 +260,7 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return Whether the salePrice field is set. */ @java.lang.Override @@ -227,6 +268,8 @@ public boolean hasSalePrice() { return salePrice_ != null; } /** + * + * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -234,6 +277,7 @@ public boolean hasSalePrice() {
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return The salePrice. */ @java.lang.Override @@ -241,6 +285,8 @@ public com.google.shopping.type.Price getSalePrice() { return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; } /** + * + * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -257,12 +303,15 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
   public static final int SALE_PRICE_EFFECTIVE_DATE_FIELD_NUMBER = 6;
   private com.google.type.Interval salePriceEffectiveDate_;
   /**
+   *
+   *
    * 
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return Whether the salePriceEffectiveDate field is set. */ @java.lang.Override @@ -270,19 +319,26 @@ public boolean hasSalePriceEffectiveDate() { return salePriceEffectiveDate_ != null; } /** + * + * *
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return The salePriceEffectiveDate. */ @java.lang.Override public com.google.type.Interval getSalePriceEffectiveDate() { - return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null + ? com.google.type.Interval.getDefaultInstance() + : salePriceEffectiveDate_; } /** + * + * *
    * The `TimePeriod` of the
    * sale price in this region.
@@ -292,13 +348,18 @@ public com.google.type.Interval getSalePriceEffectiveDate() {
    */
   @java.lang.Override
   public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
-    return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
+    return salePriceEffectiveDate_ == null
+        ? com.google.type.Interval.getDefaultInstance()
+        : salePriceEffectiveDate_;
   }
 
   public static final int AVAILABILITY_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object availability_ = "";
   /**
+   *
+   *
    * 
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -306,6 +367,7 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
    * 
* * optional string availability = 7; + * * @return Whether the availability field is set. */ @java.lang.Override @@ -313,6 +375,8 @@ public boolean hasAvailability() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -320,6 +384,7 @@ public boolean hasAvailability() {
    * 
* * optional string availability = 7; + * * @return The availability. */ @java.lang.Override @@ -328,14 +393,15 @@ public java.lang.String getAvailability() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; } } /** + * + * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -343,16 +409,15 @@ public java.lang.String getAvailability() {
    * 
* * optional string availability = 7; + * * @return The bytes for availability. */ @java.lang.Override - public com.google.protobuf.ByteString - getAvailabilityBytes() { + public com.google.protobuf.ByteString getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availability_ = b; return b; } else { @@ -361,9 +426,12 @@ public java.lang.String getAvailability() { } public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List customAttributes_; /** + * + * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -377,6 +445,8 @@ public java.util.List getCustomAttribu
     return customAttributes_;
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -386,11 +456,13 @@ public java.util.List getCustomAttribu
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCustomAttributesOrBuilderList() {
     return customAttributes_;
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -404,6 +476,8 @@ public int getCustomAttributesCount() {
     return customAttributes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -417,6 +491,8 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
     return customAttributes_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -426,12 +502,12 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
   @java.lang.Override
-  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
-      int index) {
+  public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index) {
     return customAttributes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -443,8 +519,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -482,30 +557,26 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (account_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(2, account_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, account_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, region_);
     }
     if (price_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getPrice());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrice());
     }
     if (salePrice_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getSalePrice());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSalePrice());
     }
     if (salePriceEffectiveDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getSalePriceEffectiveDate());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSalePriceEffectiveDate());
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, availability_);
     }
     for (int i = 0; i < customAttributes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, customAttributes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, customAttributes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -515,41 +586,34 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.shopping.merchant.inventories.v1beta.RegionalInventory)) {
       return super.equals(obj);
     }
-    com.google.shopping.merchant.inventories.v1beta.RegionalInventory other = (com.google.shopping.merchant.inventories.v1beta.RegionalInventory) obj;
+    com.google.shopping.merchant.inventories.v1beta.RegionalInventory other =
+        (com.google.shopping.merchant.inventories.v1beta.RegionalInventory) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (getAccount()
-        != other.getAccount()) return false;
-    if (!getRegion()
-        .equals(other.getRegion())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (getAccount() != other.getAccount()) return false;
+    if (!getRegion().equals(other.getRegion())) 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 (hasSalePrice() != other.hasSalePrice()) return false;
     if (hasSalePrice()) {
-      if (!getSalePrice()
-          .equals(other.getSalePrice())) return false;
+      if (!getSalePrice().equals(other.getSalePrice())) return false;
     }
     if (hasSalePriceEffectiveDate() != other.hasSalePriceEffectiveDate()) return false;
     if (hasSalePriceEffectiveDate()) {
-      if (!getSalePriceEffectiveDate()
-          .equals(other.getSalePriceEffectiveDate())) return false;
+      if (!getSalePriceEffectiveDate().equals(other.getSalePriceEffectiveDate())) return false;
     }
     if (hasAvailability() != other.hasAvailability()) return false;
     if (hasAvailability()) {
-      if (!getAvailability()
-          .equals(other.getAvailability())) return false;
+      if (!getAvailability().equals(other.getAvailability())) return false;
     }
-    if (!getCustomAttributesList()
-        .equals(other.getCustomAttributesList())) return false;
+    if (!getCustomAttributesList().equals(other.getCustomAttributesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -564,8 +628,7 @@ public int hashCode() {
     hash = (37 * hash) + NAME_FIELD_NUMBER;
     hash = (53 * hash) + getName().hashCode();
     hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getAccount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAccount());
     hash = (37 * hash) + REGION_FIELD_NUMBER;
     hash = (53 * hash) + getRegion().hashCode();
     if (hasPrice()) {
@@ -594,98 +657,105 @@ public int hashCode() {
   }
 
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.shopping.merchant.inventories.v1beta.RegionalInventory prototype) {
+
+  public static Builder newBuilder(
+      com.google.shopping.merchant.inventories.v1beta.RegionalInventory prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Regional inventory information for the product. Represents specific
    * information like price and availability for a given product in a specific
@@ -697,33 +767,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.shopping.merchant.inventories.v1beta.RegionalInventory}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.shopping.merchant.inventories.v1beta.RegionalInventory)
       com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
+          .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
+      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
+          .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
+              com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class,
+              com.google.shopping.merchant.inventories.v1beta.RegionalInventory.Builder.class);
     }
 
-    // Construct using com.google.shopping.merchant.inventories.v1beta.RegionalInventory.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.shopping.merchant.inventories.v1beta.RegionalInventory.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -758,13 +828,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto
+          .internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
     }
 
     @java.lang.Override
-    public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getDefaultInstanceForType() {
+    public com.google.shopping.merchant.inventories.v1beta.RegionalInventory
+        getDefaultInstanceForType() {
       return com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance();
     }
 
@@ -779,14 +850,18 @@ public com.google.shopping.merchant.inventories.v1beta.RegionalInventory build()
 
     @java.lang.Override
     public com.google.shopping.merchant.inventories.v1beta.RegionalInventory buildPartial() {
-      com.google.shopping.merchant.inventories.v1beta.RegionalInventory result = new com.google.shopping.merchant.inventories.v1beta.RegionalInventory(this);
+      com.google.shopping.merchant.inventories.v1beta.RegionalInventory result =
+          new com.google.shopping.merchant.inventories.v1beta.RegionalInventory(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
+    private void buildPartialRepeatedFields(
+        com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
       if (customAttributesBuilder_ == null) {
         if (((bitField0_ & 0x00000080) != 0)) {
           customAttributes_ = java.util.Collections.unmodifiableList(customAttributes_);
@@ -798,7 +873,8 @@ private void buildPartialRepeatedFields(com.google.shopping.merchant.inventories
       }
     }
 
-    private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
+    private void buildPartial0(
+        com.google.shopping.merchant.inventories.v1beta.RegionalInventory result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -810,19 +886,16 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Regio
         result.region_ = region_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.price_ = priceBuilder_ == null
-            ? price_
-            : priceBuilder_.build();
+        result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.salePrice_ = salePriceBuilder_ == null
-            ? salePrice_
-            : salePriceBuilder_.build();
+        result.salePrice_ = salePriceBuilder_ == null ? salePrice_ : salePriceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.salePriceEffectiveDate_ = salePriceEffectiveDateBuilder_ == null
-            ? salePriceEffectiveDate_
-            : salePriceEffectiveDateBuilder_.build();
+        result.salePriceEffectiveDate_ =
+            salePriceEffectiveDateBuilder_ == null
+                ? salePriceEffectiveDate_
+                : salePriceEffectiveDateBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -836,46 +909,50 @@ private void buildPartial0(com.google.shopping.merchant.inventories.v1beta.Regio
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.merchant.inventories.v1beta.RegionalInventory) {
-        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.RegionalInventory)other);
+        return mergeFrom((com.google.shopping.merchant.inventories.v1beta.RegionalInventory) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.RegionalInventory other) {
-      if (other == com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.shopping.merchant.inventories.v1beta.RegionalInventory other) {
+      if (other
+          == com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -921,9 +998,10 @@ public Builder mergeFrom(com.google.shopping.merchant.inventories.v1beta.Regiona
             customAttributesBuilder_ = null;
             customAttributes_ = other.customAttributes_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            customAttributesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCustomAttributesFieldBuilder() : null;
+            customAttributesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCustomAttributesFieldBuilder()
+                    : null;
           } else {
             customAttributesBuilder_.addAllMessages(other.customAttributes_);
           }
@@ -955,66 +1033,69 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              account_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              region_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getPriceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getSalePriceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getSalePriceEffectiveDateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              availability_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              com.google.shopping.type.CustomAttribute m =
-                  input.readMessage(
-                      com.google.shopping.type.CustomAttribute.parser(),
-                      extensionRegistry);
-              if (customAttributesBuilder_ == null) {
-                ensureCustomAttributesIsMutable();
-                customAttributes_.add(m);
-              } else {
-                customAttributesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                account_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                region_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getSalePriceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getSalePriceEffectiveDateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                availability_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                com.google.shopping.type.CustomAttribute m =
+                    input.readMessage(
+                        com.google.shopping.type.CustomAttribute.parser(), extensionRegistry);
+                if (customAttributesBuilder_ == null) {
+                  ensureCustomAttributesIsMutable();
+                  customAttributes_.add(m);
+                } else {
+                  customAttributesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1024,10 +1105,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1035,13 +1119,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; @@ -1050,6 +1134,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1057,15 +1143,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 { @@ -1073,6 +1158,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1080,18 +1167,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1099,6 +1190,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1108,6 +1200,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the `RegionalInventory` resource.
      * Format:
@@ -1115,12 +1209,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1128,14 +1224,17 @@ public Builder setNameBytes( return this; } - private long account_ ; + private long account_; /** + * + * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The account. */ @java.lang.Override @@ -1143,12 +1242,15 @@ public long getAccount() { return account_; } /** + * + * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The account to set. * @return This builder for chaining. */ @@ -1160,12 +1262,15 @@ public Builder setAccount(long value) { return this; } /** + * + * *
      * Output only. The account that owns the product. This field will be ignored
      * if set by the client.
      * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -1177,6 +1282,8 @@ public Builder clearAccount() { private java.lang.Object region_ = ""; /** + * + * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1185,13 +1292,13 @@ public Builder clearAccount() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; @@ -1200,6 +1307,8 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1208,15 +1317,14 @@ public java.lang.String getRegion() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); region_ = b; return b; } else { @@ -1224,6 +1332,8 @@ public java.lang.String getRegion() { } } /** + * + * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1232,18 +1342,22 @@ public java.lang.String getRegion() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } region_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1252,6 +1366,7 @@ public Builder setRegion(
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRegion() { @@ -1261,6 +1376,8 @@ public Builder clearRegion() { return this; } /** + * + * *
      * Required. ID of the region for this
      * `RegionalInventory` resource. See the [Regional availability and
@@ -1269,12 +1386,14 @@ public Builder clearRegion() {
      * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000004; @@ -1284,24 +1403,33 @@ public Builder setRegionBytes( private com.google.shopping.type.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> priceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + priceBuilder_; /** + * + * *
      * Price of the product in this region.
      * 
* * .google.shopping.type.Price price = 4; + * * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Price of the product in this region.
      * 
* * .google.shopping.type.Price price = 4; + * * @return The price. */ public com.google.shopping.type.Price getPrice() { @@ -1312,6 +1440,8 @@ public com.google.shopping.type.Price getPrice() { } } /** + * + * *
      * Price of the product in this region.
      * 
@@ -1332,14 +1462,15 @@ public Builder setPrice(com.google.shopping.type.Price value) { return this; } /** + * + * *
      * Price of the product in this region.
      * 
* * .google.shopping.type.Price price = 4; */ - public Builder setPrice( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { @@ -1350,6 +1481,8 @@ public Builder setPrice( return this; } /** + * + * *
      * Price of the product in this region.
      * 
@@ -1358,9 +1491,9 @@ public Builder setPrice( */ public Builder mergePrice(com.google.shopping.type.Price value) { if (priceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - price_ != null && - price_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && price_ != null + && price_ != com.google.shopping.type.Price.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; @@ -1373,6 +1506,8 @@ public Builder mergePrice(com.google.shopping.type.Price value) { return this; } /** + * + * *
      * Price of the product in this region.
      * 
@@ -1390,6 +1525,8 @@ public Builder clearPrice() { return this; } /** + * + * *
      * Price of the product in this region.
      * 
@@ -1402,6 +1539,8 @@ public com.google.shopping.type.Price.Builder getPriceBuilder() { return getPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price of the product in this region.
      * 
@@ -1412,11 +1551,12 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } } /** + * + * *
      * Price of the product in this region.
      * 
@@ -1424,14 +1564,17 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { * .google.shopping.type.Price price = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; @@ -1439,8 +1582,13 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { private com.google.shopping.type.Price salePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> salePriceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + salePriceBuilder_; /** + * + * *
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1448,12 +1596,15 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() {
      * 
* * .google.shopping.type.Price sale_price = 5; + * * @return Whether the salePrice field is set. */ public boolean hasSalePrice() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1461,16 +1612,21 @@ public boolean hasSalePrice() {
      * 
* * .google.shopping.type.Price sale_price = 5; + * * @return The salePrice. */ public com.google.shopping.type.Price getSalePrice() { if (salePriceBuilder_ == null) { - return salePrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : salePrice_; + return salePrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : salePrice_; } else { return salePriceBuilder_.getMessage(); } } /** + * + * *
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1493,6 +1649,8 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1501,8 +1659,7 @@ public Builder setSalePrice(com.google.shopping.type.Price value) {
      *
      * .google.shopping.type.Price sale_price = 5;
      */
-    public Builder setSalePrice(
-        com.google.shopping.type.Price.Builder builderForValue) {
+    public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForValue) {
       if (salePriceBuilder_ == null) {
         salePrice_ = builderForValue.build();
       } else {
@@ -1513,6 +1670,8 @@ public Builder setSalePrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1523,9 +1682,9 @@ public Builder setSalePrice(
      */
     public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       if (salePriceBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          salePrice_ != null &&
-          salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && salePrice_ != null
+            && salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) {
           getSalePriceBuilder().mergeFrom(value);
         } else {
           salePrice_ = value;
@@ -1538,6 +1697,8 @@ public Builder mergeSalePrice(com.google.shopping.type.Price value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1557,6 +1718,8 @@ public Builder clearSalePrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1571,6 +1734,8 @@ public com.google.shopping.type.Price.Builder getSalePriceBuilder() {
       return getSalePriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1583,11 +1748,14 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
       if (salePriceBuilder_ != null) {
         return salePriceBuilder_.getMessageOrBuilder();
       } else {
-        return salePrice_ == null ?
-            com.google.shopping.type.Price.getDefaultInstance() : salePrice_;
+        return salePrice_ == null
+            ? com.google.shopping.type.Price.getDefaultInstance()
+            : salePrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Sale price of the product in this region. Mandatory if
      * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -1597,14 +1765,17 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
      * .google.shopping.type.Price sale_price = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> 
+            com.google.shopping.type.Price,
+            com.google.shopping.type.Price.Builder,
+            com.google.shopping.type.PriceOrBuilder>
         getSalePriceFieldBuilder() {
       if (salePriceBuilder_ == null) {
-        salePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>(
-                getSalePrice(),
-                getParentForChildren(),
-                isClean());
+        salePriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.shopping.type.Price,
+                com.google.shopping.type.Price.Builder,
+                com.google.shopping.type.PriceOrBuilder>(
+                getSalePrice(), getParentForChildren(), isClean());
         salePrice_ = null;
       }
       return salePriceBuilder_;
@@ -1612,36 +1783,49 @@ public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() {
 
     private com.google.type.Interval salePriceEffectiveDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> salePriceEffectiveDateBuilder_;
+            com.google.type.Interval,
+            com.google.type.Interval.Builder,
+            com.google.type.IntervalOrBuilder>
+        salePriceEffectiveDateBuilder_;
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
      * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return Whether the salePriceEffectiveDate field is set. */ public boolean hasSalePriceEffectiveDate() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * The `TimePeriod` of the
      * sale price in this region.
      * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return The salePriceEffectiveDate. */ public com.google.type.Interval getSalePriceEffectiveDate() { if (salePriceEffectiveDateBuilder_ == null) { - return salePriceEffectiveDate_ == null ? com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_; + return salePriceEffectiveDate_ == null + ? com.google.type.Interval.getDefaultInstance() + : salePriceEffectiveDate_; } else { return salePriceEffectiveDateBuilder_.getMessage(); } } /** + * + * *
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1663,6 +1847,8 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1670,8 +1856,7 @@ public Builder setSalePriceEffectiveDate(com.google.type.Interval value) {
      *
      * .google.type.Interval sale_price_effective_date = 6;
      */
-    public Builder setSalePriceEffectiveDate(
-        com.google.type.Interval.Builder builderForValue) {
+    public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builderForValue) {
       if (salePriceEffectiveDateBuilder_ == null) {
         salePriceEffectiveDate_ = builderForValue.build();
       } else {
@@ -1682,6 +1867,8 @@ public Builder setSalePriceEffectiveDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1691,9 +1878,9 @@ public Builder setSalePriceEffectiveDate(
      */
     public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       if (salePriceEffectiveDateBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          salePriceEffectiveDate_ != null &&
-          salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && salePriceEffectiveDate_ != null
+            && salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) {
           getSalePriceEffectiveDateBuilder().mergeFrom(value);
         } else {
           salePriceEffectiveDate_ = value;
@@ -1706,6 +1893,8 @@ public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1724,6 +1913,8 @@ public Builder clearSalePriceEffectiveDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1737,6 +1928,8 @@ public com.google.type.Interval.Builder getSalePriceEffectiveDateBuilder() {
       return getSalePriceEffectiveDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1748,11 +1941,14 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
       if (salePriceEffectiveDateBuilder_ != null) {
         return salePriceEffectiveDateBuilder_.getMessageOrBuilder();
       } else {
-        return salePriceEffectiveDate_ == null ?
-            com.google.type.Interval.getDefaultInstance() : salePriceEffectiveDate_;
+        return salePriceEffectiveDate_ == null
+            ? com.google.type.Interval.getDefaultInstance()
+            : salePriceEffectiveDate_;
       }
     }
     /**
+     *
+     *
      * 
      * The `TimePeriod` of the
      * sale price in this region.
@@ -1761,14 +1957,17 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * .google.type.Interval sale_price_effective_date = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> 
+            com.google.type.Interval,
+            com.google.type.Interval.Builder,
+            com.google.type.IntervalOrBuilder>
         getSalePriceEffectiveDateFieldBuilder() {
       if (salePriceEffectiveDateBuilder_ == null) {
-        salePriceEffectiveDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>(
-                getSalePriceEffectiveDate(),
-                getParentForChildren(),
-                isClean());
+        salePriceEffectiveDateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Interval,
+                com.google.type.Interval.Builder,
+                com.google.type.IntervalOrBuilder>(
+                getSalePriceEffectiveDate(), getParentForChildren(), isClean());
         salePriceEffectiveDate_ = null;
       }
       return salePriceEffectiveDateBuilder_;
@@ -1776,6 +1975,8 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
 
     private java.lang.Object availability_ = "";
     /**
+     *
+     *
      * 
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1783,12 +1984,15 @@ public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() {
      * 
* * optional string availability = 7; + * * @return Whether the availability field is set. */ public boolean hasAvailability() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1796,13 +2000,13 @@ public boolean hasAvailability() {
      * 
* * optional string availability = 7; + * * @return The availability. */ public java.lang.String getAvailability() { java.lang.Object ref = availability_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; @@ -1811,6 +2015,8 @@ public java.lang.String getAvailability() { } } /** + * + * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1818,15 +2024,14 @@ public java.lang.String getAvailability() {
      * 
* * optional string availability = 7; + * * @return The bytes for availability. */ - public com.google.protobuf.ByteString - getAvailabilityBytes() { + public com.google.protobuf.ByteString getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availability_ = b; return b; } else { @@ -1834,6 +2039,8 @@ public java.lang.String getAvailability() { } } /** + * + * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1841,18 +2048,22 @@ public java.lang.String getAvailability() {
      * 
* * optional string availability = 7; + * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAvailability(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } availability_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1860,6 +2071,7 @@ public Builder setAvailability(
      * 
* * optional string availability = 7; + * * @return This builder for chaining. */ public Builder clearAvailability() { @@ -1869,6 +2081,8 @@ public Builder clearAvailability() { return this; } /** + * + * *
      * Availability of the product in this region.
      * For accepted attribute values, see the [regional product inventory feed
@@ -1876,12 +2090,14 @@ public Builder clearAvailability() {
      * 
* * optional string availability = 7; + * * @param value The bytes for availability to set. * @return This builder for chaining. */ - public Builder setAvailabilityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); availability_ = value; bitField0_ |= 0x00000040; @@ -1890,18 +2106,25 @@ public Builder setAvailabilityBytes( } private java.util.List customAttributes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - customAttributes_ = new java.util.ArrayList(customAttributes_); + customAttributes_ = + new java.util.ArrayList(customAttributes_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> customAttributesBuilder_; + com.google.shopping.type.CustomAttribute, + com.google.shopping.type.CustomAttribute.Builder, + com.google.shopping.type.CustomAttributeOrBuilder> + customAttributesBuilder_; /** + * + * *
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -1918,6 +2141,8 @@ public java.util.List getCustomAttribu
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -1934,6 +2159,8 @@ public int getCustomAttributesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -1950,6 +2177,8 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -1958,8 +2187,7 @@ public com.google.shopping.type.CustomAttribute getCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public Builder setCustomAttributes(
-        int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder setCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1973,6 +2201,8 @@ public Builder setCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -1993,6 +2223,8 @@ public Builder setCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2015,6 +2247,8 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2023,8 +2257,7 @@ public Builder addCustomAttributes(com.google.shopping.type.CustomAttribute valu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public Builder addCustomAttributes(
-        int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder addCustomAttributes(int index, com.google.shopping.type.CustomAttribute value) {
       if (customAttributesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2038,6 +2271,8 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2058,6 +2293,8 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2078,6 +2315,8 @@ public Builder addCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2090,8 +2329,7 @@ public Builder addAllCustomAttributes(
         java.lang.Iterable values) {
       if (customAttributesBuilder_ == null) {
         ensureCustomAttributesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, customAttributes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customAttributes_);
         onChanged();
       } else {
         customAttributesBuilder_.addAllMessages(values);
@@ -2099,6 +2337,8 @@ public Builder addAllCustomAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2118,6 +2358,8 @@ public Builder clearCustomAttributes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2137,6 +2379,8 @@ public Builder removeCustomAttributes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2145,11 +2389,12 @@ public Builder removeCustomAttributes(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(
-        int index) {
+    public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuilder(int index) {
       return getCustomAttributesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2161,11 +2406,14 @@ public com.google.shopping.type.CustomAttribute.Builder getCustomAttributesBuild
     public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
         int index) {
       if (customAttributesBuilder_ == null) {
-        return customAttributes_.get(index);  } else {
+        return customAttributes_.get(index);
+      } else {
         return customAttributesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2174,8 +2422,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public java.util.List 
-         getCustomAttributesOrBuilderList() {
+    public java.util.List
+        getCustomAttributesOrBuilderList() {
       if (customAttributesBuilder_ != null) {
         return customAttributesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2183,6 +2431,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
       }
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2192,10 +2442,12 @@ public com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBu
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
     public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder() {
-      return getCustomAttributesFieldBuilder().addBuilder(
-          com.google.shopping.type.CustomAttribute.getDefaultInstance());
+      return getCustomAttributesFieldBuilder()
+          .addBuilder(com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2204,12 +2456,13 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(
-        int index) {
-      return getCustomAttributesFieldBuilder().addBuilder(
-          index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
+    public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuilder(int index) {
+      return getCustomAttributesFieldBuilder()
+          .addBuilder(index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of custom (merchant-provided) attributes. You can also use
      * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -2218,16 +2471,22 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
      *
      * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
      */
-    public java.util.List 
-         getCustomAttributesBuilderList() {
+    public java.util.List
+        getCustomAttributesBuilderList() {
       return getCustomAttributesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> 
+            com.google.shopping.type.CustomAttribute,
+            com.google.shopping.type.CustomAttribute.Builder,
+            com.google.shopping.type.CustomAttributeOrBuilder>
         getCustomAttributesFieldBuilder() {
       if (customAttributesBuilder_ == null) {
-        customAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>(
+        customAttributesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.shopping.type.CustomAttribute,
+                com.google.shopping.type.CustomAttribute.Builder,
+                com.google.shopping.type.CustomAttributeOrBuilder>(
                 customAttributes_,
                 ((bitField0_ & 0x00000080) != 0),
                 getParentForChildren(),
@@ -2236,9 +2495,9 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild
       }
       return customAttributesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2248,41 +2507,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.shopping.merchant.inventories.v1beta.RegionalInventory)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.merchant.inventories.v1beta.RegionalInventory)
-  private static final com.google.shopping.merchant.inventories.v1beta.RegionalInventory DEFAULT_INSTANCE;
+  private static final com.google.shopping.merchant.inventories.v1beta.RegionalInventory
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.shopping.merchant.inventories.v1beta.RegionalInventory();
   }
 
-  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory getDefaultInstance() {
+  public static com.google.shopping.merchant.inventories.v1beta.RegionalInventory
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RegionalInventory parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RegionalInventory parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2294,9 +2555,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.shopping.merchant.inventories.v1beta.RegionalInventory getDefaultInstanceForType() {
+  public com.google.shopping.merchant.inventories.v1beta.RegionalInventory
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryName.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
similarity index 85%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
index 82b4823c9512..77e1d8c854d3 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto
 
 package com.google.shopping.merchant.inventories.v1beta;
 
-public interface RegionalInventoryOrBuilder extends
+public interface RegionalInventoryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.RegionalInventory)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -15,10 +33,13 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the `RegionalInventory` resource.
    * Format:
@@ -26,23 +47,28 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The account that owns the product. This field will be ignored
    * if set by the client.
    * 
* * int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The account. */ long getAccount(); /** + * + * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -51,10 +77,13 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
    * Required. ID of the region for this
    * `RegionalInventory` resource. See the [Regional availability and
@@ -63,30 +92,38 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * string region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); /** + * + * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; + * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * *
    * Price of the product in this region.
    * 
* * .google.shopping.type.Price price = 4; + * * @return The price. */ com.google.shopping.type.Price getPrice(); /** + * + * *
    * Price of the product in this region.
    * 
@@ -96,6 +133,8 @@ public interface RegionalInventoryOrBuilder extends com.google.shopping.type.PriceOrBuilder getPriceOrBuilder(); /** + * + * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -103,10 +142,13 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return Whether the salePrice field is set. */ boolean hasSalePrice(); /** + * + * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -114,10 +156,13 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * .google.shopping.type.Price sale_price = 5; + * * @return The salePrice. */ com.google.shopping.type.Price getSalePrice(); /** + * + * *
    * Sale price of the product in this region. Mandatory if
    * [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date]
@@ -129,26 +174,34 @@ public interface RegionalInventoryOrBuilder extends
   com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return Whether the salePriceEffectiveDate field is set. */ boolean hasSalePriceEffectiveDate(); /** + * + * *
    * The `TimePeriod` of the
    * sale price in this region.
    * 
* * .google.type.Interval sale_price_effective_date = 6; + * * @return The salePriceEffectiveDate. */ com.google.type.Interval getSalePriceEffectiveDate(); /** + * + * *
    * The `TimePeriod` of the
    * sale price in this region.
@@ -159,6 +212,8 @@ public interface RegionalInventoryOrBuilder extends
   com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -166,10 +221,13 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * optional string availability = 7; + * * @return Whether the availability field is set. */ boolean hasAvailability(); /** + * + * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -177,10 +235,13 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * optional string availability = 7; + * * @return The availability. */ java.lang.String getAvailability(); /** + * + * *
    * Availability of the product in this region.
    * For accepted attribute values, see the [regional product inventory feed
@@ -188,12 +249,14 @@ public interface RegionalInventoryOrBuilder extends
    * 
* * optional string availability = 7; + * * @return The bytes for availability. */ - com.google.protobuf.ByteString - getAvailabilityBytes(); + com.google.protobuf.ByteString getAvailabilityBytes(); /** + * + * *
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -202,9 +265,10 @@ public interface RegionalInventoryOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
-  java.util.List 
-      getCustomAttributesList();
+  java.util.List getCustomAttributesList();
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -215,6 +279,8 @@ public interface RegionalInventoryOrBuilder extends
    */
   com.google.shopping.type.CustomAttribute getCustomAttributes(int index);
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -225,6 +291,8 @@ public interface RegionalInventoryOrBuilder extends
    */
   int getCustomAttributesCount();
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -233,9 +301,11 @@ public interface RegionalInventoryOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
-  java.util.List 
+  java.util.List
       getCustomAttributesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of custom (merchant-provided) attributes. You can also use
    * `CustomAttribute` to submit any attribute of the feed specification in its
@@ -244,6 +314,5 @@ public interface RegionalInventoryOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
    */
-  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(
-      int index);
+  com.google.shopping.type.CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index);
 }
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java
new file mode 100644
index 000000000000..7d3f693efe27
--- /dev/null
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java
@@ -0,0 +1,200 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto
+
+package com.google.shopping.merchant.inventories.v1beta;
+
+public final class RegionalInventoryProto {
+  private RegionalInventoryProto() {}
+
+  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_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\nCgoogle/shopping/merchant/inventories/v"
+          + "1beta/regionalinventory.proto\022+google.sh"
+          + "opping.merchant.inventories.v1beta\032\034goog"
+          + "le/api/annotations.proto\032\027google/api/cli"
+          + "ent.proto\032\037google/api/field_behavior.pro"
+          + "to\032\031google/api/resource.proto\032\033google/pr"
+          + "otobuf/empty.proto\032 google/shopping/type"
+          + "/types.proto\032\032google/type/interval.proto"
+          + "\"\320\003\n\021RegionalInventory\022\022\n\004name\030\001 \001(\tB\004\342A"
+          + "\001\003\022\025\n\007account\030\002 \001(\003B\004\342A\001\003\022\024\n\006region\030\003 \001("
+          + "\tB\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping"
+          + ".type.Price\022/\n\nsale_price\030\005 \001(\0132\033.google"
+          + ".shopping.type.Price\0228\n\031sale_price_effec"
+          + "tive_date\030\006 \001(\0132\025.google.type.Interval\022\031"
+          + "\n\014availability\030\007 \001(\tH\000\210\001\001\022@\n\021custom_attr"
+          + "ibutes\030\010 \003(\0132%.google.shopping.type.Cust"
+          + "omAttribute:u\352Ar\n,merchantapi.googleapis"
+          + ".com/RegionalInventory\022Baccounts/{accoun"
+          + "t}/products/{product}/regionalInventorie"
+          + "s/{region}B\017\n\r_availability\"]\n\036ListRegio"
+          + "nalInventoriesRequest\022\024\n\006parent\030\001 \001(\tB\004\342"
+          + "A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001"
+          + "(\t\"\230\001\n\037ListRegionalInventoriesResponse\022\\"
+          + "\n\024regional_inventories\030\001 \003(\0132>.google.sh"
+          + "opping.merchant.inventories.v1beta.Regio"
+          + "nalInventory\022\027\n\017next_page_token\030\002 \001(\t\"\230\001"
+          + "\n\036InsertRegionalInventoryRequest\022\024\n\006pare"
+          + "nt\030\001 \001(\tB\004\342A\001\002\022`\n\022regional_inventory\030\002 \001"
+          + "(\0132>.google.shopping.merchant.inventorie"
+          + "s.v1beta.RegionalInventoryB\004\342A\001\002\"e\n\036Dele"
+          + "teRegionalInventoryRequest\022C\n\004name\030\001 \001(\t"
+          + "B5\342A\001\002\372A.\n,merchantapi.googleapis.com/Re"
+          + "gionalInventory2\337\006\n\030RegionalInventorySer"
+          + "vice\022\215\002\n\027ListRegionalInventories\022K.googl"
+          + "e.shopping.merchant.inventories.v1beta.L"
+          + "istRegionalInventoriesRequest\032L.google.s"
+          + "hopping.merchant.inventories.v1beta.List"
+          + "RegionalInventoriesResponse\"W\332A\006parent\202\323"
+          + "\344\223\002H\022F/inventories/v1beta/{parent=accoun"
+          + "ts/*/products/*}/regionalInventories\022\221\002\n"
+          + "\027InsertRegionalInventory\022K.google.shoppi"
+          + "ng.merchant.inventories.v1beta.InsertReg"
+          + "ionalInventoryRequest\032>.google.shopping."
+          + "merchant.inventories.v1beta.RegionalInve"
+          + "ntory\"i\202\323\344\223\002c\"M/inventories/v1beta/{pare"
+          + "nt=accounts/*/products/*}/regionalInvent"
+          + "ories:insert:\022regional_inventory\022\325\001\n\027Del"
+          + "eteRegionalInventory\022K.google.shopping.m"
+          + "erchant.inventories.v1beta.DeleteRegiona"
+          + "lInventoryRequest\032\026.google.protobuf.Empt"
+          + "y\"U\332A\004name\202\323\344\223\002H*F/inventories/v1beta/{n"
+          + "ame=accounts/*/products/*/regionalInvent"
+          + "ories/*}\032G\312A\032merchantapi.googleapis.com\322"
+          + "A\'https://www.googleapis.com/auth/conten"
+          + "tB\244\001\n/com.google.shopping.merchant.inven"
+          + "tories.v1betaB\026RegionalInventoryProtoP\001Z"
+          + "Wcloud.google.com/go/shopping/merchant/i"
+          + "nventories/apiv1beta/inventoriespb;inven"
+          + "toriespbb\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.protobuf.EmptyProto.getDescriptor(),
+              com.google.shopping.type.TypesProto.getDescriptor(),
+              com.google.type.IntervalProto.getDescriptor(),
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "Account",
+              "Region",
+              "Price",
+              "SalePrice",
+              "SalePriceEffectiveDate",
+              "Availability",
+              "CustomAttributes",
+              "Availability",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor,
+            new java.lang.String[] {
+              "RegionalInventories", "NextPageToken",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "RegionalInventory",
+            });
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    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.protobuf.EmptyProto.getDescriptor();
+    com.google.shopping.type.TypesProto.getDescriptor();
+    com.google.type.IntervalProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
similarity index 65%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
index 0ef5ca13b1ee..5ee421705cc4 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Channel.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/type/types.proto
 
 package com.google.shopping.type;
 
 /**
+ *
+ *
  * 
  * [Channel](https://support.google.com/merchants/answer/7361332) of a product.
  *
@@ -12,48 +29,51 @@
  *
  * Protobuf type {@code google.shopping.type.Channel}
  */
-public final class Channel extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Channel extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.shopping.type.Channel)
     ChannelOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Channel.newBuilder() to construct.
   private Channel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Channel() {
-  }
+
+  private Channel() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Channel();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_Channel_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_fieldAccessorTable
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_Channel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.shopping.type.Channel.class, com.google.shopping.type.Channel.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Channel values.
    * 
* * Protobuf enum {@code google.shopping.type.Channel.ChannelEnum} */ - public enum ChannelEnum - implements com.google.protobuf.ProtocolMessageEnum { + public enum ChannelEnum implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -62,6 +82,8 @@ public enum ChannelEnum */ CHANNEL_ENUM_UNSPECIFIED(0), /** + * + * *
      * Online product.
      * 
@@ -70,6 +92,8 @@ public enum ChannelEnum */ ONLINE(1), /** + * + * *
      * Local product.
      * 
@@ -81,6 +105,8 @@ public enum ChannelEnum ; /** + * + * *
      * Not specified.
      * 
@@ -89,6 +115,8 @@ public enum ChannelEnum */ public static final int CHANNEL_ENUM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Online product.
      * 
@@ -97,6 +125,8 @@ public enum ChannelEnum */ public static final int ONLINE_VALUE = 1; /** + * + * *
      * Local product.
      * 
@@ -105,7 +135,6 @@ public enum ChannelEnum */ public static final int LOCAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -130,49 +159,49 @@ public static ChannelEnum valueOf(int value) { */ public static ChannelEnum forNumber(int value) { switch (value) { - case 0: return CHANNEL_ENUM_UNSPECIFIED; - case 1: return ONLINE; - case 2: return LOCAL; - default: return null; + case 0: + return CHANNEL_ENUM_UNSPECIFIED; + case 1: + return ONLINE; + case 2: + return LOCAL; + 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< - ChannelEnum> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChannelEnum findValueByNumber(int number) { - return ChannelEnum.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 ChannelEnum findValueByNumber(int number) { + return ChannelEnum.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.shopping.type.Channel.getDescriptor().getEnumTypes().get(0); } private static final ChannelEnum[] VALUES = values(); - public static ChannelEnum valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChannelEnum 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; @@ -190,6 +219,7 @@ private ChannelEnum(int value) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,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 { getUnknownFields().writeTo(output); } @@ -220,7 +249,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.shopping.type.Channel)) { return super.equals(obj); @@ -243,99 +272,103 @@ public int hashCode() { return hash; } - public static com.google.shopping.type.Channel parseFrom( - java.nio.ByteBuffer data) + public static com.google.shopping.type.Channel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.Channel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.type.Channel parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.shopping.type.Channel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.Channel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.Channel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.Channel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.Channel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.Channel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.shopping.type.Channel 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.shopping.type.Channel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.shopping.type.Channel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.Channel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.shopping.type.Channel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * [Channel](https://support.google.com/merchants/answer/7361332) of a product.
    *
@@ -344,33 +377,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.shopping.type.Channel}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.shopping.type.Channel)
       com.google.shopping.type.ChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_Channel_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_fieldAccessorTable
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_Channel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.type.Channel.class, com.google.shopping.type.Channel.Builder.class);
+              com.google.shopping.type.Channel.class,
+              com.google.shopping.type.Channel.Builder.class);
     }
 
     // Construct using com.google.shopping.type.Channel.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Channel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_Channel_descriptor;
     }
 
     @java.lang.Override
@@ -408,38 +440,39 @@ public com.google.shopping.type.Channel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.type.Channel) {
-        return mergeFrom((com.google.shopping.type.Channel)other);
+        return mergeFrom((com.google.shopping.type.Channel) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -474,12 +507,13 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -489,9 +523,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -501,12 +535,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.shopping.type.Channel)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.type.Channel)
   private static final com.google.shopping.type.Channel DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.shopping.type.Channel();
   }
@@ -515,27 +549,27 @@ public static com.google.shopping.type.Channel getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Channel parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Channel parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -550,6 +584,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.shopping.type.Channel getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java
new file mode 100644
index 000000000000..06aee0067e60
--- /dev/null
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/type/types.proto
+
+package com.google.shopping.type;
+
+public interface ChannelOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.shopping.type.Channel)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java
similarity index 74%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java
index 8d31fd4e03be..bd71ca66a62b 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttribute.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/type/types.proto
 
 package com.google.shopping.type;
 
 /**
+ *
+ *
  * 
  * A message that represents custom attributes. Exactly one of `value` or
  * `group_values` must not be empty.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.shopping.type.CustomAttribute}
  */
-public final class CustomAttribute extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.shopping.type.CustomAttribute)
     CustomAttributeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CustomAttribute.newBuilder() to construct.
   private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CustomAttribute() {
     name_ = "";
     value_ = "";
@@ -28,34 +46,39 @@ private CustomAttribute() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomAttribute();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_CustomAttribute_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.type.CustomAttribute.class, com.google.shopping.type.CustomAttribute.Builder.class);
+            com.google.shopping.type.CustomAttribute.class,
+            com.google.shopping.type.CustomAttribute.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the attribute.
    * 
* * optional string name = 1; + * * @return Whether the name field is set. */ @java.lang.Override @@ -63,11 +86,14 @@ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The name of the attribute.
    * 
* * optional string name = 1; + * * @return The name. */ @java.lang.Override @@ -76,29 +102,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; } } /** + * + * *
    * The name of the attribute.
    * 
* * optional 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 { @@ -107,15 +133,19 @@ public java.lang.String getName() { } public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -123,12 +153,15 @@ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; + * * @return The value. */ @java.lang.Override @@ -137,30 +170,30 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -169,9 +202,12 @@ public java.lang.String getValue() { } public static final int GROUP_VALUES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List groupValues_; /** + * + * *
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -184,6 +220,8 @@ public java.util.List getGroupValuesLi
     return groupValues_;
   }
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -192,11 +230,13 @@ public java.util.List getGroupValuesLi
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getGroupValuesOrBuilderList() {
     return groupValues_;
   }
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -209,6 +249,8 @@ public int getGroupValuesCount() {
     return groupValues_.size();
   }
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -221,6 +263,8 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
     return groupValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -229,12 +273,12 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
   @java.lang.Override
-  public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(
-      int index) {
+  public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(int index) {
     return groupValues_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -246,8 +290,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -273,8 +316,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
     }
     for (int i = 0; i < groupValues_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, groupValues_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, groupValues_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,7 +326,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.shopping.type.CustomAttribute)) {
       return super.equals(obj);
@@ -293,16 +335,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasName() != other.hasName()) return false;
     if (hasName()) {
-      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 (!getGroupValuesList()
-        .equals(other.getGroupValuesList())) return false;
+    if (!getGroupValuesList().equals(other.getGroupValuesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -331,99 +370,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.shopping.type.CustomAttribute parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.shopping.type.CustomAttribute parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.shopping.type.CustomAttribute parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.shopping.type.CustomAttribute parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.shopping.type.CustomAttribute parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.shopping.type.CustomAttribute parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.shopping.type.CustomAttribute prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 message that represents custom attributes. Exactly one of `value` or
    * `group_values` must not be empty.
@@ -431,33 +475,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.shopping.type.CustomAttribute}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.shopping.type.CustomAttribute)
       com.google.shopping.type.CustomAttributeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_CustomAttribute_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.type.CustomAttribute.class, com.google.shopping.type.CustomAttribute.Builder.class);
+              com.google.shopping.type.CustomAttribute.class,
+              com.google.shopping.type.CustomAttribute.Builder.class);
     }
 
     // Construct using com.google.shopping.type.CustomAttribute.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -475,9 +518,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_CustomAttribute_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_CustomAttribute_descriptor;
     }
 
     @java.lang.Override
@@ -496,9 +539,12 @@ public com.google.shopping.type.CustomAttribute build() {
 
     @java.lang.Override
     public com.google.shopping.type.CustomAttribute buildPartial() {
-      com.google.shopping.type.CustomAttribute result = new com.google.shopping.type.CustomAttribute(this);
+      com.google.shopping.type.CustomAttribute result =
+          new com.google.shopping.type.CustomAttribute(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -533,38 +579,39 @@ private void buildPartial0(com.google.shopping.type.CustomAttribute result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.type.CustomAttribute) {
-        return mergeFrom((com.google.shopping.type.CustomAttribute)other);
+        return mergeFrom((com.google.shopping.type.CustomAttribute) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -601,9 +648,10 @@ public Builder mergeFrom(com.google.shopping.type.CustomAttribute other) {
             groupValuesBuilder_ = null;
             groupValues_ = other.groupValues_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            groupValuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getGroupValuesFieldBuilder() : null;
+            groupValuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getGroupValuesFieldBuilder()
+                    : null;
           } else {
             groupValuesBuilder_.addAllMessages(other.groupValues_);
           }
@@ -635,35 +683,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              value_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.shopping.type.CustomAttribute m =
-                  input.readMessage(
-                      com.google.shopping.type.CustomAttribute.parser(),
-                      extensionRegistry);
-              if (groupValuesBuilder_ == null) {
-                ensureGroupValuesIsMutable();
-                groupValues_.add(m);
-              } else {
-                groupValuesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                value_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.shopping.type.CustomAttribute m =
+                    input.readMessage(
+                        com.google.shopping.type.CustomAttribute.parser(), extensionRegistry);
+                if (groupValuesBuilder_ == null) {
+                  ensureGroupValuesIsMutable();
+                  groupValues_.add(m);
+                } else {
+                  groupValuesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -673,33 +724,39 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the attribute.
      * 
* * optional string name = 1; + * * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The name of the attribute.
      * 
* * optional 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; @@ -708,20 +765,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the attribute.
      * 
* * optional 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 { @@ -729,28 +787,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the attribute.
      * 
* * optional string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the attribute.
      * 
* * optional string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -760,17 +825,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the attribute.
      * 
* * optional string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -780,31 +849,36 @@ public Builder setNameBytes( private java.lang.Object value_ = ""; /** + * + * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -813,21 +887,22 @@ public java.lang.String getValue() { } } /** + * + * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -835,30 +910,37 @@ public java.lang.String getValue() { } } /** + * + * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -868,18 +950,22 @@ public Builder clearValue() { return this; } /** + * + * *
      * The value of the attribute. If `value` is not empty, `group_values` must be
      * empty.
      * 
* * optional string value = 2; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -888,18 +974,25 @@ public Builder setValueBytes( } private java.util.List groupValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGroupValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - groupValues_ = new java.util.ArrayList(groupValues_); + groupValues_ = + new java.util.ArrayList(groupValues_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> groupValuesBuilder_; + com.google.shopping.type.CustomAttribute, + com.google.shopping.type.CustomAttribute.Builder, + com.google.shopping.type.CustomAttributeOrBuilder> + groupValuesBuilder_; /** + * + * *
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -915,6 +1008,8 @@ public java.util.List getGroupValuesLi
       }
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -930,6 +1025,8 @@ public int getGroupValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -945,6 +1042,8 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -952,8 +1051,7 @@ public com.google.shopping.type.CustomAttribute getGroupValues(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public Builder setGroupValues(
-        int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder setGroupValues(int index, com.google.shopping.type.CustomAttribute value) {
       if (groupValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -967,6 +1065,8 @@ public Builder setGroupValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -986,6 +1086,8 @@ public Builder setGroupValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1007,6 +1109,8 @@ public Builder addGroupValues(com.google.shopping.type.CustomAttribute value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1014,8 +1118,7 @@ public Builder addGroupValues(com.google.shopping.type.CustomAttribute value) {
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public Builder addGroupValues(
-        int index, com.google.shopping.type.CustomAttribute value) {
+    public Builder addGroupValues(int index, com.google.shopping.type.CustomAttribute value) {
       if (groupValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1029,6 +1132,8 @@ public Builder addGroupValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1048,6 +1153,8 @@ public Builder addGroupValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1067,6 +1174,8 @@ public Builder addGroupValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1078,8 +1187,7 @@ public Builder addAllGroupValues(
         java.lang.Iterable values) {
       if (groupValuesBuilder_ == null) {
         ensureGroupValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, groupValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupValues_);
         onChanged();
       } else {
         groupValuesBuilder_.addAllMessages(values);
@@ -1087,6 +1195,8 @@ public Builder addAllGroupValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1105,6 +1215,8 @@ public Builder clearGroupValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1123,6 +1235,8 @@ public Builder removeGroupValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1130,11 +1244,12 @@ public Builder removeGroupValues(int index) {
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public com.google.shopping.type.CustomAttribute.Builder getGroupValuesBuilder(
-        int index) {
+    public com.google.shopping.type.CustomAttribute.Builder getGroupValuesBuilder(int index) {
       return getGroupValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1142,14 +1257,16 @@ public com.google.shopping.type.CustomAttribute.Builder getGroupValuesBuilder(
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(
-        int index) {
+    public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(int index) {
       if (groupValuesBuilder_ == null) {
-        return groupValues_.get(index);  } else {
+        return groupValues_.get(index);
+      } else {
         return groupValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1157,8 +1274,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public java.util.List 
-         getGroupValuesOrBuilderList() {
+    public java.util.List
+        getGroupValuesOrBuilderList() {
       if (groupValuesBuilder_ != null) {
         return groupValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1166,6 +1283,8 @@ public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1174,10 +1293,12 @@ public com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
     public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder() {
-      return getGroupValuesFieldBuilder().addBuilder(
-          com.google.shopping.type.CustomAttribute.getDefaultInstance());
+      return getGroupValuesFieldBuilder()
+          .addBuilder(com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1185,12 +1306,13 @@ public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder()
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(
-        int index) {
-      return getGroupValuesFieldBuilder().addBuilder(
-          index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
+    public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(int index) {
+      return getGroupValuesFieldBuilder()
+          .addBuilder(index, com.google.shopping.type.CustomAttribute.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Subattributes within this attribute group.  If
      * `group_values` is not empty, `value` must be empty.
@@ -1198,27 +1320,30 @@ public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(
      *
      * repeated .google.shopping.type.CustomAttribute group_values = 3;
      */
-    public java.util.List 
-         getGroupValuesBuilderList() {
+    public java.util.List
+        getGroupValuesBuilderList() {
       return getGroupValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> 
+            com.google.shopping.type.CustomAttribute,
+            com.google.shopping.type.CustomAttribute.Builder,
+            com.google.shopping.type.CustomAttributeOrBuilder>
         getGroupValuesFieldBuilder() {
       if (groupValuesBuilder_ == null) {
-        groupValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>(
-                groupValues_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        groupValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.shopping.type.CustomAttribute,
+                com.google.shopping.type.CustomAttribute.Builder,
+                com.google.shopping.type.CustomAttributeOrBuilder>(
+                groupValues_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         groupValues_ = null;
       }
       return groupValuesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1228,12 +1353,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.shopping.type.CustomAttribute)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.type.CustomAttribute)
   private static final com.google.shopping.type.CustomAttribute DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.shopping.type.CustomAttribute();
   }
@@ -1242,27 +1367,27 @@ public static com.google.shopping.type.CustomAttribute getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CustomAttribute parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CustomAttribute parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1277,6 +1402,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.shopping.type.CustomAttribute getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
index b0cd57501197..6e2f027973f6 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java
@@ -1,74 +1,108 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/type/types.proto
 
 package com.google.shopping.type;
 
-public interface CustomAttributeOrBuilder extends
+public interface CustomAttributeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.shopping.type.CustomAttribute)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the attribute.
    * 
* * optional string name = 1; + * * @return Whether the name field is set. */ boolean hasName(); /** + * + * *
    * The name of the attribute.
    * 
* * optional string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the attribute.
    * 
* * optional string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * The value of the attribute. If `value` is not empty, `group_values` must be
    * empty.
    * 
* * optional string value = 2; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -76,9 +110,10 @@ public interface CustomAttributeOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
-  java.util.List 
-      getGroupValuesList();
+  java.util.List getGroupValuesList();
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -88,6 +123,8 @@ public interface CustomAttributeOrBuilder extends
    */
   com.google.shopping.type.CustomAttribute getGroupValues(int index);
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -97,6 +134,8 @@ public interface CustomAttributeOrBuilder extends
    */
   int getGroupValuesCount();
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -104,9 +143,11 @@ public interface CustomAttributeOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
-  java.util.List 
+  java.util.List
       getGroupValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * Subattributes within this attribute group.  If
    * `group_values` is not empty, `value` must be empty.
@@ -114,6 +155,5 @@ public interface CustomAttributeOrBuilder extends
    *
    * repeated .google.shopping.type.CustomAttribute group_values = 3;
    */
-  com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(
-      int index);
+  com.google.shopping.type.CustomAttributeOrBuilder getGroupValuesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
similarity index 67%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
index e1cf44343d9b..ba5b3940a70a 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Destination.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/type/types.proto
 
 package com.google.shopping.type;
 
 /**
+ *
+ *
  * 
  * Destinations available for a product.
  *
@@ -13,48 +30,52 @@
  *
  * Protobuf type {@code google.shopping.type.Destination}
  */
-public final class Destination extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Destination extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.shopping.type.Destination)
     DestinationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Destination.newBuilder() to construct.
   private Destination(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Destination() {
-  }
+
+  private Destination() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Destination();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_Destination_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_fieldAccessorTable
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_Destination_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.type.Destination.class, com.google.shopping.type.Destination.Builder.class);
+            com.google.shopping.type.Destination.class,
+            com.google.shopping.type.Destination.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Destination values.
    * 
* * Protobuf enum {@code google.shopping.type.Destination.DestinationEnum} */ - public enum DestinationEnum - implements com.google.protobuf.ProtocolMessageEnum { + public enum DestinationEnum implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -63,6 +84,8 @@ public enum DestinationEnum */ DESTINATION_ENUM_UNSPECIFIED(0), /** + * + * *
      * [Shopping ads](https://support.google.com/google-ads/answer/2454022).
      * 
@@ -71,6 +94,8 @@ public enum DestinationEnum */ SHOPPING_ADS(1), /** + * + * *
      * [Display ads](https://support.google.com/merchants/answer/6069387).
      * 
@@ -79,6 +104,8 @@ public enum DestinationEnum */ DISPLAY_ADS(2), /** + * + * *
      * [Local inventory
      * ads](https://support.google.com/merchants/answer/3057972).
@@ -88,6 +115,8 @@ public enum DestinationEnum
      */
     LOCAL_INVENTORY_ADS(3),
     /**
+     *
+     *
      * 
      * [Free listings](https://support.google.com/merchants/answer/9199328).
      * 
@@ -96,6 +125,8 @@ public enum DestinationEnum */ FREE_LISTINGS(4), /** + * + * *
      * [Free local product
      * listings](https://support.google.com/merchants/answer/9825611).
@@ -105,6 +136,8 @@ public enum DestinationEnum
      */
     FREE_LOCAL_LISTINGS(5),
     /**
+     *
+     *
      * 
      * [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
      * 
@@ -116,6 +149,8 @@ public enum DestinationEnum ; /** + * + * *
      * Not specified.
      * 
@@ -124,6 +159,8 @@ public enum DestinationEnum */ public static final int DESTINATION_ENUM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * [Shopping ads](https://support.google.com/google-ads/answer/2454022).
      * 
@@ -132,6 +169,8 @@ public enum DestinationEnum */ public static final int SHOPPING_ADS_VALUE = 1; /** + * + * *
      * [Display ads](https://support.google.com/merchants/answer/6069387).
      * 
@@ -140,6 +179,8 @@ public enum DestinationEnum */ public static final int DISPLAY_ADS_VALUE = 2; /** + * + * *
      * [Local inventory
      * ads](https://support.google.com/merchants/answer/3057972).
@@ -149,6 +190,8 @@ public enum DestinationEnum
      */
     public static final int LOCAL_INVENTORY_ADS_VALUE = 3;
     /**
+     *
+     *
      * 
      * [Free listings](https://support.google.com/merchants/answer/9199328).
      * 
@@ -157,6 +200,8 @@ public enum DestinationEnum */ public static final int FREE_LISTINGS_VALUE = 4; /** + * + * *
      * [Free local product
      * listings](https://support.google.com/merchants/answer/9825611).
@@ -166,6 +211,8 @@ public enum DestinationEnum
      */
     public static final int FREE_LOCAL_LISTINGS_VALUE = 5;
     /**
+     *
+     *
      * 
      * [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
      * 
@@ -174,7 +221,6 @@ public enum DestinationEnum */ public static final int YOUTUBE_SHOPPING_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -199,43 +245,50 @@ public static DestinationEnum valueOf(int value) { */ public static DestinationEnum forNumber(int value) { switch (value) { - case 0: return DESTINATION_ENUM_UNSPECIFIED; - case 1: return SHOPPING_ADS; - case 2: return DISPLAY_ADS; - case 3: return LOCAL_INVENTORY_ADS; - case 4: return FREE_LISTINGS; - case 5: return FREE_LOCAL_LISTINGS; - case 6: return YOUTUBE_SHOPPING; - default: return null; + case 0: + return DESTINATION_ENUM_UNSPECIFIED; + case 1: + return SHOPPING_ADS; + case 2: + return DISPLAY_ADS; + case 3: + return LOCAL_INVENTORY_ADS; + case 4: + return FREE_LISTINGS; + case 5: + return FREE_LOCAL_LISTINGS; + case 6: + return YOUTUBE_SHOPPING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DestinationEnum> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DestinationEnum findValueByNumber(int number) { - return DestinationEnum.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 DestinationEnum findValueByNumber(int number) { + return DestinationEnum.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.shopping.type.Destination.getDescriptor().getEnumTypes().get(0); } @@ -244,8 +297,7 @@ public DestinationEnum findValueByNumber(int number) { public static DestinationEnum 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; @@ -263,6 +315,7 @@ private DestinationEnum(int value) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +327,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -293,7 +345,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.shopping.type.Destination)) { return super.equals(obj); @@ -316,99 +368,103 @@ public int hashCode() { return hash; } - public static com.google.shopping.type.Destination parseFrom( - java.nio.ByteBuffer data) + public static com.google.shopping.type.Destination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.Destination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.type.Destination parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.shopping.type.Destination parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.Destination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.Destination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.Destination parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.Destination parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.Destination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.shopping.type.Destination 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.shopping.type.Destination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.shopping.type.Destination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.Destination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.shopping.type.Destination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Destinations available for a product.
    *
@@ -418,33 +474,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.shopping.type.Destination}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.shopping.type.Destination)
       com.google.shopping.type.DestinationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_Destination_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_fieldAccessorTable
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_Destination_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.type.Destination.class, com.google.shopping.type.Destination.Builder.class);
+              com.google.shopping.type.Destination.class,
+              com.google.shopping.type.Destination.Builder.class);
     }
 
     // Construct using com.google.shopping.type.Destination.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,9 +507,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Destination_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_Destination_descriptor;
     }
 
     @java.lang.Override
@@ -482,38 +537,39 @@ public com.google.shopping.type.Destination buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.type.Destination) {
-        return mergeFrom((com.google.shopping.type.Destination)other);
+        return mergeFrom((com.google.shopping.type.Destination) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -548,12 +604,13 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -563,9 +620,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -575,12 +632,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.shopping.type.Destination)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.type.Destination)
   private static final com.google.shopping.type.Destination DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.shopping.type.Destination();
   }
@@ -589,27 +646,27 @@ public static com.google.shopping.type.Destination getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Destination parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Destination parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -624,6 +681,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.shopping.type.Destination getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java
new file mode 100644
index 000000000000..ccec8f709da9
--- /dev/null
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/type/types.proto
+
+package com.google.shopping.type;
+
+public interface DestinationOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.shopping.type.Destination)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java
similarity index 72%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java
index 03a8876ef906..daf2dbcc9282 100644
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/Price.java
@@ -1,44 +1,62 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/shopping/type/types.proto
 
 package com.google.shopping.type;
 
 /**
+ *
+ *
  * 
  * The price represented as a number and currency.
  * 
* * Protobuf type {@code google.shopping.type.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.shopping.type.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() { currencyCode_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Price(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.type.TypesProto + .internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_fieldAccessorTable + return com.google.shopping.type.TypesProto + .internal_static_google_shopping_type_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.shopping.type.Price.class, com.google.shopping.type.Price.Builder.class); } @@ -47,6 +65,8 @@ protected java.lang.Object newInstance( public static final int AMOUNT_MICROS_FIELD_NUMBER = 1; private long amountMicros_ = 0L; /** + * + * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -56,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * optional int64 amount_micros = 1; + * * @return Whether the amountMicros field is set. */ @java.lang.Override @@ -63,6 +84,8 @@ public boolean hasAmountMicros() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -72,6 +95,7 @@ public boolean hasAmountMicros() {
    * 
* * optional int64 amount_micros = 1; + * * @return The amountMicros. */ @java.lang.Override @@ -80,15 +104,19 @@ public long getAmountMicros() { } public static final int CURRENCY_CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** + * + * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; + * * @return Whether the currencyCode field is set. */ @java.lang.Override @@ -96,12 +124,15 @@ public boolean hasCurrencyCode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; + * * @return The currencyCode. */ @java.lang.Override @@ -110,30 +141,30 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** + * + * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; + * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -142,6 +173,7 @@ public java.lang.String getCurrencyCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, amountMicros_); } @@ -171,8 +202,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, amountMicros_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, amountMicros_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, currencyCode_); @@ -185,7 +215,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.shopping.type.Price)) { return super.equals(obj); @@ -194,13 +224,11 @@ public boolean equals(final java.lang.Object obj) { if (hasAmountMicros() != other.hasAmountMicros()) return false; if (hasAmountMicros()) { - if (getAmountMicros() - != other.getAmountMicros()) return false; + if (getAmountMicros() != other.getAmountMicros()) return false; } if (hasCurrencyCode() != other.hasCurrencyCode()) return false; if (hasCurrencyCode()) { - if (!getCurrencyCode() - .equals(other.getCurrencyCode())) return false; + if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,8 +243,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasAmountMicros()) { hash = (37 * hash) + AMOUNT_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAmountMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAmountMicros()); } if (hasCurrencyCode()) { hash = (37 * hash) + CURRENCY_CODE_FIELD_NUMBER; @@ -227,132 +254,134 @@ public int hashCode() { return hash; } - public static com.google.shopping.type.Price parseFrom( - java.nio.ByteBuffer data) + public static com.google.shopping.type.Price parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.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.shopping.type.Price parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.shopping.type.Price parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.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.shopping.type.Price parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.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.shopping.type.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.shopping.type.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.shopping.type.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.shopping.type.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.shopping.type.Price parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.shopping.type.Price parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.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.shopping.type.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; } /** + * + * *
    * The price represented as a number and currency.
    * 
* * Protobuf type {@code google.shopping.type.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.shopping.type.Price) com.google.shopping.type.PriceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.type.TypesProto + .internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_fieldAccessorTable + return com.google.shopping.type.TypesProto + .internal_static_google_shopping_type_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.shopping.type.Price.class, com.google.shopping.type.Price.Builder.class); } // Construct using com.google.shopping.type.Price.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_Price_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.type.TypesProto + .internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override @@ -385,7 +414,9 @@ public com.google.shopping.type.Price build() { @java.lang.Override public com.google.shopping.type.Price buildPartial() { com.google.shopping.type.Price result = new com.google.shopping.type.Price(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -408,38 +439,39 @@ private void buildPartial0(com.google.shopping.type.Price result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.Price) { - return mergeFrom((com.google.shopping.type.Price)other); + return mergeFrom((com.google.shopping.type.Price) other); } else { super.mergeFrom(other); return this; @@ -482,22 +514,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - amountMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - currencyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + amountMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + currencyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -507,10 +542,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long amountMicros_ ; + private long amountMicros_; /** + * + * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -520,6 +558,7 @@ public Builder mergeFrom(
      * 
* * optional int64 amount_micros = 1; + * * @return Whether the amountMicros field is set. */ @java.lang.Override @@ -527,6 +566,8 @@ public boolean hasAmountMicros() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -536,6 +577,7 @@ public boolean hasAmountMicros() {
      * 
* * optional int64 amount_micros = 1; + * * @return The amountMicros. */ @java.lang.Override @@ -543,6 +585,8 @@ public long getAmountMicros() { return amountMicros_; } /** + * + * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -552,6 +596,7 @@ public long getAmountMicros() {
      * 
* * optional int64 amount_micros = 1; + * * @param value The amountMicros to set. * @return This builder for chaining. */ @@ -563,6 +608,8 @@ public Builder setAmountMicros(long value) { return this; } /** + * + * *
      * The price represented as a number in micros (1 million micros is an
      * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -572,6 +619,7 @@ public Builder setAmountMicros(long value) {
      * 
* * optional int64 amount_micros = 1; + * * @return This builder for chaining. */ public Builder clearAmountMicros() { @@ -583,31 +631,36 @@ public Builder clearAmountMicros() { private java.lang.Object currencyCode_ = ""; /** + * + * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; + * * @return Whether the currencyCode field is set. */ public boolean hasCurrencyCode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; + * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -616,21 +669,22 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; + * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -638,30 +692,37 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; + * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCurrencyCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } currencyCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -671,27 +732,31 @@ public Builder clearCurrencyCode() { return this; } /** + * + * *
      * The currency of the price using three-letter acronyms according to [ISO
      * 4217](http://en.wikipedia.org/wiki/ISO_4217).
      * 
* * optional string currency_code = 2; + * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.type.Price) } // @@protoc_insertion_point(class_scope:google.shopping.type.Price) private static final com.google.shopping.type.Price DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.shopping.type.Price(); } @@ -715,27 +780,27 @@ public static com.google.shopping.type.Price getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Price parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Price parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.shopping.type.Price getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java similarity index 72% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java index ae1bff897bfd..daad96b93806 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/PriceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/type/types.proto package com.google.shopping.type; -public interface PriceOrBuilder extends +public interface PriceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.type.Price) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -17,10 +35,13 @@ public interface PriceOrBuilder extends
    * 
* * optional int64 amount_micros = 1; + * * @return Whether the amountMicros field is set. */ boolean hasAmountMicros(); /** + * + * *
    * The price represented as a number in micros (1 million micros is an
    * equivalent to one's currency standard unit, for example, 1 USD = 1000000
@@ -30,39 +51,48 @@ public interface PriceOrBuilder extends
    * 
* * optional int64 amount_micros = 1; + * * @return The amountMicros. */ long getAmountMicros(); /** + * + * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; + * * @return Whether the currencyCode field is set. */ boolean hasCurrencyCode(); /** + * + * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; + * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** + * + * *
    * The currency of the price using three-letter acronyms according to [ISO
    * 4217](http://en.wikipedia.org/wiki/ISO_4217).
    * 
* * optional string currency_code = 2; + * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString - getCurrencyCodeBytes(); + com.google.protobuf.ByteString getCurrencyCodeBytes(); } diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java similarity index 70% rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java index ab22f65f6864..891f8b1ea958 100644 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java +++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContext.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/type/types.proto package com.google.shopping.type; /** + * + * *
  * Reporting contexts that your account and product issues apply to.
  *
@@ -16,48 +33,52 @@
  *
  * Protobuf type {@code google.shopping.type.ReportingContext}
  */
-public final class ReportingContext extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReportingContext extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.shopping.type.ReportingContext)
     ReportingContextOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReportingContext.newBuilder() to construct.
   private ReportingContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReportingContext() {
-  }
+
+  private ReportingContext() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReportingContext();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_ReportingContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_fieldAccessorTable
+    return com.google.shopping.type.TypesProto
+        .internal_static_google_shopping_type_ReportingContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.shopping.type.ReportingContext.class, com.google.shopping.type.ReportingContext.Builder.class);
+            com.google.shopping.type.ReportingContext.class,
+            com.google.shopping.type.ReportingContext.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Reporting context values.
    * 
* * Protobuf enum {@code google.shopping.type.ReportingContext.ReportingContextEnum} */ - public enum ReportingContextEnum - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -66,6 +87,8 @@ public enum ReportingContextEnum */ REPORTING_CONTEXT_ENUM_UNSPECIFIED(0), /** + * + * *
      * [Shopping ads](https://support.google.com/merchants/answer/6149970).
      * 
@@ -74,6 +97,8 @@ public enum ReportingContextEnum */ SHOPPING_ADS(1), /** + * + * *
      * [Discovery and Demand Gen
      * ads](https://support.google.com/merchants/answer/13389785).
@@ -83,6 +108,8 @@ public enum ReportingContextEnum
      */
     DISCOVERY_ADS(2),
     /**
+     *
+     *
      * 
      * [Video ads](https://support.google.com/google-ads/answer/6340491).
      * 
@@ -91,6 +118,8 @@ public enum ReportingContextEnum */ VIDEO_ADS(3), /** + * + * *
      * [Display ads](https://support.google.com/merchants/answer/6069387).
      * 
@@ -99,6 +128,8 @@ public enum ReportingContextEnum */ DISPLAY_ADS(4), /** + * + * *
      * [Local inventory
      * ads](https://support.google.com/merchants/answer/3271956).
@@ -108,6 +139,8 @@ public enum ReportingContextEnum
      */
     LOCAL_INVENTORY_ADS(5),
     /**
+     *
+     *
      * 
      * [Vehicle inventory
      * ads](https://support.google.com/merchants/answer/11544533).
@@ -117,6 +150,8 @@ public enum ReportingContextEnum
      */
     VEHICLE_INVENTORY_ADS(6),
     /**
+     *
+     *
      * 
      * [Free product
      * listings](https://support.google.com/merchants/answer/9199328).
@@ -126,6 +161,8 @@ public enum ReportingContextEnum
      */
     FREE_LISTINGS(7),
     /**
+     *
+     *
      * 
      * [Free local product
      * listings](https://support.google.com/merchants/answer/9825611).
@@ -135,6 +172,8 @@ public enum ReportingContextEnum
      */
     FREE_LOCAL_LISTINGS(8),
     /**
+     *
+     *
      * 
      * [Free local vehicle
      * listings](https://support.google.com/merchants/answer/11544533).
@@ -144,6 +183,8 @@ public enum ReportingContextEnum
      */
     FREE_LOCAL_VEHICLE_LISTINGS(9),
     /**
+     *
+     *
      * 
      * [YouTube
      * Shopping](https://support.google.com/merchants/answer/13478370).
@@ -153,6 +194,8 @@ public enum ReportingContextEnum
      */
     YOUTUBE_SHOPPING(10),
     /**
+     *
+     *
      * 
      * [Cloud retail](https://cloud.google.com/solutions/retail).
      * 
@@ -161,6 +204,8 @@ public enum ReportingContextEnum */ CLOUD_RETAIL(11), /** + * + * *
      * [Local cloud retail](https://cloud.google.com/solutions/retail).
      * 
@@ -172,6 +217,8 @@ public enum ReportingContextEnum ; /** + * + * *
      * Not specified.
      * 
@@ -180,6 +227,8 @@ public enum ReportingContextEnum */ public static final int REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * [Shopping ads](https://support.google.com/merchants/answer/6149970).
      * 
@@ -188,6 +237,8 @@ public enum ReportingContextEnum */ public static final int SHOPPING_ADS_VALUE = 1; /** + * + * *
      * [Discovery and Demand Gen
      * ads](https://support.google.com/merchants/answer/13389785).
@@ -197,6 +248,8 @@ public enum ReportingContextEnum
      */
     public static final int DISCOVERY_ADS_VALUE = 2;
     /**
+     *
+     *
      * 
      * [Video ads](https://support.google.com/google-ads/answer/6340491).
      * 
@@ -205,6 +258,8 @@ public enum ReportingContextEnum */ public static final int VIDEO_ADS_VALUE = 3; /** + * + * *
      * [Display ads](https://support.google.com/merchants/answer/6069387).
      * 
@@ -213,6 +268,8 @@ public enum ReportingContextEnum */ public static final int DISPLAY_ADS_VALUE = 4; /** + * + * *
      * [Local inventory
      * ads](https://support.google.com/merchants/answer/3271956).
@@ -222,6 +279,8 @@ public enum ReportingContextEnum
      */
     public static final int LOCAL_INVENTORY_ADS_VALUE = 5;
     /**
+     *
+     *
      * 
      * [Vehicle inventory
      * ads](https://support.google.com/merchants/answer/11544533).
@@ -231,6 +290,8 @@ public enum ReportingContextEnum
      */
     public static final int VEHICLE_INVENTORY_ADS_VALUE = 6;
     /**
+     *
+     *
      * 
      * [Free product
      * listings](https://support.google.com/merchants/answer/9199328).
@@ -240,6 +301,8 @@ public enum ReportingContextEnum
      */
     public static final int FREE_LISTINGS_VALUE = 7;
     /**
+     *
+     *
      * 
      * [Free local product
      * listings](https://support.google.com/merchants/answer/9825611).
@@ -249,6 +312,8 @@ public enum ReportingContextEnum
      */
     public static final int FREE_LOCAL_LISTINGS_VALUE = 8;
     /**
+     *
+     *
      * 
      * [Free local vehicle
      * listings](https://support.google.com/merchants/answer/11544533).
@@ -258,6 +323,8 @@ public enum ReportingContextEnum
      */
     public static final int FREE_LOCAL_VEHICLE_LISTINGS_VALUE = 9;
     /**
+     *
+     *
      * 
      * [YouTube
      * Shopping](https://support.google.com/merchants/answer/13478370).
@@ -267,6 +334,8 @@ public enum ReportingContextEnum
      */
     public static final int YOUTUBE_SHOPPING_VALUE = 10;
     /**
+     *
+     *
      * 
      * [Cloud retail](https://cloud.google.com/solutions/retail).
      * 
@@ -275,6 +344,8 @@ public enum ReportingContextEnum */ public static final int CLOUD_RETAIL_VALUE = 11; /** + * + * *
      * [Local cloud retail](https://cloud.google.com/solutions/retail).
      * 
@@ -283,7 +354,6 @@ public enum ReportingContextEnum */ public static final int LOCAL_CLOUD_RETAIL_VALUE = 12; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -308,20 +378,34 @@ public static ReportingContextEnum valueOf(int value) { */ public static ReportingContextEnum forNumber(int value) { switch (value) { - case 0: return REPORTING_CONTEXT_ENUM_UNSPECIFIED; - case 1: return SHOPPING_ADS; - case 2: return DISCOVERY_ADS; - case 3: return VIDEO_ADS; - case 4: return DISPLAY_ADS; - case 5: return LOCAL_INVENTORY_ADS; - case 6: return VEHICLE_INVENTORY_ADS; - case 7: return FREE_LISTINGS; - case 8: return FREE_LOCAL_LISTINGS; - case 9: return FREE_LOCAL_VEHICLE_LISTINGS; - case 10: return YOUTUBE_SHOPPING; - case 11: return CLOUD_RETAIL; - case 12: return LOCAL_CLOUD_RETAIL; - default: return null; + case 0: + return REPORTING_CONTEXT_ENUM_UNSPECIFIED; + case 1: + return SHOPPING_ADS; + case 2: + return DISCOVERY_ADS; + case 3: + return VIDEO_ADS; + case 4: + return DISPLAY_ADS; + case 5: + return LOCAL_INVENTORY_ADS; + case 6: + return VEHICLE_INVENTORY_ADS; + case 7: + return FREE_LISTINGS; + case 8: + return FREE_LOCAL_LISTINGS; + case 9: + return FREE_LOCAL_VEHICLE_LISTINGS; + case 10: + return YOUTUBE_SHOPPING; + case 11: + return CLOUD_RETAIL; + case 12: + return LOCAL_CLOUD_RETAIL; + default: + return null; } } @@ -329,28 +413,28 @@ public static ReportingContextEnum forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ReportingContextEnum> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReportingContextEnum findValueByNumber(int number) { - return ReportingContextEnum.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 ReportingContextEnum findValueByNumber(int number) { + return ReportingContextEnum.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.shopping.type.ReportingContext.getDescriptor().getEnumTypes().get(0); } @@ -359,8 +443,7 @@ public ReportingContextEnum findValueByNumber(int number) { public static ReportingContextEnum 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; @@ -378,6 +461,7 @@ private ReportingContextEnum(int value) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,8 +473,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -408,12 +491,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.shopping.type.ReportingContext)) { return super.equals(obj); } - com.google.shopping.type.ReportingContext other = (com.google.shopping.type.ReportingContext) obj; + com.google.shopping.type.ReportingContext other = + (com.google.shopping.type.ReportingContext) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -431,99 +515,104 @@ public int hashCode() { return hash; } - public static com.google.shopping.type.ReportingContext parseFrom( - java.nio.ByteBuffer data) + public static com.google.shopping.type.ReportingContext parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.ReportingContext parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.ReportingContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.ReportingContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.ReportingContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.type.ReportingContext parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.type.ReportingContext parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.ReportingContext parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.type.ReportingContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.type.ReportingContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.ReportingContext parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.shopping.type.ReportingContext parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.type.ReportingContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.shopping.type.ReportingContext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Reporting contexts that your account and product issues apply to.
    *
@@ -536,33 +625,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.shopping.type.ReportingContext}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.shopping.type.ReportingContext)
       com.google.shopping.type.ReportingContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_ReportingContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_fieldAccessorTable
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_ReportingContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.shopping.type.ReportingContext.class, com.google.shopping.type.ReportingContext.Builder.class);
+              com.google.shopping.type.ReportingContext.class,
+              com.google.shopping.type.ReportingContext.Builder.class);
     }
 
     // Construct using com.google.shopping.type.ReportingContext.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -570,9 +658,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.shopping.type.TypesProto.internal_static_google_shopping_type_ReportingContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.shopping.type.TypesProto
+          .internal_static_google_shopping_type_ReportingContext_descriptor;
     }
 
     @java.lang.Override
@@ -591,7 +679,8 @@ public com.google.shopping.type.ReportingContext build() {
 
     @java.lang.Override
     public com.google.shopping.type.ReportingContext buildPartial() {
-      com.google.shopping.type.ReportingContext result = new com.google.shopping.type.ReportingContext(this);
+      com.google.shopping.type.ReportingContext result =
+          new com.google.shopping.type.ReportingContext(this);
       onBuilt();
       return result;
     }
@@ -600,38 +689,39 @@ public com.google.shopping.type.ReportingContext buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.shopping.type.ReportingContext) {
-        return mergeFrom((com.google.shopping.type.ReportingContext)other);
+        return mergeFrom((com.google.shopping.type.ReportingContext) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -666,12 +756,13 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -681,9 +772,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -693,12 +784,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.shopping.type.ReportingContext)
   }
 
   // @@protoc_insertion_point(class_scope:google.shopping.type.ReportingContext)
   private static final com.google.shopping.type.ReportingContext DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.shopping.type.ReportingContext();
   }
@@ -707,27 +798,27 @@ public static com.google.shopping.type.ReportingContext getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReportingContext parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReportingContext parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -742,6 +833,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.shopping.type.ReportingContext getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java
new file mode 100644
index 000000000000..e3650d6489ef
--- /dev/null
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/type/types.proto
+
+package com.google.shopping.type;
+
+public interface ReportingContextOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.shopping.type.ReportingContext)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java
new file mode 100644
index 000000000000..39d4af4b9716
--- /dev/null
+++ b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java
@@ -0,0 +1,125 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/shopping/type/types.proto
+
+package com.google.shopping.type;
+
+public final class TypesProto {
+  private TypesProto() {}
+
+  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_shopping_type_Price_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_type_Price_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_type_CustomAttribute_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_type_Destination_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_type_Destination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_type_ReportingContext_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_type_ReportingContext_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_shopping_type_Channel_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_shopping_type_Channel_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/shopping/type/types.proto\022\024goog"
+          + "le.shopping.type\"c\n\005Price\022\032\n\ramount_micr"
+          + "os\030\001 \001(\003H\000\210\001\001\022\032\n\rcurrency_code\030\002 \001(\tH\001\210\001"
+          + "\001B\020\n\016_amount_microsB\020\n\016_currency_code\"\210\001"
+          + "\n\017CustomAttribute\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\022\n\005"
+          + "value\030\002 \001(\tH\001\210\001\001\022;\n\014group_values\030\003 \003(\0132%"
+          + ".google.shopping.type.CustomAttributeB\007\n"
+          + "\005_nameB\010\n\006_value\"\301\001\n\013Destination\"\261\001\n\017Des"
+          + "tinationEnum\022 \n\034DESTINATION_ENUM_UNSPECI"
+          + "FIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022\017\n\013DISPLAY_ADS\020"
+          + "\002\022\027\n\023LOCAL_INVENTORY_ADS\020\003\022\021\n\rFREE_LISTI"
+          + "NGS\020\004\022\027\n\023FREE_LOCAL_LISTINGS\020\005\022\024\n\020YOUTUB"
+          + "E_SHOPPING\020\006\"\331\002\n\020ReportingContext\"\304\002\n\024Re"
+          + "portingContextEnum\022&\n\"REPORTING_CONTEXT_"
+          + "ENUM_UNSPECIFIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022\021\n\r"
+          + "DISCOVERY_ADS\020\002\022\r\n\tVIDEO_ADS\020\003\022\017\n\013DISPLA"
+          + "Y_ADS\020\004\022\027\n\023LOCAL_INVENTORY_ADS\020\005\022\031\n\025VEHI"
+          + "CLE_INVENTORY_ADS\020\006\022\021\n\rFREE_LISTINGS\020\007\022\027"
+          + "\n\023FREE_LOCAL_LISTINGS\020\010\022\037\n\033FREE_LOCAL_VE"
+          + "HICLE_LISTINGS\020\t\022\024\n\020YOUTUBE_SHOPPING\020\n\022\020"
+          + "\n\014CLOUD_RETAIL\020\013\022\026\n\022LOCAL_CLOUD_RETAIL\020\014"
+          + "\"M\n\007Channel\"B\n\013ChannelEnum\022\034\n\030CHANNEL_EN"
+          + "UM_UNSPECIFIED\020\000\022\n\n\006ONLINE\020\001\022\t\n\005LOCAL\020\002B"
+          + "p\n\030com.google.shopping.typeB\nTypesProtoP"
+          + "\001Z/cloud.google.com/go/shopping/type/typ"
+          + "epb;typepb\252\002\024Google.Shopping.Typeb\006proto"
+          + "3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+    internal_static_google_shopping_type_Price_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_shopping_type_Price_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_type_Price_descriptor,
+            new java.lang.String[] {
+              "AmountMicros", "CurrencyCode", "AmountMicros", "CurrencyCode",
+            });
+    internal_static_google_shopping_type_CustomAttribute_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_type_CustomAttribute_descriptor,
+            new java.lang.String[] {
+              "Name", "Value", "GroupValues", "Name", "Value",
+            });
+    internal_static_google_shopping_type_Destination_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_shopping_type_Destination_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_type_Destination_descriptor, new java.lang.String[] {});
+    internal_static_google_shopping_type_ReportingContext_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_shopping_type_ReportingContext_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_type_ReportingContext_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_shopping_type_Channel_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_shopping_type_Channel_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_shopping_type_Channel_descriptor, new java.lang.String[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/localinventory.proto
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto b/java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto
rename to java-shopping-merchant-inventories/proto-google-shopping-merchant-inventories-v1beta/src/main/proto/google/shopping/merchant/inventories/v1beta/regionalinventory.proto
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/AsyncDeleteLocalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryLocalinventoryname.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/deletelocalinventory/SyncDeleteLocalInventoryString.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/AsyncInsertLocalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/insertlocalinventory/SyncInsertLocalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventories.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/AsyncListLocalInventoriesPaged.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventories.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservice/listlocalinventories/SyncListLocalInventoriesString.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/localinventoryservicesettings/insertlocalinventory/SyncInsertLocalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/AsyncDeleteRegionalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryRegionalinventoryname.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/deleteregionalinventory/SyncDeleteRegionalInventoryString.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/AsyncInsertRegionalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/insertregionalinventory/SyncInsertRegionalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventories.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/AsyncListRegionalInventoriesPaged.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventories.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservice/listregionalinventories/SyncListRegionalInventoriesString.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/regionalinventoryservicesettings/insertregionalinventory/SyncInsertRegionalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/localinventoryservicestubsettings/insertlocalinventory/SyncInsertLocalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java b/java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java
similarity index 100%
rename from owl-bot-staging/java-shopping-merchant-inventories/v1beta/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java
rename to java-shopping-merchant-inventories/samples/snippets/generated/com/google/shopping/merchant/inventories/v1beta/stub/regionalinventoryservicestubsettings/insertregionalinventory/SyncInsertRegionalInventory.java
diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java
deleted file mode 100644
index 0a6723ee90e0..000000000000
--- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/grpc-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryServiceGrpc.java
+++ /dev/null
@@ -1,557 +0,0 @@
-package com.google.shopping.merchant.inventories.v1beta;
-
-import static io.grpc.MethodDescriptor.generateFullMethodName;
-
-/**
- * 
- * Service to manage regional inventory for products. There is also separate
- * `regions` resource and API to manage regions definitions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class RegionalInventoryServiceGrpc { - - private RegionalInventoryServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.shopping.merchant.inventories.v1beta.RegionalInventoryService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListRegionalInventoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRegionalInventories", - requestType = com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.class, - responseType = com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRegionalInventoriesMethod() { - io.grpc.MethodDescriptor getListRegionalInventoriesMethod; - if ((getListRegionalInventoriesMethod = RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - if ((getListRegionalInventoriesMethod = RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod) == null) { - RegionalInventoryServiceGrpc.getListRegionalInventoriesMethod = getListRegionalInventoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegionalInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegionalInventoryServiceMethodDescriptorSupplier("ListRegionalInventories")) - .build(); - } - } - } - return getListRegionalInventoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getInsertRegionalInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InsertRegionalInventory", - requestType = com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.class, - responseType = com.google.shopping.merchant.inventories.v1beta.RegionalInventory.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInsertRegionalInventoryMethod() { - io.grpc.MethodDescriptor getInsertRegionalInventoryMethod; - if ((getInsertRegionalInventoryMethod = RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - if ((getInsertRegionalInventoryMethod = RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod) == null) { - RegionalInventoryServiceGrpc.getInsertRegionalInventoryMethod = getInsertRegionalInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InsertRegionalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.RegionalInventory.getDefaultInstance())) - .setSchemaDescriptor(new RegionalInventoryServiceMethodDescriptorSupplier("InsertRegionalInventory")) - .build(); - } - } - } - return getInsertRegionalInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRegionalInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRegionalInventory", - requestType = com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRegionalInventoryMethod() { - io.grpc.MethodDescriptor getDeleteRegionalInventoryMethod; - if ((getDeleteRegionalInventoryMethod = RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - if ((getDeleteRegionalInventoryMethod = RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod) == null) { - RegionalInventoryServiceGrpc.getDeleteRegionalInventoryMethod = getDeleteRegionalInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegionalInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegionalInventoryServiceMethodDescriptorSupplier("DeleteRegionalInventory")) - .build(); - } - } - } - return getDeleteRegionalInventoryMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static RegionalInventoryServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegionalInventoryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceStub(channel, callOptions); - } - }; - return RegionalInventoryServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static RegionalInventoryServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegionalInventoryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceBlockingStub(channel, callOptions); - } - }; - return RegionalInventoryServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static RegionalInventoryServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegionalInventoryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceFutureStub(channel, callOptions); - } - }; - return RegionalInventoryServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - default void listRegionalInventories(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegionalInventoriesMethod(), responseObserver); - } - - /** - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - default void insertRegionalInventory(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertRegionalInventoryMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - default void deleteRegionalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegionalInventoryMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service RegionalInventoryService. - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static abstract class RegionalInventoryServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return RegionalInventoryServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service RegionalInventoryService. - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static final class RegionalInventoryServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private RegionalInventoryServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegionalInventoryServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceStub(channel, callOptions); - } - - /** - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - public void listRegionalInventories(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - public void insertRegionalInventory(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - public void deleteRegionalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service RegionalInventoryService. - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static final class RegionalInventoryServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private RegionalInventoryServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegionalInventoryServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - public com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse listRegionalInventories(com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRegionalInventoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - public com.google.shopping.merchant.inventories.v1beta.RegionalInventory insertRegionalInventory(com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInsertRegionalInventoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - public com.google.protobuf.Empty deleteRegionalInventory(com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRegionalInventoryMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service RegionalInventoryService. - *
-   * Service to manage regional inventory for products. There is also separate
-   * `regions` resource and API to manage regions definitions.
-   * 
- */ - public static final class RegionalInventoryServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private RegionalInventoryServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegionalInventoryServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegionalInventoryServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lists the `RegionalInventory` resources for the given product in your
-     * merchant account. The response might contain fewer items than specified by
-     * `pageSize`.  If `pageToken` was returned in previous request, it can be
-     * used to obtain additional results.
-     * `RegionalInventory` resources are listed per product for a given account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRegionalInventories( - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRegionalInventoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Inserts a `RegionalInventory` to a given product in your
-     * merchant account.
-     * Replaces the full `RegionalInventory` resource if an entry with the same
-     * [`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]
-     * already exists for the product.
-     * It might take up to 30 minutes for the new or updated `RegionalInventory`
-     * resource to appear in products.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture insertRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInsertRegionalInventoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified `RegionalInventory` resource from the given product
-     * in your merchant account.  It might take up to an hour for the
-     * `RegionalInventory` to be deleted from the specific product.
-     * Once you have received a successful delete response, wait for that
-     * period before attempting a delete again.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRegionalInventory( - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRegionalInventoryMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_REGIONAL_INVENTORIES = 0; - private static final int METHODID_INSERT_REGIONAL_INVENTORY = 1; - private static final int METHODID_DELETE_REGIONAL_INVENTORY = 2; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_REGIONAL_INVENTORIES: - serviceImpl.listRegionalInventories((com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INSERT_REGIONAL_INVENTORY: - serviceImpl.insertRegionalInventory((com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REGIONAL_INVENTORY: - serviceImpl.deleteRegionalInventory((com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListRegionalInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest, - com.google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse>( - service, METHODID_LIST_REGIONAL_INVENTORIES))) - .addMethod( - getInsertRegionalInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest, - com.google.shopping.merchant.inventories.v1beta.RegionalInventory>( - service, METHODID_INSERT_REGIONAL_INVENTORY))) - .addMethod( - getDeleteRegionalInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_REGIONAL_INVENTORY))) - .build(); - } - - private static abstract class RegionalInventoryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - RegionalInventoryServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.shopping.merchant.inventories.v1beta.RegionalInventoryProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("RegionalInventoryService"); - } - } - - private static final class RegionalInventoryServiceFileDescriptorSupplier - extends RegionalInventoryServiceBaseDescriptorSupplier { - RegionalInventoryServiceFileDescriptorSupplier() {} - } - - private static final class RegionalInventoryServiceMethodDescriptorSupplier - extends RegionalInventoryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - RegionalInventoryServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (RegionalInventoryServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RegionalInventoryServiceFileDescriptorSupplier()) - .addMethod(getListRegionalInventoriesMethod()) - .addMethod(getInsertRegionalInventoryMethod()) - .addMethod(getDeleteRegionalInventoryMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java deleted file mode 100644 index f33965fafed5..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteLocalInventoryRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/localinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public interface DeleteLocalInventoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteLocalInventoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the local inventory for the given product to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/localInventories/{store_code}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the local inventory for the given product to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/localInventories/{store_code}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java deleted file mode 100644 index d94448506668..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/DeleteRegionalInventoryRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public interface DeleteRegionalInventoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.shopping.merchant.inventories.v1beta.DeleteRegionalInventoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `RegionalInventory` resource to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/regionalInventories/{region}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `RegionalInventory` resource to delete.
-   * Format:
-   * `accounts/{account}/products/{product}/regionalInventories/{region}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java deleted file mode 100644 index c38c5370264b..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/LocalInventoryProto.java +++ /dev/null @@ -1,176 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/localinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public final class LocalInventoryProto { - private LocalInventoryProto() {} - 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_shopping_merchant_inventories_v1beta_LocalInventory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_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/shopping/merchant/inventories/v" + - "1beta/localinventory.proto\022+google.shopp" + - "ing.merchant.inventories.v1beta\032\034google/" + - "api/annotations.proto\032\027google/api/client" + - ".proto\032\037google/api/field_behavior.proto\032" + - "\031google/api/resource.proto\032\033google/proto" + - "buf/empty.proto\032 google/shopping/type/ty" + - "pes.proto\032\032google/type/interval.proto\"\215\005" + - "\n\016LocalInventory\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\025\n\007" + - "account\030\002 \001(\003B\004\342A\001\003\022\030\n\nstore_code\030\003 \001(\tB" + - "\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping.t" + - "ype.Price\022/\n\nsale_price\030\005 \001(\0132\033.google.s" + - "hopping.type.Price\0228\n\031sale_price_effecti" + - "ve_date\030\006 \001(\0132\025.google.type.Interval\022\031\n\014" + - "availability\030\007 \001(\tH\000\210\001\001\022\025\n\010quantity\030\010 \001(" + - "\003H\001\210\001\001\022\032\n\rpickup_method\030\t \001(\tH\002\210\001\001\022\027\n\npi" + - "ckup_sla\030\n \001(\tH\003\210\001\001\022%\n\030instore_product_l" + - "ocation\030\013 \001(\tH\004\210\001\001\022@\n\021custom_attributes\030" + - "\014 \003(\0132%.google.shopping.type.CustomAttri" + - "bute:s\352Ap\n)merchantapi.googleapis.com/Lo" + - "calInventory\022Caccounts/{account}/product" + - "s/{product}/localInventories/{store_code" + - "}B\017\n\r_availabilityB\013\n\t_quantityB\020\n\016_pick" + - "up_methodB\r\n\013_pickup_slaB\033\n\031_instore_pro" + - "duct_location\"Z\n\033ListLocalInventoriesReq" + - "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001\n\034ListLocalI" + - "nventoriesResponse\022V\n\021local_inventories\030" + - "\001 \003(\0132;.google.shopping.merchant.invento" + - "ries.v1beta.LocalInventory\022\027\n\017next_page_" + - "token\030\002 \001(\t\"\217\001\n\033InsertLocalInventoryRequ" + - "est\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022Z\n\017local_inven" + - "tory\030\002 \001(\0132;.google.shopping.merchant.in" + - "ventories.v1beta.LocalInventoryB\004\342A\001\002\"_\n" + - "\033DeleteLocalInventoryRequest\022@\n\004name\030\001 \001" + - "(\tB2\342A\001\002\372A+\n)merchantapi.googleapis.com/" + - "LocalInventory2\270\006\n\025LocalInventoryService" + - "\022\201\002\n\024ListLocalInventories\022H.google.shopp" + - "ing.merchant.inventories.v1beta.ListLoca" + - "lInventoriesRequest\032I.google.shopping.me" + - "rchant.inventories.v1beta.ListLocalInven" + - "toriesResponse\"T\332A\006parent\202\323\344\223\002E\022C/invent" + - "ories/v1beta/{parent=accounts/*/products" + - "/*}/localInventories\022\202\002\n\024InsertLocalInve" + - "ntory\022H.google.shopping.merchant.invento" + - "ries.v1beta.InsertLocalInventoryRequest\032" + - ";.google.shopping.merchant.inventories.v" + - "1beta.LocalInventory\"c\202\323\344\223\002]\"J/inventori" + - "es/v1beta/{parent=accounts/*/products/*}" + - "/localInventories:insert:\017local_inventor" + - "y\022\314\001\n\024DeleteLocalInventory\022H.google.shop" + - "ping.merchant.inventories.v1beta.DeleteL" + - "ocalInventoryRequest\032\026.google.protobuf.E" + - "mpty\"R\332A\004name\202\323\344\223\002E*C/inventories/v1beta" + - "/{name=accounts/*/products/*/localInvent" + - "ories/*}\032G\312A\032merchantapi.googleapis.com\322" + - "A\'https://www.googleapis.com/auth/conten" + - "tB\241\001\n/com.google.shopping.merchant.inven" + - "tories.v1betaB\023LocalInventoryProtoP\001ZWcl" + - "oud.google.com/go/shopping/merchant/inve" + - "ntories/apiv1beta/inventoriespb;inventor" + - "iespbb\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.protobuf.EmptyProto.getDescriptor(), - com.google.shopping.type.TypesProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_LocalInventory_descriptor, - new java.lang.String[] { "Name", "Account", "StoreCode", "Price", "SalePrice", "SalePriceEffectiveDate", "Availability", "Quantity", "PickupMethod", "PickupSla", "InstoreProductLocation", "CustomAttributes", "Availability", "Quantity", "PickupMethod", "PickupSla", "InstoreProductLocation", }); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListLocalInventoriesResponse_descriptor, - new java.lang.String[] { "LocalInventories", "NextPageToken", }); - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_InsertLocalInventoryRequest_descriptor, - new java.lang.String[] { "Parent", "LocalInventory", }); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_DeleteLocalInventoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.protobuf.EmptyProto.getDescriptor(); - com.google.shopping.type.TypesProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java deleted file mode 100644 index 16bf1392727c..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/merchant/inventories/v1beta/RegionalInventoryProto.java +++ /dev/null @@ -1,173 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/merchant/inventories/v1beta/regionalinventory.proto - -package com.google.shopping.merchant.inventories.v1beta; - -public final class RegionalInventoryProto { - private RegionalInventoryProto() {} - 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_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nCgoogle/shopping/merchant/inventories/v" + - "1beta/regionalinventory.proto\022+google.sh" + - "opping.merchant.inventories.v1beta\032\034goog" + - "le/api/annotations.proto\032\027google/api/cli" + - "ent.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032\033google/pr" + - "otobuf/empty.proto\032 google/shopping/type" + - "/types.proto\032\032google/type/interval.proto" + - "\"\320\003\n\021RegionalInventory\022\022\n\004name\030\001 \001(\tB\004\342A" + - "\001\003\022\025\n\007account\030\002 \001(\003B\004\342A\001\003\022\024\n\006region\030\003 \001(" + - "\tB\004\342A\001\002\022*\n\005price\030\004 \001(\0132\033.google.shopping" + - ".type.Price\022/\n\nsale_price\030\005 \001(\0132\033.google" + - ".shopping.type.Price\0228\n\031sale_price_effec" + - "tive_date\030\006 \001(\0132\025.google.type.Interval\022\031" + - "\n\014availability\030\007 \001(\tH\000\210\001\001\022@\n\021custom_attr" + - "ibutes\030\010 \003(\0132%.google.shopping.type.Cust" + - "omAttribute:u\352Ar\n,merchantapi.googleapis" + - ".com/RegionalInventory\022Baccounts/{accoun" + - "t}/products/{product}/regionalInventorie" + - "s/{region}B\017\n\r_availability\"]\n\036ListRegio" + - "nalInventoriesRequest\022\024\n\006parent\030\001 \001(\tB\004\342" + - "A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + - "(\t\"\230\001\n\037ListRegionalInventoriesResponse\022\\" + - "\n\024regional_inventories\030\001 \003(\0132>.google.sh" + - "opping.merchant.inventories.v1beta.Regio" + - "nalInventory\022\027\n\017next_page_token\030\002 \001(\t\"\230\001" + - "\n\036InsertRegionalInventoryRequest\022\024\n\006pare" + - "nt\030\001 \001(\tB\004\342A\001\002\022`\n\022regional_inventory\030\002 \001" + - "(\0132>.google.shopping.merchant.inventorie" + - "s.v1beta.RegionalInventoryB\004\342A\001\002\"e\n\036Dele" + - "teRegionalInventoryRequest\022C\n\004name\030\001 \001(\t" + - "B5\342A\001\002\372A.\n,merchantapi.googleapis.com/Re" + - "gionalInventory2\337\006\n\030RegionalInventorySer" + - "vice\022\215\002\n\027ListRegionalInventories\022K.googl" + - "e.shopping.merchant.inventories.v1beta.L" + - "istRegionalInventoriesRequest\032L.google.s" + - "hopping.merchant.inventories.v1beta.List" + - "RegionalInventoriesResponse\"W\332A\006parent\202\323" + - "\344\223\002H\022F/inventories/v1beta/{parent=accoun" + - "ts/*/products/*}/regionalInventories\022\221\002\n" + - "\027InsertRegionalInventory\022K.google.shoppi" + - "ng.merchant.inventories.v1beta.InsertReg" + - "ionalInventoryRequest\032>.google.shopping." + - "merchant.inventories.v1beta.RegionalInve" + - "ntory\"i\202\323\344\223\002c\"M/inventories/v1beta/{pare" + - "nt=accounts/*/products/*}/regionalInvent" + - "ories:insert:\022regional_inventory\022\325\001\n\027Del" + - "eteRegionalInventory\022K.google.shopping.m" + - "erchant.inventories.v1beta.DeleteRegiona" + - "lInventoryRequest\032\026.google.protobuf.Empt" + - "y\"U\332A\004name\202\323\344\223\002H*F/inventories/v1beta/{n" + - "ame=accounts/*/products/*/regionalInvent" + - "ories/*}\032G\312A\032merchantapi.googleapis.com\322" + - "A\'https://www.googleapis.com/auth/conten" + - "tB\244\001\n/com.google.shopping.merchant.inven" + - "tories.v1betaB\026RegionalInventoryProtoP\001Z" + - "Wcloud.google.com/go/shopping/merchant/i" + - "nventories/apiv1beta/inventoriespb;inven" + - "toriespbb\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.protobuf.EmptyProto.getDescriptor(), - com.google.shopping.type.TypesProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_RegionalInventory_descriptor, - new java.lang.String[] { "Name", "Account", "Region", "Price", "SalePrice", "SalePriceEffectiveDate", "Availability", "CustomAttributes", "Availability", }); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_ListRegionalInventoriesResponse_descriptor, - new java.lang.String[] { "RegionalInventories", "NextPageToken", }); - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_InsertRegionalInventoryRequest_descriptor, - new java.lang.String[] { "Parent", "RegionalInventory", }); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_merchant_inventories_v1beta_DeleteRegionalInventoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - 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.protobuf.EmptyProto.getDescriptor(); - com.google.shopping.type.TypesProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java deleted file mode 100644 index 47fac0672055..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ChannelOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/type/types.proto - -package com.google.shopping.type; - -public interface ChannelOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.shopping.type.Channel) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java deleted file mode 100644 index 9592163e8b16..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/DestinationOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/type/types.proto - -package com.google.shopping.type; - -public interface DestinationOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.shopping.type.Destination) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java deleted file mode 100644 index 32a724110a01..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/type/types.proto - -package com.google.shopping.type; - -public interface ReportingContextOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.shopping.type.ReportingContext) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java b/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java deleted file mode 100644 index f680720eab3a..000000000000 --- a/owl-bot-staging/java-shopping-merchant-inventories/v1beta/proto-google-shopping-merchant-inventories-v1beta/src/main/java/com/google/shopping/type/TypesProto.java +++ /dev/null @@ -1,116 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/shopping/type/types.proto - -package com.google.shopping.type; - -public final class TypesProto { - private TypesProto() {} - 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_shopping_type_Price_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_Price_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_type_CustomAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_type_Destination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_Destination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_type_ReportingContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_ReportingContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_shopping_type_Channel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_shopping_type_Channel_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/shopping/type/types.proto\022\024goog" + - "le.shopping.type\"c\n\005Price\022\032\n\ramount_micr" + - "os\030\001 \001(\003H\000\210\001\001\022\032\n\rcurrency_code\030\002 \001(\tH\001\210\001" + - "\001B\020\n\016_amount_microsB\020\n\016_currency_code\"\210\001" + - "\n\017CustomAttribute\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\022\n\005" + - "value\030\002 \001(\tH\001\210\001\001\022;\n\014group_values\030\003 \003(\0132%" + - ".google.shopping.type.CustomAttributeB\007\n" + - "\005_nameB\010\n\006_value\"\301\001\n\013Destination\"\261\001\n\017Des" + - "tinationEnum\022 \n\034DESTINATION_ENUM_UNSPECI" + - "FIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022\017\n\013DISPLAY_ADS\020" + - "\002\022\027\n\023LOCAL_INVENTORY_ADS\020\003\022\021\n\rFREE_LISTI" + - "NGS\020\004\022\027\n\023FREE_LOCAL_LISTINGS\020\005\022\024\n\020YOUTUB" + - "E_SHOPPING\020\006\"\331\002\n\020ReportingContext\"\304\002\n\024Re" + - "portingContextEnum\022&\n\"REPORTING_CONTEXT_" + - "ENUM_UNSPECIFIED\020\000\022\020\n\014SHOPPING_ADS\020\001\022\021\n\r" + - "DISCOVERY_ADS\020\002\022\r\n\tVIDEO_ADS\020\003\022\017\n\013DISPLA" + - "Y_ADS\020\004\022\027\n\023LOCAL_INVENTORY_ADS\020\005\022\031\n\025VEHI" + - "CLE_INVENTORY_ADS\020\006\022\021\n\rFREE_LISTINGS\020\007\022\027" + - "\n\023FREE_LOCAL_LISTINGS\020\010\022\037\n\033FREE_LOCAL_VE" + - "HICLE_LISTINGS\020\t\022\024\n\020YOUTUBE_SHOPPING\020\n\022\020" + - "\n\014CLOUD_RETAIL\020\013\022\026\n\022LOCAL_CLOUD_RETAIL\020\014" + - "\"M\n\007Channel\"B\n\013ChannelEnum\022\034\n\030CHANNEL_EN" + - "UM_UNSPECIFIED\020\000\022\n\n\006ONLINE\020\001\022\t\n\005LOCAL\020\002B" + - "p\n\030com.google.shopping.typeB\nTypesProtoP" + - "\001Z/cloud.google.com/go/shopping/type/typ" + - "epb;typepb\252\002\024Google.Shopping.Typeb\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_shopping_type_Price_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_shopping_type_Price_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_Price_descriptor, - new java.lang.String[] { "AmountMicros", "CurrencyCode", "AmountMicros", "CurrencyCode", }); - internal_static_google_shopping_type_CustomAttribute_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_CustomAttribute_descriptor, - new java.lang.String[] { "Name", "Value", "GroupValues", "Name", "Value", }); - internal_static_google_shopping_type_Destination_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_shopping_type_Destination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_Destination_descriptor, - new java.lang.String[] { }); - internal_static_google_shopping_type_ReportingContext_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_shopping_type_ReportingContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_ReportingContext_descriptor, - new java.lang.String[] { }); - internal_static_google_shopping_type_Channel_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_shopping_type_Channel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_shopping_type_Channel_descriptor, - new java.lang.String[] { }); - } - - // @@protoc_insertion_point(outer_class_scope) -}