diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequest.java index 3d36f29a..1cd570e0 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequest.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequest.java @@ -308,7 +308,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -334,7 +334,7 @@ public com.google.protobuf.ProtocolStringList getPlaceIdsList() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -360,7 +360,7 @@ public int getPlaceIdsCount() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -387,7 +387,7 @@ public java.lang.String getPlaceIds(int index) { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1230,7 +1230,7 @@ private void ensurePlaceIdsIsMutable() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1256,7 +1256,7 @@ public com.google.protobuf.ProtocolStringList getPlaceIdsList() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1282,7 +1282,7 @@ public int getPlaceIdsCount() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1309,7 +1309,7 @@ public java.lang.String getPlaceIds(int index) { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1336,7 +1336,7 @@ public com.google.protobuf.ByteString getPlaceIdsBytes(int index) { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1370,7 +1370,7 @@ public Builder setPlaceIds(int index, java.lang.String value) { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1403,7 +1403,7 @@ public Builder addPlaceIds(java.lang.String value) { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1433,7 +1433,7 @@ public Builder addAllPlaceIds(java.lang.Iterable values) { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -1462,7 +1462,7 @@ public Builder clearPlaceIds() { * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequestOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequestOrBuilder.java index 0fe45819..b357332f 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequestOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequestOrBuilder.java @@ -127,7 +127,7 @@ public interface AddFulfillmentPlacesRequestOrBuilder * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -151,7 +151,7 @@ public interface AddFulfillmentPlacesRequestOrBuilder * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -175,7 +175,7 @@ public interface AddFulfillmentPlacesRequestOrBuilder * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after @@ -200,7 +200,7 @@ public interface AddFulfillmentPlacesRequestOrBuilder * IDs will be automatically ignored. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * If the total number of place IDs exceeds 2000 for this * [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java index c76c0b7b..68e90d39 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java @@ -419,13 +419,13 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { *
    * The device type context for completion suggestions.
    * It is useful to apply different suggestions on different device types, e.g.
-   * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+   * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
    * types.
    * Supported formats:
-   * * UNKNOWN_DEVICE_TYPE
-   * * DESKTOP
-   * * MOBILE
-   * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+   * * `UNKNOWN_DEVICE_TYPE`
+   * * `DESKTOP`
+   * * `MOBILE`
+   * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
    * 
* * string device_type = 4; @@ -450,13 +450,13 @@ public java.lang.String getDeviceType() { *
    * The device type context for completion suggestions.
    * It is useful to apply different suggestions on different device types, e.g.
-   * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+   * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
    * types.
    * Supported formats:
-   * * UNKNOWN_DEVICE_TYPE
-   * * DESKTOP
-   * * MOBILE
-   * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+   * * `UNKNOWN_DEVICE_TYPE`
+   * * `DESKTOP`
+   * * `MOBILE`
+   * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
    * 
* * string device_type = 4; @@ -1584,13 +1584,13 @@ public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { *
      * The device type context for completion suggestions.
      * It is useful to apply different suggestions on different device types, e.g.
-     * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+     * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
      * types.
      * Supported formats:
-     * * UNKNOWN_DEVICE_TYPE
-     * * DESKTOP
-     * * MOBILE
-     * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+     * * `UNKNOWN_DEVICE_TYPE`
+     * * `DESKTOP`
+     * * `MOBILE`
+     * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
      * 
* * string device_type = 4; @@ -1614,13 +1614,13 @@ public java.lang.String getDeviceType() { *
      * The device type context for completion suggestions.
      * It is useful to apply different suggestions on different device types, e.g.
-     * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+     * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
      * types.
      * Supported formats:
-     * * UNKNOWN_DEVICE_TYPE
-     * * DESKTOP
-     * * MOBILE
-     * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+     * * `UNKNOWN_DEVICE_TYPE`
+     * * `DESKTOP`
+     * * `MOBILE`
+     * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
      * 
* * string device_type = 4; @@ -1644,13 +1644,13 @@ public com.google.protobuf.ByteString getDeviceTypeBytes() { *
      * The device type context for completion suggestions.
      * It is useful to apply different suggestions on different device types, e.g.
-     * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+     * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
      * types.
      * Supported formats:
-     * * UNKNOWN_DEVICE_TYPE
-     * * DESKTOP
-     * * MOBILE
-     * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+     * * `UNKNOWN_DEVICE_TYPE`
+     * * `DESKTOP`
+     * * `MOBILE`
+     * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
      * 
* * string device_type = 4; @@ -1673,13 +1673,13 @@ public Builder setDeviceType(java.lang.String value) { *
      * The device type context for completion suggestions.
      * It is useful to apply different suggestions on different device types, e.g.
-     * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+     * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
      * types.
      * Supported formats:
-     * * UNKNOWN_DEVICE_TYPE
-     * * DESKTOP
-     * * MOBILE
-     * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+     * * `UNKNOWN_DEVICE_TYPE`
+     * * `DESKTOP`
+     * * `MOBILE`
+     * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
      * 
* * string device_type = 4; @@ -1698,13 +1698,13 @@ public Builder clearDeviceType() { *
      * The device type context for completion suggestions.
      * It is useful to apply different suggestions on different device types, e.g.
-     * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+     * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
      * types.
      * Supported formats:
-     * * UNKNOWN_DEVICE_TYPE
-     * * DESKTOP
-     * * MOBILE
-     * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+     * * `UNKNOWN_DEVICE_TYPE`
+     * * `DESKTOP`
+     * * `MOBILE`
+     * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
      * 
* * string device_type = 4; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java index d2ad4899..e83dbef6 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java @@ -195,13 +195,13 @@ public interface CompleteQueryRequestOrBuilder *
    * The device type context for completion suggestions.
    * It is useful to apply different suggestions on different device types, e.g.
-   * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+   * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
    * types.
    * Supported formats:
-   * * UNKNOWN_DEVICE_TYPE
-   * * DESKTOP
-   * * MOBILE
-   * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+   * * `UNKNOWN_DEVICE_TYPE`
+   * * `DESKTOP`
+   * * `MOBILE`
+   * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
    * 
* * string device_type = 4; @@ -215,13 +215,13 @@ public interface CompleteQueryRequestOrBuilder *
    * The device type context for completion suggestions.
    * It is useful to apply different suggestions on different device types, e.g.
-   * DESKTOP, MOBILE. If it is empty, the suggestions are across all device
+   * `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
    * types.
    * Supported formats:
-   * * UNKNOWN_DEVICE_TYPE
-   * * DESKTOP
-   * * MOBILE
-   * * A customized string starts with OTHER_, e.g. OTHER_IPHONE.
+   * * `UNKNOWN_DEVICE_TYPE`
+   * * `DESKTOP`
+   * * `MOBILE`
+   * * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
    * 
* * string device_type = 4; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfo.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfo.java index 0f8ad245..075da3e2 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfo.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfo.java @@ -216,8 +216,9 @@ public com.google.protobuf.ByteString getTypeBytes() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -237,8 +238,9 @@ public com.google.protobuf.ProtocolStringList getPlaceIdsList() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -258,8 +260,9 @@ public int getPlaceIdsCount() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -280,8 +283,9 @@ public java.lang.String getPlaceIds(int index) { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -841,8 +845,9 @@ private void ensurePlaceIdsIsMutable() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -862,8 +867,9 @@ public com.google.protobuf.ProtocolStringList getPlaceIdsList() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -883,8 +889,9 @@ public int getPlaceIdsCount() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -905,8 +912,9 @@ public java.lang.String getPlaceIds(int index) { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -927,8 +935,9 @@ public com.google.protobuf.ByteString getPlaceIdsBytes(int index) { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -956,8 +965,9 @@ public Builder setPlaceIds(int index, java.lang.String value) { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -984,8 +994,9 @@ public Builder addPlaceIds(java.lang.String value) { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -1009,8 +1020,9 @@ public Builder addAllPlaceIds(java.lang.Iterable values) { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -1033,8 +1045,9 @@ public Builder clearPlaceIds() { * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfoOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfoOrBuilder.java index d77a4c5e..0ad39c18 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfoOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfoOrBuilder.java @@ -86,8 +86,9 @@ public interface FulfillmentInfoOrBuilder * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -105,8 +106,9 @@ public interface FulfillmentInfoOrBuilder * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -124,8 +126,9 @@ public interface FulfillmentInfoOrBuilder * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; @@ -144,8 +147,9 @@ public interface FulfillmentInfoOrBuilder * or the region IDs for * [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. * A maximum of 3000 values are allowed. Each value must be a string with a - * length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - * "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + * length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + * as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + * returned. * * * repeated string place_ids = 2; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java index 9448a206..349cbf57 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java @@ -429,7 +429,7 @@ public com.google.protobuf.ByteString getParentBytes() { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -459,7 +459,7 @@ public java.lang.String getRequestId() { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -1336,7 +1336,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -1365,7 +1365,7 @@ public java.lang.String getRequestId() { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -1394,7 +1394,7 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -1422,7 +1422,7 @@ public Builder setRequestId(java.lang.String value) { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -1446,7 +1446,7 @@ public Builder clearRequestId() { * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequestOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequestOrBuilder.java index e13812be..b4b6a13c 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequestOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequestOrBuilder.java @@ -65,7 +65,7 @@ public interface ImportProductsRequestOrBuilder * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] @@ -84,7 +84,7 @@ public interface ImportProductsRequestOrBuilder * Unique identifier provided by client, within the ancestor * dataset scope. Ensures idempotency and used for request deduplication. * Server-generated if unspecified. Up to 128 characters long and must match - * the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + * the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in * [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. * Only supported when * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2.ImportProductsRequest.reconciliation_mode] diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java index 93d9ae99..9b92e0e7 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java @@ -2064,7 +2064,7 @@ public int getAttributesCount() { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -2105,7 +2105,7 @@ public boolean containsAttributes(java.lang.String key) { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -2137,7 +2137,7 @@ public boolean containsAttributes(java.lang.String key) { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -2174,7 +2174,7 @@ public com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7675,7 +7675,7 @@ public int getAttributesCount() { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7716,7 +7716,7 @@ public boolean containsAttributes(java.lang.String key) { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7748,7 +7748,7 @@ public boolean containsAttributes(java.lang.String key) { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7785,7 +7785,7 @@ public com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7829,7 +7829,7 @@ public Builder clearAttributes() { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7869,7 +7869,7 @@ public Builder removeAttributes(java.lang.String key) { * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -7907,7 +7907,7 @@ public Builder putAttributes( * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java index e905cbb3..33b8c204 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java @@ -810,7 +810,7 @@ public interface ProductOrBuilder * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -838,7 +838,7 @@ public interface ProductOrBuilder * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -869,7 +869,7 @@ public interface ProductOrBuilder * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -897,7 +897,7 @@ public interface ProductOrBuilder * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; @@ -926,7 +926,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. * * For indexable attribute, the key must match the pattern: - * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + * `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * * * map<string, .google.cloud.retail.v2.CustomAttribute> attributes = 12; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Promotion.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Promotion.java index 879bb73d..59cb75ed 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Promotion.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Promotion.java @@ -119,7 +119,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * ID of the promotion. For example, "free gift".
    * The value value must be a UTF-8 encoded string with a length limit of 128
-   * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+   * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
    * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
    * returned.
    * Google Merchant Center property
@@ -148,7 +148,7 @@ public java.lang.String getPromotionId() {
    * 
    * ID of the promotion. For example, "free gift".
    * The value value must be a UTF-8 encoded string with a length limit of 128
-   * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+   * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
    * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
    * returned.
    * Google Merchant Center property
@@ -492,7 +492,7 @@ public Builder mergeFrom(
      * 
      * ID of the promotion. For example, "free gift".
      * The value value must be a UTF-8 encoded string with a length limit of 128
-     * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+     * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
      * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
      * returned.
      * Google Merchant Center property
@@ -520,7 +520,7 @@ public java.lang.String getPromotionId() {
      * 
      * ID of the promotion. For example, "free gift".
      * The value value must be a UTF-8 encoded string with a length limit of 128
-     * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+     * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
      * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
      * returned.
      * Google Merchant Center property
@@ -548,7 +548,7 @@ public com.google.protobuf.ByteString getPromotionIdBytes() {
      * 
      * ID of the promotion. For example, "free gift".
      * The value value must be a UTF-8 encoded string with a length limit of 128
-     * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+     * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
      * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
      * returned.
      * Google Merchant Center property
@@ -575,7 +575,7 @@ public Builder setPromotionId(java.lang.String value) {
      * 
      * ID of the promotion. For example, "free gift".
      * The value value must be a UTF-8 encoded string with a length limit of 128
-     * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+     * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
      * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
      * returned.
      * Google Merchant Center property
@@ -598,7 +598,7 @@ public Builder clearPromotionId() {
      * 
      * ID of the promotion. For example, "free gift".
      * The value value must be a UTF-8 encoded string with a length limit of 128
-     * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+     * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
      * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
      * returned.
      * Google Merchant Center property
diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PromotionOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PromotionOrBuilder.java
index 5ae35872..e4aa8cdc 100644
--- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PromotionOrBuilder.java
+++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PromotionOrBuilder.java
@@ -29,7 +29,7 @@ public interface PromotionOrBuilder
    * 
    * ID of the promotion. For example, "free gift".
    * The value value must be a UTF-8 encoded string with a length limit of 128
-   * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+   * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
    * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
    * returned.
    * Google Merchant Center property
@@ -47,7 +47,7 @@ public interface PromotionOrBuilder
    * 
    * ID of the promotion. For example, "free gift".
    * The value value must be a UTF-8 encoded string with a length limit of 128
-   * characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example,
+   * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
    * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
    * returned.
    * Google Merchant Center property
diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequest.java
index 70b00d8b..b725c088 100644
--- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequest.java
+++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequest.java
@@ -308,7 +308,7 @@ public com.google.protobuf.ByteString getTypeBytes() {
    * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type].
    * At least 1 value is required, and a maximum of 2000 values are allowed.
    * Each value must be a string with a length limit of 10 characters, matching
-   * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an
+   * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
    * INVALID_ARGUMENT error is returned.
    * 
* @@ -330,7 +330,7 @@ public com.google.protobuf.ProtocolStringList getPlaceIdsList() { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -352,7 +352,7 @@ public int getPlaceIdsCount() { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -375,7 +375,7 @@ public java.lang.String getPlaceIds(int index) { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -1214,7 +1214,7 @@ private void ensurePlaceIdsIsMutable() { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -1236,7 +1236,7 @@ public com.google.protobuf.ProtocolStringList getPlaceIdsList() { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -1258,7 +1258,7 @@ public int getPlaceIdsCount() { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -1281,7 +1281,7 @@ public java.lang.String getPlaceIds(int index) { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -1304,7 +1304,7 @@ public com.google.protobuf.ByteString getPlaceIdsBytes(int index) { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. *
* @@ -1334,7 +1334,7 @@ public Builder setPlaceIds(int index, java.lang.String value) { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * @@ -1363,7 +1363,7 @@ public Builder addPlaceIds(java.lang.String value) { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * @@ -1389,7 +1389,7 @@ public Builder addAllPlaceIds(java.lang.Iterable values) { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * @@ -1414,7 +1414,7 @@ public Builder clearPlaceIds() { * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequestOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequestOrBuilder.java index cfbe4a78..8df880a2 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequestOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequestOrBuilder.java @@ -126,7 +126,7 @@ public interface RemoveFulfillmentPlacesRequestOrBuilder * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * @@ -146,7 +146,7 @@ public interface RemoveFulfillmentPlacesRequestOrBuilder * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * @@ -166,7 +166,7 @@ public interface RemoveFulfillmentPlacesRequestOrBuilder * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * @@ -187,7 +187,7 @@ public interface RemoveFulfillmentPlacesRequestOrBuilder * [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type]. * At least 1 value is required, and a maximum of 2000 values are allowed. * Each value must be a string with a length limit of 10 characters, matching - * the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + * the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an * INVALID_ARGUMENT error is returned. * * diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/common.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/common.proto index 157d22aa..440a6af3 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/common.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/common.proto @@ -173,8 +173,9 @@ message FulfillmentInfo { // [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2.FulfillmentInfo.type]. // // A maximum of 3000 values are allowed. Each value must be a string with a - // length limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as - // "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. + // length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such + // as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + // returned. repeated string place_ids = 2; } @@ -414,7 +415,7 @@ message Promotion { // ID of the promotion. For example, "free gift". // // The value value must be a UTF-8 encoded string with a length limit of 128 - // characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, + // characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example, // id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is // returned. // diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/completion_service.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/completion_service.proto index c18d67d6..f17db9fa 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/completion_service.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/completion_service.proto @@ -110,18 +110,18 @@ message CompleteQueryRequest { // The device type context for completion suggestions. // It is useful to apply different suggestions on different device types, e.g. - // DESKTOP, MOBILE. If it is empty, the suggestions are across all device + // `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device // types. // // Supported formats: // - // * UNKNOWN_DEVICE_TYPE + // * `UNKNOWN_DEVICE_TYPE` // - // * DESKTOP + // * `DESKTOP` // - // * MOBILE + // * `MOBILE` // - // * A customized string starts with OTHER_, e.g. OTHER_IPHONE. + // * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`. string device_type = 4; // Determines which dataset to use for fetching completion. "user-data" will diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/import_config.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/import_config.proto index 25170d4c..977e9e97 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/import_config.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/import_config.proto @@ -183,7 +183,7 @@ message ImportProductsRequest { // Unique identifier provided by client, within the ancestor // dataset scope. Ensures idempotency and used for request deduplication. // Server-generated if unspecified. Up to 128 characters long and must match - // the pattern: "[a-zA-Z0-9_]+". This is returned as [Operation.name][] in + // the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in // [ImportMetadata][google.cloud.retail.v2.ImportMetadata]. // // Only supported when diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product.proto index 545cc99c..4d8f10a7 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product.proto @@ -320,7 +320,7 @@ message Product { // * The key must be a UTF-8 encoded string with a length limit of 128 // characters. // * For indexable attribute, the key must match the pattern: - // [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. + // `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS. map attributes = 12; // Custom tags associated with the product. diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto index 03c5a752..b285eb4a 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto @@ -536,7 +536,7 @@ message AddFulfillmentPlacesRequest { // // At least 1 value is required, and a maximum of 2000 values are allowed. // Each value must be a string with a length limit of 10 characters, matching - // the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + // the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an // INVALID_ARGUMENT error is returned. // // If the total number of place IDs exceeds 2000 for this @@ -611,7 +611,7 @@ message RemoveFulfillmentPlacesRequest { // // At least 1 value is required, and a maximum of 2000 values are allowed. // Each value must be a string with a length limit of 10 characters, matching - // the pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an + // the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an // INVALID_ARGUMENT error is returned. repeated string place_ids = 3 [(google.api.field_behavior) = REQUIRED];