Skip to content

Commit a59c57a

Browse files
Google APIscopybara-github
authored andcommitted
build: two new proto files added to the build
PiperOrigin-RevId: 619234796
1 parent db62476 commit a59c57a

3 files changed

Lines changed: 77 additions & 2 deletions

File tree

google/cloud/batch/v1alpha/BUILD.bazel

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,25 @@
99
# * extra_protoc_file_parameters
1010
# The complete list of preserved parameters can be found in the source code.
1111

12+
# buildifier: disable=load-on-top
13+
1214
# This is an API workspace, having public visibility by default makes perfect sense.
1315
package(default_visibility = ["//visibility:public"])
1416

1517
##############################################################################
1618
# Common
1719
##############################################################################
18-
load("@rules_proto//proto:defs.bzl", "proto_library")
20+
# buildifier: disable=same-origin-load
1921
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
22+
load("@rules_proto//proto:defs.bzl", "proto_library")
2023

2124
proto_library(
2225
name = "batch_proto",
2326
srcs = [
2427
"batch.proto",
2528
"job.proto",
29+
"notification.proto",
30+
"resource_allowance.proto",
2631
"task.proto",
2732
"volume.proto",
2833
],
@@ -33,6 +38,7 @@ proto_library(
3338
"//google/api:field_info_proto",
3439
"//google/api:resource_proto",
3540
"//google/longrunning:operations_proto",
41+
"//google/type:interval_proto",
3642
"@com_google_protobuf//:duration_proto",
3743
"@com_google_protobuf//:empty_proto",
3844
"@com_google_protobuf//:timestamp_proto",
@@ -51,6 +57,7 @@ proto_library_with_info(
5157
##############################################################################
5258
# Java
5359
##############################################################################
60+
# buildifier: disable=same-origin-load
5461
load(
5562
"@com_google_googleapis_imports//:imports.bzl",
5663
"java_gapic_assembly_gradle_pkg",
@@ -115,6 +122,7 @@ java_gapic_assembly_gradle_pkg(
115122
##############################################################################
116123
# Go
117124
##############################################################################
125+
# buildifier: disable=same-origin-load
118126
load(
119127
"@com_google_googleapis_imports//:imports.bzl",
120128
"go_gapic_assembly_pkg",
@@ -130,6 +138,7 @@ go_proto_library(
130138
deps = [
131139
"//google/api:annotations_go_proto",
132140
"//google/longrunning:longrunning_go_proto",
141+
"//google/type:interval_go_proto",
133142
],
134143
)
135144

@@ -168,6 +177,7 @@ go_gapic_assembly_pkg(
168177
##############################################################################
169178
# Python
170179
##############################################################################
180+
# buildifier: disable=same-origin-load
171181
load(
172182
"@com_google_googleapis_imports//:imports.bzl",
173183
"py_gapic_assembly_pkg",
@@ -207,6 +217,7 @@ py_gapic_assembly_pkg(
207217
##############################################################################
208218
# PHP
209219
##############################################################################
220+
# buildifier: disable=same-origin-load
210221
load(
211222
"@com_google_googleapis_imports//:imports.bzl",
212223
"php_gapic_assembly_pkg",
@@ -244,6 +255,7 @@ php_gapic_assembly_pkg(
244255
##############################################################################
245256
# Node.js
246257
##############################################################################
258+
# buildifier: disable=same-origin-load
247259
load(
248260
"@com_google_googleapis_imports//:imports.bzl",
249261
"nodejs_gapic_assembly_pkg",
@@ -274,6 +286,7 @@ nodejs_gapic_assembly_pkg(
274286
##############################################################################
275287
# Ruby
276288
##############################################################################
289+
# buildifier: disable=same-origin-load
277290
load(
278291
"@com_google_googleapis_imports//:imports.bzl",
279292
"ruby_cloud_gapic_library",
@@ -326,6 +339,7 @@ ruby_gapic_assembly_pkg(
326339
##############################################################################
327340
# C#
328341
##############################################################################
342+
# buildifier: disable=same-origin-load
329343
load(
330344
"@com_google_googleapis_imports//:imports.bzl",
331345
"csharp_gapic_assembly_pkg",
@@ -336,7 +350,6 @@ load(
336350

337351
csharp_proto_library(
338352
name = "batch_csharp_proto",
339-
extra_opts = [],
340353
deps = [":batch_proto"],
341354
)
342355

@@ -373,6 +386,7 @@ csharp_gapic_assembly_pkg(
373386
##############################################################################
374387
# C++
375388
##############################################################################
389+
# buildifier: disable=same-origin-load
376390
load(
377391
"@com_google_googleapis_imports//:imports.bzl",
378392
"cc_grpc_library",
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright 2023 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.batch.v1alpha;
18+
19+
import "google/api/field_behavior.proto";
20+
21+
option csharp_namespace = "Google.Cloud.Batch.V1Alpha";
22+
option go_package = "cloud.google.com/go/batch/apiv1alpha/batchpb;batchpb";
23+
option java_multiple_files = true;
24+
option java_outer_classname = "NotificationProto";
25+
option java_package = "com.google.cloud.batch.v1alpha";
26+
option objc_class_prefix = "GCB";
27+
option php_namespace = "Google\\Cloud\\Batch\\V1alpha";
28+
option ruby_package = "Google::Cloud::Batch::V1alpha";
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright 2023 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.batch.v1alpha;
18+
19+
import "google/api/field_behavior.proto";
20+
import "google/api/field_info.proto";
21+
import "google/api/resource.proto";
22+
import "google/cloud/batch/v1alpha/notification.proto";
23+
import "google/protobuf/timestamp.proto";
24+
import "google/type/interval.proto";
25+
26+
option csharp_namespace = "Google.Cloud.Batch.V1Alpha";
27+
option go_package = "cloud.google.com/go/batch/apiv1alpha/batchpb;batchpb";
28+
option java_multiple_files = true;
29+
option java_outer_classname = "ResourceAllowanceProto";
30+
option java_package = "com.google.cloud.batch.v1alpha";
31+
option objc_class_prefix = "GCB";
32+
option php_namespace = "Google\\Cloud\\Batch\\V1alpha";
33+
option ruby_package = "Google::Cloud::Batch::V1alpha";

0 commit comments

Comments
 (0)