diff --git a/generation_config.yaml b/generation_config.yaml index b336236b21..d64d59f3a5 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 1937a1552cb031159749738f6d062f084ea94894 +googleapis_commitish: 6df3ecf4fd43b64826de6a477d1a535ec18b0d7c # the libraries are ordered with respect to library name, which is # java-{library.library_name} or java-{library.api-shortname} when # library.library_name is not defined. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java index 6afc2f61d9..ac650a1234 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java @@ -153,6 +153,67 @@ public enum DestinationEnum implements com.google.protobuf.ProtocolMessageEnum { * YOUTUBE_SHOPPING = 6; */ YOUTUBE_SHOPPING(6), + /** + * + * + *
+     * Youtube shopping checkout.
+     * 
+ * + * YOUTUBE_SHOPPING_CHECKOUT = 7; + */ + YOUTUBE_SHOPPING_CHECKOUT(7), + /** + * + * + *
+     * [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
+     * 
+ * + * YOUTUBE_AFFILIATE = 8; + */ + YOUTUBE_AFFILIATE(8), + /** + * + * + *
+     * [Free vehicle
+     * listings](https://support.google.com/merchants/answer/11189169).
+     * 
+ * + * FREE_VEHICLE_LISTINGS = 9; + */ + FREE_VEHICLE_LISTINGS(9), + /** + * + * + *
+     * [Vehicle ads](https://support.google.com/merchants/answer/11189169).
+     * 
+ * + * VEHICLE_ADS = 10; + */ + VEHICLE_ADS(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), ; @@ -245,6 +306,73 @@ public enum DestinationEnum implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YOUTUBE_SHOPPING_VALUE = 6; + /** + * + * + *
+     * Youtube shopping checkout.
+     * 
+ * + * YOUTUBE_SHOPPING_CHECKOUT = 7; + */ + public static final int YOUTUBE_SHOPPING_CHECKOUT_VALUE = 7; + + /** + * + * + *
+     * [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
+     * 
+ * + * YOUTUBE_AFFILIATE = 8; + */ + public static final int YOUTUBE_AFFILIATE_VALUE = 8; + + /** + * + * + *
+     * [Free vehicle
+     * listings](https://support.google.com/merchants/answer/11189169).
+     * 
+ * + * FREE_VEHICLE_LISTINGS = 9; + */ + public static final int FREE_VEHICLE_LISTINGS_VALUE = 9; + + /** + * + * + *
+     * [Vehicle ads](https://support.google.com/merchants/answer/11189169).
+     * 
+ * + * VEHICLE_ADS = 10; + */ + public static final int VEHICLE_ADS_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( @@ -283,6 +411,18 @@ public static DestinationEnum forNumber(int value) { return FREE_LOCAL_LISTINGS; case 6: return YOUTUBE_SHOPPING; + case 7: + return YOUTUBE_SHOPPING_CHECKOUT; + case 8: + return YOUTUBE_AFFILIATE; + case 9: + return FREE_VEHICLE_LISTINGS; + case 10: + return VEHICLE_ADS; + case 11: + return CLOUD_RETAIL; + case 12: + return LOCAL_CLOUD_RETAIL; default: return null; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java index b190c98b0e..af38a69ecf 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java @@ -191,6 +191,17 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE * FREE_LISTINGS = 7; */ FREE_LISTINGS(7), + /** + * + * + *
+     * [Free product listings on UCP
+     * checkout](https://developers.google.com/merchant/ucp).
+     * 
+ * + * FREE_LISTINGS_UCP_CHECKOUT = 19; + */ + FREE_LISTINGS_UCP_CHECKOUT(19), /** * * @@ -213,6 +224,16 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE * FREE_LOCAL_VEHICLE_LISTINGS = 9; */ FREE_LOCAL_VEHICLE_LISTINGS(9), + /** + * + * + *
+     * [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
+     * 
+ * + * YOUTUBE_AFFILIATE = 18; + */ + YOUTUBE_AFFILIATE(18), /** * * @@ -244,6 +265,39 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE * LOCAL_CLOUD_RETAIL = 12; */ LOCAL_CLOUD_RETAIL(12), + /** + * + * + *
+     * [Product
+     * Reviews](https://support.google.com/merchants/answer/14620732).
+     * 
+ * + * PRODUCT_REVIEWS = 15; + */ + PRODUCT_REVIEWS(15), + /** + * + * + *
+     * [Merchant
+     * Reviews](https://developers.google.com/merchant-review-feeds).
+     * 
+ * + * MERCHANT_REVIEWS = 16; + */ + MERCHANT_REVIEWS(16), + /** + * + * + *
+     * YouTube Checkout
+     * .
+     * 
+ * + * YOUTUBE_CHECKOUT = 17; + */ + YOUTUBE_CHECKOUT(17), UNRECOGNIZED(-1), ; @@ -373,6 +427,18 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE */ public static final int FREE_LISTINGS_VALUE = 7; + /** + * + * + *
+     * [Free product listings on UCP
+     * checkout](https://developers.google.com/merchant/ucp).
+     * 
+ * + * FREE_LISTINGS_UCP_CHECKOUT = 19; + */ + public static final int FREE_LISTINGS_UCP_CHECKOUT_VALUE = 19; + /** * * @@ -397,6 +463,17 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE */ public static final int FREE_LOCAL_VEHICLE_LISTINGS_VALUE = 9; + /** + * + * + *
+     * [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
+     * 
+ * + * YOUTUBE_AFFILIATE = 18; + */ + public static final int YOUTUBE_AFFILIATE_VALUE = 18; + /** * * @@ -431,6 +508,42 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE */ public static final int LOCAL_CLOUD_RETAIL_VALUE = 12; + /** + * + * + *
+     * [Product
+     * Reviews](https://support.google.com/merchants/answer/14620732).
+     * 
+ * + * PRODUCT_REVIEWS = 15; + */ + public static final int PRODUCT_REVIEWS_VALUE = 15; + + /** + * + * + *
+     * [Merchant
+     * Reviews](https://developers.google.com/merchant-review-feeds).
+     * 
+ * + * MERCHANT_REVIEWS = 16; + */ + public static final int MERCHANT_REVIEWS_VALUE = 16; + + /** + * + * + *
+     * YouTube Checkout
+     * .
+     * 
+ * + * YOUTUBE_CHECKOUT = 17; + */ + public static final int YOUTUBE_CHECKOUT_VALUE = 17; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -475,16 +588,26 @@ public static ReportingContextEnum forNumber(int value) { return VEHICLE_INVENTORY_ADS; case 7: return FREE_LISTINGS; + case 19: + return FREE_LISTINGS_UCP_CHECKOUT; case 8: return FREE_LOCAL_LISTINGS; case 9: return FREE_LOCAL_VEHICLE_LISTINGS; + case 18: + return YOUTUBE_AFFILIATE; case 10: return YOUTUBE_SHOPPING; case 11: return CLOUD_RETAIL; case 12: return LOCAL_CLOUD_RETAIL; + case 15: + return PRODUCT_REVIEWS; + case 16: + return MERCHANT_REVIEWS; + case 17: + return YOUTUBE_CHECKOUT; default: return null; } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java index 470880e95d..d9127e98eb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java @@ -93,8 +93,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005value\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" + + "\006_value\"\315\002\n" + + "\013Destination\"\275\002\n" + "\017DestinationEnum\022 \n" + "\034DESTINATION_ENUM_UNSPECIFIED\020\000\022\020\n" + "\014SHOPPING_ADS\020\001\022\017\n" @@ -102,8 +102,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023LOCAL_INVENTORY_ADS\020\003\022\021\n\r" + "FREE_LISTINGS\020\004\022\027\n" + "\023FREE_LOCAL_LISTINGS\020\005\022\024\n" - + "\020YOUTUBE_SHOPPING\020\006\"\226\003\n" - + "\020ReportingContext\"\201\003\n" + + "\020YOUTUBE_SHOPPING\020\006\022\035\n" + + "\031YOUTUBE_SHOPPING_CHECKOUT\020\007\022\025\n" + + "\021YOUTUBE_AFFILIATE\020\010\022\031\n" + + "\025FREE_VEHICLE_LISTINGS\020\t\022\017\n" + + "\013VEHICLE_ADS\020\n" + + "\022\020\n" + + "\014CLOUD_RETAIL\020\013\022\026\n" + + "\022LOCAL_CLOUD_RETAIL\020\014\"\216\004\n" + + "\020ReportingContext\"\371\003\n" + "\024ReportingContextEnum\022&\n" + "\"REPORTING_CONTEXT_ENUM_UNSPECIFIED\020\000\022\020\n" + "\014SHOPPING_ADS\020\001\022\025\n\r" @@ -115,21 +122,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013DISPLAY_ADS\020\004\022\027\n" + "\023LOCAL_INVENTORY_ADS\020\005\022\031\n" + "\025VEHICLE_INVENTORY_ADS\020\006\022\021\n\r" - + "FREE_LISTINGS\020\007\022\027\n" + + "FREE_LISTINGS\020\007\022\036\n" + + "\032FREE_LISTINGS_UCP_CHECKOUT\020\023\022\027\n" + "\023FREE_LOCAL_LISTINGS\020\010\022\037\n" - + "\033FREE_LOCAL_VEHICLE_LISTINGS\020\t\022\024\n" + + "\033FREE_LOCAL_VEHICLE_LISTINGS\020\t\022\025\n" + + "\021YOUTUBE_AFFILIATE\020\022\022\024\n" + "\020YOUTUBE_SHOPPING\020\n" + "\022\020\n" + "\014CLOUD_RETAIL\020\013\022\026\n" - + "\022LOCAL_CLOUD_RETAIL\020\014\"M\n" + + "\022LOCAL_CLOUD_RETAIL\020\014\022\023\n" + + "\017PRODUCT_REVIEWS\020\017\022\024\n" + + "\020MERCHANT_REVIEWS\020\020\022\024\n" + + "\020YOUTUBE_CHECKOUT\020\021\"M\n" + "\007Channel\"B\n" + "\013ChannelEnum\022\034\n" + "\030CHANNEL_ENUM_UNSPECIFIED\020\000\022\n\n" + "\006ONLINE\020\001\022\t\n" + "\005LOCAL\020\002Bp\n" + "\030com.google.shopping.typeB\n" - + "TypesProtoP\001Z/cloud.google.com/go/shopping/type/ty" - + "pepb;typepb\252\002\024Google.Shopping.Typeb\006proto3" + + "TypesProtoP\001Z/cloud.google.com/go/shopping/type/typepb;typepb\252\002\024Google" + + ".Shopping.Typeb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto index 641bcf066c..962e3345c6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -79,7 +79,6 @@ message CustomAttribute { // // Destinations are used in Merchant Center to allow you to control where the // products from your data feed should be displayed. -// message Destination { // Destination values. enum DestinationEnum { @@ -105,6 +104,25 @@ message Destination { // [YouTube Shopping](https://support.google.com/merchants/answer/12362804). YOUTUBE_SHOPPING = 6; + + // Youtube shopping checkout. + YOUTUBE_SHOPPING_CHECKOUT = 7; + + // [Youtube Affiliate](https://support.google.com/youtube/answer/13376398). + YOUTUBE_AFFILIATE = 8; + + // [Free vehicle + // listings](https://support.google.com/merchants/answer/11189169). + FREE_VEHICLE_LISTINGS = 9; + + // [Vehicle ads](https://support.google.com/merchants/answer/11189169). + VEHICLE_ADS = 10; + + // [Cloud retail](https://cloud.google.com/solutions/retail). + CLOUD_RETAIL = 11; + + // [Local cloud retail](https://cloud.google.com/solutions/retail). + LOCAL_CLOUD_RETAIL = 12; } } @@ -115,7 +133,6 @@ message Destination { // ads](https://support.google.com/merchants/answer/6149970)) or a subset of // formats within a destination (for example, [Demand Gen // ads](https://support.google.com/merchants/answer/13389785)). -// message ReportingContext { // Reporting context values. enum ReportingContextEnum { @@ -155,6 +172,10 @@ message ReportingContext { // listings](https://support.google.com/merchants/answer/9199328). FREE_LISTINGS = 7; + // [Free product listings on UCP + // checkout](https://developers.google.com/merchant/ucp). + FREE_LISTINGS_UCP_CHECKOUT = 19; + // [Free local product // listings](https://support.google.com/merchants/answer/9825611). FREE_LOCAL_LISTINGS = 8; @@ -163,6 +184,9 @@ message ReportingContext { // listings](https://support.google.com/merchants/answer/11544533). FREE_LOCAL_VEHICLE_LISTINGS = 9; + // [Youtube Affiliate](https://support.google.com/youtube/answer/13376398). + YOUTUBE_AFFILIATE = 18; + // [YouTube // Shopping](https://support.google.com/merchants/answer/13478370). YOUTUBE_SHOPPING = 10; @@ -172,6 +196,18 @@ message ReportingContext { // [Local cloud retail](https://cloud.google.com/solutions/retail). LOCAL_CLOUD_RETAIL = 12; + + // [Product + // Reviews](https://support.google.com/merchants/answer/14620732). + PRODUCT_REVIEWS = 15; + + // [Merchant + // Reviews](https://developers.google.com/merchant-review-feeds). + MERCHANT_REVIEWS = 16; + + // YouTube Checkout + // . + YOUTUBE_CHECKOUT = 17; } }