Skip to content

Commit 6d0a96c

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate aiplatform to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 365165940
1 parent d370911 commit 6d0a96c

13 files changed

Lines changed: 46 additions & 46 deletions

File tree

google/cloud/aiplatform/logging/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ py_grpc_library(
8888

8989
##############################################################################
9090
# PHP
91+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
9192
##############################################################################
9293
load(
9394
"@com_google_googleapis_imports//:imports.bzl",
94-
"php_grpc_library",
95-
"php_proto_library",
95+
php_grpc_library = "php_grpc_library2",
96+
php_proto_library = "php_proto_library2",
9697
)
9798

9899
php_proto_library(

google/cloud/aiplatform/v1/BUILD.bazel

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ java_proto_library(
124124
java_grpc_library(
125125
name = "aiplatform_java_grpc",
126126
srcs = [":aiplatform_proto"],
127-
deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS,
127+
deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS,
128128
)
129129

130130
java_gapic_library(
@@ -133,10 +133,10 @@ java_gapic_library(
133133
grpc_service_config = "aiplatform_grpc_service_config.json",
134134
test_deps = [
135135
":aiplatform_java_grpc",
136-
] + _JAVA_PROTO_SUBPACKAGE_DEPS,
136+
] + _JAVA_PROTO_SUBPACKAGE_DEPS,
137137
deps = [
138138
":aiplatform_java_proto",
139-
] + _JAVA_PROTO_SUBPACKAGE_DEPS,
139+
] + _JAVA_PROTO_SUBPACKAGE_DEPS,
140140
)
141141

142142
java_gapic_test(
@@ -238,7 +238,6 @@ _PY_GAPIC_SUBPACKAGE_DEPS = [
238238
"//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_py_gapic",
239239
]
240240

241-
242241
py_gapic_library(
243242
name = "aiplatform_py_gapic",
244243
srcs = [":aiplatform_proto"],
@@ -255,13 +254,14 @@ py_gapic_assembly_pkg(
255254

256255
##############################################################################
257256
# PHP
257+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
258258
##############################################################################
259259
load(
260260
"@com_google_googleapis_imports//:imports.bzl",
261-
"php_gapic_assembly_pkg",
262-
"php_gapic_library",
263-
"php_grpc_library",
264-
"php_proto_library",
261+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
262+
php_gapic_library = "php_gapic_library2",
263+
php_grpc_library = "php_grpc_library2",
264+
php_proto_library = "php_proto_library2",
265265
)
266266

267267
php_proto_library(
@@ -277,11 +277,8 @@ php_grpc_library(
277277

278278
php_gapic_library(
279279
name = "aiplatform_php_gapic",
280-
src = ":aiplatform_proto_with_info",
281-
gapic_yaml = "aiplatform_gapic.yaml",
280+
srcs = [":aiplatform_proto_with_info"],
282281
grpc_service_config = "aiplatform_grpc_service_config.json",
283-
package = "google.cloud.aiplatform.v1",
284-
service_yaml = "aiplatform_v1.yaml",
285282
deps = [
286283
":aiplatform_php_grpc",
287284
":aiplatform_php_proto",
@@ -323,7 +320,7 @@ nodejs_gapic_assembly_pkg(
323320
deps = [
324321
":aiplatform_nodejs_gapic",
325322
":aiplatform_proto",
326-
] + _PROTO_SUBPACKAGE_DEPS,
323+
] + _PROTO_SUBPACKAGE_DEPS,
327324
)
328325

329326
##############################################################################

google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ py_gapic_assembly_pkg(
115115

116116
##############################################################################
117117
# PHP
118+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
118119
##############################################################################
119120
load(
120121
"@com_google_googleapis_imports//:imports.bzl",
121-
"php_grpc_library",
122-
"php_proto_library",
122+
php_grpc_library = "php_grpc_library2",
123+
php_proto_library = "php_proto_library2",
123124
)
124125

125126
php_proto_library(

google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ py_gapic_assembly_pkg(
112112

113113
##############################################################################
114114
# PHP
115+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
115116
##############################################################################
116117
load(
117118
"@com_google_googleapis_imports//:imports.bzl",
118-
"php_grpc_library",
119-
"php_proto_library",
119+
php_grpc_library = "php_grpc_library2",
120+
php_proto_library = "php_proto_library2",
120121
)
121122

122123
php_proto_library(

google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,12 @@ py_gapic_assembly_pkg(
124124

125125
##############################################################################
126126
# PHP
127+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
127128
##############################################################################
128129
load(
129130
"@com_google_googleapis_imports//:imports.bzl",
130-
"php_grpc_library",
131-
"php_proto_library",
131+
php_grpc_library = "php_grpc_library2",
132+
php_proto_library = "php_proto_library2",
132133
)
133134

134135
php_proto_library(

google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,12 @@ py_gapic_assembly_pkg(
117117

118118
##############################################################################
119119
# PHP
120+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
120121
##############################################################################
121122
load(
122123
"@com_google_googleapis_imports//:imports.bzl",
123-
"php_grpc_library",
124-
"php_proto_library",
124+
php_grpc_library = "php_grpc_library2",
125+
php_proto_library = "php_proto_library2",
125126
)
126127

127128
php_proto_library(

google/cloud/aiplatform/v1beta1/BUILD.bazel

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,14 @@ py_gapic_assembly_pkg(
251251

252252
##############################################################################
253253
# PHP
254+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
254255
##############################################################################
255256
load(
256257
"@com_google_googleapis_imports//:imports.bzl",
257-
"php_gapic_assembly_pkg",
258-
"php_gapic_library",
259-
"php_grpc_library",
260-
"php_proto_library",
258+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
259+
php_gapic_library = "php_gapic_library2",
260+
php_grpc_library = "php_grpc_library2",
261+
php_proto_library = "php_proto_library2",
261262
)
262263

263264
php_proto_library(
@@ -273,11 +274,8 @@ php_grpc_library(
273274

274275
php_gapic_library(
275276
name = "aiplatform_php_gapic",
276-
src = ":aiplatform_proto_with_info",
277-
gapic_yaml = "aiplatform_gapic.yaml",
277+
srcs = [":aiplatform_proto_with_info"],
278278
grpc_service_config = "aiplatform_grpc_service_config.json",
279-
package = "google.cloud.aiplatform.v1beta1",
280-
service_yaml = "aiplatform_v1beta1.yaml",
281279
deps = [
282280
":aiplatform_php_grpc",
283281
":aiplatform_php_proto",

google/cloud/aiplatform/v1beta1/schema/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,12 @@ py_grpc_library(
103103

104104
##############################################################################
105105
# PHP
106+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
106107
##############################################################################
107108
load(
108109
"@com_google_googleapis_imports//:imports.bzl",
109-
"php_grpc_library",
110-
"php_proto_library",
110+
php_grpc_library = "php_grpc_library2",
111+
php_proto_library = "php_proto_library2",
111112
)
112113

113114
php_proto_library(

google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ py_gapic_assembly_pkg(
115115

116116
##############################################################################
117117
# PHP
118+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
118119
##############################################################################
119120
load(
120121
"@com_google_googleapis_imports//:imports.bzl",
121-
"php_grpc_library",
122-
"php_proto_library",
122+
php_grpc_library = "php_grpc_library2",
123+
php_proto_library = "php_proto_library2",
123124
)
124125

125126
php_proto_library(

google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ py_gapic_assembly_pkg(
112112

113113
##############################################################################
114114
# PHP
115+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
115116
##############################################################################
116117
load(
117118
"@com_google_googleapis_imports//:imports.bzl",
118-
"php_grpc_library",
119-
"php_proto_library",
119+
php_grpc_library = "php_grpc_library2",
120+
php_proto_library = "php_proto_library2",
120121
)
121122

122123
php_proto_library(

0 commit comments

Comments
 (0)