Skip to content

Commit

Permalink
chore: migrate java-billingbudgets to the Java microgenerator
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 346132901
  • Loading branch information
Google APIs authored and Copybara-Service committed Dec 7, 2020
1 parent bd42e00 commit 61771ac
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
11 changes: 5 additions & 6 deletions google/cloud/billing/budgets/v1/BUILD.bazel
Expand Up @@ -46,12 +46,13 @@ proto_library_with_info(

##############################################################################
# Java
# DO NOT OVERRIDE this Java microgenerator section with autogenerated rules.
##############################################################################
load(
"@com_google_googleapis_imports//:imports.bzl",
"java_gapic_assembly_gradle_pkg",
"java_gapic_library",
"java_gapic_test",
java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg2",
java_gapic_library = "java_gapic_library2",
java_gapic_test = "java_gapic_test2",
"java_grpc_library",
"java_proto_library",
)
Expand All @@ -69,11 +70,9 @@ java_grpc_library(

java_gapic_library(
name = "budgets_java_gapic",
src = ":budgets_proto_with_info",
gapic_yaml = "billingbudget_gapic.yaml",
srcs = [":budgets_proto_with_info"],
grpc_service_config = "billingbudgets_grpc_service_config.json",
package = "google.cloud.billing.budgets.v1",
service_yaml = "billingbudgets.yaml",
test_deps = [
":budgets_java_grpc",
],
Expand Down
2 changes: 0 additions & 2 deletions google/cloud/billing/budgets/v1/billingbudget_gapic.yaml
Expand Up @@ -2,8 +2,6 @@ type: com.google.api.codegen.ConfigProto
config_schema_version: 2.0.0
# The settings of generated code in a specific language.
language_settings:
java:
package_name: com.google.cloud.billing.budgets.v1
python:
package_name: google.cloud.billing_budgets_v1.gapic
go:
Expand Down
10 changes: 4 additions & 6 deletions google/cloud/billing/budgets/v1beta1/BUILD.bazel
Expand Up @@ -23,9 +23,9 @@ load(
"go_gapic_library",
"go_proto_library",
"go_test",
"java_gapic_assembly_gradle_pkg",
"java_gapic_library",
"java_gapic_test",
java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg2",
java_gapic_library = "java_gapic_library2",
java_gapic_test = "java_gapic_test2",
"java_grpc_library",
"java_proto_library",
"moved_proto_library",
Expand Down Expand Up @@ -88,11 +88,9 @@ java_grpc_library(

java_gapic_library(
name = "budgets_java_gapic",
src = ":budgets_proto_with_info",
gapic_yaml = "billingbudgets_gapic.yaml",
srcs = [":budgets_proto_with_info"],
grpc_service_config = "billingbudgets_grpc_service_config.json",
package = "google.cloud.billing.budgets.v1beta1",
service_yaml = "billingbudgets.yaml",
test_deps = [
":budgets_java_grpc",
],
Expand Down
Expand Up @@ -2,8 +2,6 @@ type: com.google.api.codegen.ConfigProto
config_schema_version: 2.0.0
# The settings of generated code in a specific language.
language_settings:
java:
package_name: com.google.cloud.billing.budgets.v1beta1
python:
package_name: google.cloud.billing_budgets_v1beta1.gapic
go:
Expand Down

0 comments on commit 61771ac

Please sign in to comment.