BUILD.bazel 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. # This file was automatically generated by BuildFileGenerator
  2. # This is an API workspace, having public visibility by default makes perfect sense.
  3. package(default_visibility = ["//visibility:public"])
  4. ##############################################################################
  5. # Common
  6. ##############################################################################
  7. load("@rules_proto//proto:defs.bzl", "proto_library")
  8. proto_library(
  9. name = "schema_proto",
  10. srcs = [
  11. "annotation_payload.proto",
  12. "annotation_spec_color.proto",
  13. "data_item_payload.proto",
  14. "dataset_metadata.proto",
  15. "geometry.proto",
  16. ],
  17. deps = [
  18. "//google/api:annotations_proto",
  19. "//google/api:field_behavior_proto",
  20. "//google/type:color_proto",
  21. "@com_google_protobuf//:duration_proto",
  22. "@com_google_protobuf//:struct_proto",
  23. "@com_google_protobuf//:wrappers_proto",
  24. ],
  25. )
  26. ##############################################################################
  27. # Java
  28. ##############################################################################
  29. load(
  30. "@com_google_googleapis_imports//:imports.bzl",
  31. "java_grpc_library",
  32. "java_proto_library",
  33. )
  34. java_proto_library(
  35. name = "schema_java_proto",
  36. deps = [":schema_proto"],
  37. )
  38. java_grpc_library(
  39. name = "schema_java_grpc",
  40. srcs = [":schema_proto"],
  41. deps = [":schema_java_proto"],
  42. )
  43. ##############################################################################
  44. # Go
  45. ##############################################################################
  46. load(
  47. "@com_google_googleapis_imports//:imports.bzl",
  48. "go_proto_library",
  49. )
  50. go_proto_library(
  51. name = "schema_go_proto",
  52. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  53. importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema",
  54. protos = [":schema_proto"],
  55. deps = [
  56. "//google/api:annotations_go_proto",
  57. "//google/type:color_go_proto",
  58. ],
  59. )
  60. ##############################################################################
  61. # Python
  62. ##############################################################################
  63. load(
  64. "@com_google_googleapis_imports//:imports.bzl",
  65. "moved_proto_library",
  66. "py_grpc_library",
  67. "py_proto_library",
  68. )
  69. moved_proto_library(
  70. name = "schema_moved_proto",
  71. srcs = [":schema_proto"],
  72. deps = [
  73. "//google/api:annotations_proto",
  74. "//google/api:field_behavior_proto",
  75. "//google/type:color_proto",
  76. "@com_google_protobuf//:duration_proto",
  77. "@com_google_protobuf//:struct_proto",
  78. "@com_google_protobuf//:wrappers_proto",
  79. ],
  80. )
  81. py_proto_library(
  82. name = "schema_py_proto",
  83. deps = [":schema_moved_proto"],
  84. )
  85. py_grpc_library(
  86. name = "schema_py_grpc",
  87. srcs = [":schema_moved_proto"],
  88. deps = [":schema_py_proto"],
  89. )
  90. ##############################################################################
  91. # PHP
  92. ##############################################################################
  93. load(
  94. "@com_google_googleapis_imports//:imports.bzl",
  95. "php_grpc_library",
  96. "php_proto_library",
  97. )
  98. php_proto_library(
  99. name = "schema_php_proto",
  100. deps = [":schema_proto"],
  101. )
  102. php_grpc_library(
  103. name = "schema_php_grpc",
  104. srcs = [":schema_proto"],
  105. deps = [":schema_php_proto"],
  106. )
  107. ##############################################################################
  108. # Node.js
  109. ##############################################################################
  110. load(
  111. "@com_google_googleapis_imports//:imports.bzl",
  112. "nodejs_gapic_assembly_pkg",
  113. "nodejs_gapic_library",
  114. )
  115. ##############################################################################
  116. # Ruby
  117. ##############################################################################
  118. load(
  119. "@com_google_googleapis_imports//:imports.bzl",
  120. "ruby_grpc_library",
  121. "ruby_proto_library",
  122. )
  123. ruby_proto_library(
  124. name = "schema_ruby_proto",
  125. deps = [":schema_proto"],
  126. )
  127. ruby_grpc_library(
  128. name = "schema_ruby_grpc",
  129. srcs = [":schema_proto"],
  130. deps = [":schema_ruby_proto"],
  131. )
  132. ##############################################################################
  133. # C#
  134. ##############################################################################
  135. load(
  136. "@com_google_googleapis_imports//:imports.bzl",
  137. "csharp_grpc_library",
  138. "csharp_proto_library",
  139. )
  140. csharp_proto_library(
  141. name = "schema_csharp_proto",
  142. deps = [":schema_proto"],
  143. )
  144. csharp_grpc_library(
  145. name = "schema_csharp_grpc",
  146. srcs = [":schema_proto"],
  147. deps = [":schema_csharp_proto"],
  148. )
  149. ##############################################################################
  150. # C++
  151. ##############################################################################
  152. # Put your C++ code here