File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,12 @@ case "${proto_path}" in
182
182
removed_proto=" google/rpc/http.proto"
183
183
proto_files=" ${proto_files// ${removed_proto} / } "
184
184
;;
185
+ " google/shopping" * )
186
+ # this proto is included in //google/shopping/css/v1:google-cloud-shopping-css-v1-java
187
+ # and //google/shopping/merchant/inventories/v1beta:google-cloud-merchant-inventories-v1beta-java
188
+ # and //google/shopping/merchant/reports/v1beta:google-cloud-merchant-reports-v1beta-java
189
+ proto_files=" ${proto_files} google/shopping/type/types.proto"
190
+ ;;
185
191
esac
186
192
# download gapic-generator-java, protobuf and grpc plugin.
187
193
download_tools " ${gapic_generator_version} " " ${protobuf_version} " " ${grpc_version} " " ${os_architecture} "
@@ -285,7 +291,8 @@ case "${proto_path}" in
285
291
esac
286
292
# copy proto files to proto-*/src/main/proto
287
293
for proto_src in ${proto_files} ; do
288
- if [[ " ${proto_src} " == " google/cloud/common/operation_metadata.proto" ]]; then
294
+ if [[ " ${proto_src} " == " google/cloud/common/operation_metadata.proto" ]] ||
295
+ [[ " ${proto_src} " == " google/shopping/type/types.proto" ]]; then
289
296
continue
290
297
fi
291
298
mkdir -p " ${temp_destination_path} /proto-${folder_name} /src/main/proto"
You can’t perform that action at this time.
0 commit comments