# This file was automatically generated by BuildFileGenerator # This is an API workspace, having public visibility by default makes perfect sense. package(default_visibility = ["//visibility:public"]) ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") proto_library( name = "instance_proto", srcs = [ "image_classification.proto", "image_object_detection.proto", "image_segmentation.proto", "text_classification.proto", "text_extraction.proto", "text_sentiment.proto", "video_action_recognition.proto", "video_classification.proto", "video_object_tracking.proto", ], deps = [ "//google/api:annotations_proto", ], ) ############################################################################## # Java ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "java_grpc_library", "java_proto_library", ) java_proto_library( name = "instance_java_proto", deps = [":instance_proto"], ) java_grpc_library( name = "instance_java_grpc", srcs = [":instance_proto"], deps = [":instance_java_proto"], ) ############################################################################## # Go ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", ) go_proto_library( name = "instance_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance", protos = [":instance_proto"], deps = [ "//google/api:annotations_go_proto", ], ) ############################################################################## # Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "moved_proto_library", "py_gapic_assembly_pkg", "py_gapic_library", "py_grpc_library", "py_proto_library", ) moved_proto_library( name = "instance_moved_proto", srcs = [":instance_proto"], deps = [ "//google/api:annotations_proto", ], ) py_proto_library( name = "instance_py_proto", deps = [":instance_moved_proto"], ) py_grpc_library( name = "instance_py_grpc", srcs = [":instance_moved_proto"], deps = [":instance_py_proto"], ) py_gapic_library( name = "instance_py_gapic", srcs = [":instance_proto"], opt_args = [ "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", "python-gapic-name=instance", ], transport = "grpc", ) # Open Source Packages py_gapic_assembly_pkg( name = "instance-py", deps = [ ":instance_py_gapic", ], ) #load("@gapic_generator_java//rules_java_gapic:java_gapic.bzl", "java_generator_request_dump") # #java_generator_request_dump( # name = "instance_request_dump", # srcs = [":instance_py_gapic"], # # opt_args = [ # # "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", # # "python-gapic-name=instance", # # ], # transport = "grpc", #) ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "php_grpc_library", "php_proto_library", ) php_proto_library( name = "instance_php_proto", deps = [":instance_proto"], ) php_grpc_library( name = "instance_php_grpc", srcs = [":instance_proto"], deps = [":instance_php_proto"], ) ############################################################################## # Node.js ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "nodejs_gapic_assembly_pkg", "nodejs_gapic_library", ) ############################################################################## # Ruby ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "ruby_grpc_library", "ruby_proto_library", ) ruby_proto_library( name = "instance_ruby_proto", deps = [":instance_proto"], ) ruby_grpc_library( name = "instance_ruby_grpc", srcs = [":instance_proto"], deps = [":instance_ruby_proto"], ) ############################################################################## # C# ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "csharp_grpc_library", "csharp_proto_library", ) csharp_proto_library( name = "instance_csharp_proto", deps = [":instance_proto"], ) csharp_grpc_library( name = "instance_csharp_grpc", srcs = [":instance_proto"], deps = [":instance_csharp_proto"], ) ############################################################################## # C++ ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "cc_grpc_library", "cc_proto_library", ) cc_proto_library( name = "instance_cc_proto", deps = [":instance_proto"], ) cc_grpc_library( name = "instance_cc_grpc", srcs = [":instance_proto"], grpc_only = True, deps = [":instance_cc_proto"], )