Skip to content

Commit b08a6a2

Browse files
Google APIscopybara-github
authored andcommitted
feat: Publish BigQuery Analytics Hub API v1beta1 client
PiperOrigin-RevId: 437365521
1 parent 7ee73a3 commit b08a6a2

6 files changed

Lines changed: 1292 additions & 0 deletions

File tree

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
# This file was automatically generated by BuildFileGenerator
2+
3+
# This is an API workspace, having public visibility by default makes perfect sense.
4+
package(default_visibility = ["//visibility:public"])
5+
6+
##############################################################################
7+
# Common
8+
##############################################################################
9+
load("@rules_proto//proto:defs.bzl", "proto_library")
10+
11+
proto_library(
12+
name = "common_proto",
13+
srcs = [
14+
"common.proto",
15+
],
16+
deps = [
17+
],
18+
)
19+
20+
##############################################################################
21+
# Java
22+
##############################################################################
23+
load(
24+
"@com_google_googleapis_imports//:imports.bzl",
25+
"java_grpc_library",
26+
"java_proto_library",
27+
)
28+
29+
java_proto_library(
30+
name = "common_java_proto",
31+
deps = [":common_proto"],
32+
)
33+
34+
java_grpc_library(
35+
name = "common_java_grpc",
36+
srcs = [":common_proto"],
37+
deps = [":common_java_proto"],
38+
)
39+
40+
##############################################################################
41+
# Go
42+
##############################################################################
43+
load(
44+
"@com_google_googleapis_imports//:imports.bzl",
45+
"go_proto_library",
46+
)
47+
48+
go_proto_library(
49+
name = "common_go_proto",
50+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
51+
importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/dataexchange/common",
52+
protos = [":common_proto"],
53+
deps = [
54+
],
55+
)
56+
57+
##############################################################################
58+
# Python
59+
##############################################################################
60+
load(
61+
"@com_google_googleapis_imports//:imports.bzl",
62+
"moved_proto_library",
63+
"py_grpc_library",
64+
"py_proto_library",
65+
)
66+
67+
moved_proto_library(
68+
name = "common_moved_proto",
69+
srcs = [":common_proto"],
70+
deps = [
71+
],
72+
)
73+
74+
py_proto_library(
75+
name = "common_py_proto",
76+
deps = [":common_moved_proto"],
77+
)
78+
79+
py_grpc_library(
80+
name = "common_py_grpc",
81+
srcs = [":common_moved_proto"],
82+
deps = [":common_py_proto"],
83+
)
84+
85+
##############################################################################
86+
# PHP
87+
##############################################################################
88+
load(
89+
"@com_google_googleapis_imports//:imports.bzl",
90+
"php_grpc_library",
91+
"php_proto_library",
92+
)
93+
94+
php_proto_library(
95+
name = "common_php_proto",
96+
deps = [":common_proto"],
97+
)
98+
99+
php_grpc_library(
100+
name = "common_php_grpc",
101+
srcs = [":common_proto"],
102+
deps = [":common_php_proto"],
103+
)
104+
105+
##############################################################################
106+
# Node.js
107+
##############################################################################
108+
load(
109+
"@com_google_googleapis_imports//:imports.bzl",
110+
"nodejs_gapic_assembly_pkg",
111+
"nodejs_gapic_library",
112+
)
113+
114+
##############################################################################
115+
# Ruby
116+
##############################################################################
117+
load(
118+
"@com_google_googleapis_imports//:imports.bzl",
119+
"ruby_grpc_library",
120+
"ruby_proto_library",
121+
)
122+
123+
ruby_proto_library(
124+
name = "common_ruby_proto",
125+
deps = [":common_proto"],
126+
)
127+
128+
ruby_grpc_library(
129+
name = "common_ruby_grpc",
130+
srcs = [":common_proto"],
131+
deps = [":common_ruby_proto"],
132+
)
133+
134+
##############################################################################
135+
# C#
136+
##############################################################################
137+
load(
138+
"@com_google_googleapis_imports//:imports.bzl",
139+
"csharp_grpc_library",
140+
"csharp_proto_library",
141+
)
142+
143+
csharp_proto_library(
144+
name = "common_csharp_proto",
145+
deps = [":common_proto"],
146+
)
147+
148+
csharp_grpc_library(
149+
name = "common_csharp_grpc",
150+
srcs = [":common_proto"],
151+
deps = [":common_csharp_proto"],
152+
)
153+
154+
##############################################################################
155+
# C++
156+
##############################################################################
157+
load(
158+
"@com_google_googleapis_imports//:imports.bzl",
159+
"cc_grpc_library",
160+
"cc_proto_library",
161+
)
162+
163+
cc_proto_library(
164+
name = "common_cc_proto",
165+
deps = [":common_proto"],
166+
)
167+
168+
cc_grpc_library(
169+
name = "common_cc_grpc",
170+
srcs = [":common_proto"],
171+
grpc_only = True,
172+
deps = [":common_cc_proto"],
173+
)
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// Copyright 2022 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.cloud.bigquery.dataexchange.common;
18+
19+
option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/dataexchange/common;common";
20+
option java_multiple_files = true;
21+
option java_outer_classname = "CommonProto";
22+
option java_package = "com.google.cloud.bigquery.dataexchange.common";
23+
24+
// Listing categories.
25+
enum Category {
26+
CATEGORY_UNSPECIFIED = 0;
27+
28+
CATEGORY_OTHERS = 1;
29+
30+
CATEGORY_ADVERTISING_AND_MARKETING = 2;
31+
32+
CATEGORY_COMMERCE = 3;
33+
34+
CATEGORY_CLIMATE_AND_ENVIRONMENT = 4;
35+
36+
CATEGORY_DEMOGRAPHICS = 5;
37+
38+
CATEGORY_ECONOMICS = 6;
39+
40+
CATEGORY_EDUCATION = 7;
41+
42+
CATEGORY_ENERGY = 8;
43+
44+
CATEGORY_FINANCIAL = 9;
45+
46+
CATEGORY_GAMING = 10;
47+
48+
CATEGORY_GEOSPATIAL = 11;
49+
50+
CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12;
51+
52+
CATEGORY_MEDIA = 13;
53+
54+
CATEGORY_PUBLIC_SECTOR = 14;
55+
56+
CATEGORY_RETAIL = 15;
57+
58+
CATEGORY_SPORTS = 16;
59+
60+
CATEGORY_SCIENCE_AND_RESEARCH = 17;
61+
62+
CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18;
63+
64+
CATEGORY_TRAVEL_AND_TOURISM = 19;
65+
}

0 commit comments

Comments
 (0)