Skip to content

Commit

Permalink
fix!: remove Application and Profile services and and related protos,…
Browse files Browse the repository at this point in the history
… enums, and messages

PiperOrigin-RevId: 453241222
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 6, 2022
1 parent d180952 commit 7837470
Show file tree
Hide file tree
Showing 19 changed files with 319 additions and 2,563 deletions.
56 changes: 39 additions & 17 deletions google/cloud/talent/v4beta1/BUILD.bazel
@@ -1,4 +1,13 @@
# This file was automatically generated by BuildFileGenerator
# https://github.com/googleapis/rules_gapic/tree/master/bazel

# Most of the manual changes to this file will be overwritten.
# It's **only** allowed to change the following rule attribute values:
# - names of *_gapic_assembly_* rules
# - certain parameters of *_gapic_library rules, including but not limited to:
# * extra_protoc_parameters
# * extra_protoc_file_parameters
# The complete list of preserved parameters can be found in the source code.

# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])
Expand All @@ -12,8 +21,6 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
proto_library(
name = "talent_proto",
srcs = [
"application.proto",
"application_service.proto",
"batch.proto",
"common.proto",
"company.proto",
Expand All @@ -25,8 +32,6 @@ proto_library(
"histogram.proto",
"job.proto",
"job_service.proto",
"profile.proto",
"profile_service.proto",
"tenant.proto",
"tenant_service.proto",
],
Expand All @@ -37,12 +42,10 @@ proto_library(
"//google/api:resource_proto",
"//google/longrunning:operations_proto",
"//google/rpc:status_proto",
"//google/type:date_proto",
"//google/type:latlng_proto",
"//google/type:money_proto",
"//google/type:postal_address_proto",
"//google/type:timeofday_proto",
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:field_mask_proto",
Expand Down Expand Up @@ -85,24 +88,25 @@ java_grpc_library(
java_gapic_library(
name = "talent_java_gapic",
srcs = [":talent_proto_with_info"],
gapic_yaml = None,
grpc_service_config = "talent_grpc_service_config.json",
service_yaml = "jobs_v4beta1.yaml",
test_deps = [
":talent_java_grpc",
],
deps = [
":talent_java_proto",
"//google/api:api_java_proto",
],
)

java_gapic_test(
name = "talent_java_gapic_test_suite",
test_classes = [
"com.google.cloud.talent.v4beta1.ApplicationServiceClientTest",
"com.google.cloud.talent.v4beta1.CompanyServiceClientTest",
"com.google.cloud.talent.v4beta1.CompletionClientTest",
"com.google.cloud.talent.v4beta1.EventServiceClientTest",
"com.google.cloud.talent.v4beta1.JobServiceClientTest",
"com.google.cloud.talent.v4beta1.ProfileServiceClientTest",
"com.google.cloud.talent.v4beta1.TenantServiceClientTest",
],
runtime_deps = [":talent_java_gapic_test"],
Expand Down Expand Up @@ -139,7 +143,6 @@ go_proto_library(
"//google/api:annotations_go_proto",
"//google/longrunning:longrunning_go_proto",
"//google/rpc:status_go_proto",
"//google/type:date_go_proto",
"//google/type:latlng_go_proto",
"//google/type:money_go_proto",
"//google/type:postaladdress_go_proto",
Expand All @@ -152,13 +155,13 @@ go_gapic_library(
srcs = [":talent_proto_with_info"],
grpc_service_config = "talent_grpc_service_config.json",
importpath = "cloud.google.com/go/talent/apiv4beta1;talent",
service_yaml = "//google/cloud/talent:talent_v4beta1.yaml",
metadata = True,
service_yaml = "jobs_v4beta1.yaml",
deps = [
":talent_go_proto",
"//google/longrunning:longrunning_go_proto",
"@com_google_cloud_go//longrunning:go_default_library",
"@com_google_cloud_go//longrunning/autogen:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
],
)
Expand All @@ -175,6 +178,7 @@ go_gapic_assembly_pkg(
name = "gapi-cloud-talent-v4beta1-go",
deps = [
":talent_go_gapic",
":talent_go_gapic_srcjar-metadata.srcjar",
":talent_go_gapic_srcjar-test.srcjar",
":talent_go_proto",
],
Expand All @@ -193,8 +197,10 @@ py_gapic_library(
name = "talent_py_gapic",
srcs = [":talent_proto"],
grpc_service_config = "talent_grpc_service_config.json",
service_yaml = "jobs_v4beta1.yaml",
)

# Open Source Packages
py_gapic_assembly_pkg(
name = "talent-v4beta1-py",
deps = [
Expand Down Expand Up @@ -262,7 +268,7 @@ nodejs_gapic_library(
grpc_service_config = "talent_grpc_service_config.json",
main_service = "talent",
package = "google.cloud.talent.v4beta1",
service_yaml = "//google/cloud/talent:talent_v4beta1.yaml",
service_yaml = "jobs_v4beta1.yaml",
deps = [],
)

Expand Down Expand Up @@ -300,11 +306,11 @@ ruby_cloud_gapic_library(
name = "talent_ruby_gapic",
srcs = [":talent_proto_with_info"],
extra_protoc_parameters = [
"ruby-cloud-gem-name=google-cloud-talent-v4beta1",
"ruby-cloud-env-prefix=TALENT",
"ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution",
"ruby-cloud-api-id=jobs.googleapis.com",
"ruby-cloud-api-shortname=jobs",
"ruby-cloud-env-prefix=TALENT",
"ruby-cloud-gem-name=google-cloud-talent-v4beta1",
"ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution",
],
grpc_service_config = "talent_grpc_service_config.json",
ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.",
Expand Down Expand Up @@ -352,7 +358,7 @@ csharp_gapic_library(
srcs = [":talent_proto_with_info"],
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
grpc_service_config = "talent_grpc_service_config.json",
service_yaml = "//google/cloud/talent:talent_v4beta1.yaml",
service_yaml = "jobs_v4beta1.yaml",
deps = [
":talent_csharp_grpc",
":talent_csharp_proto",
Expand All @@ -372,4 +378,20 @@ csharp_gapic_assembly_pkg(
##############################################################################
# C++
##############################################################################
# Put your C++ rules here
load(
"@com_google_googleapis_imports//:imports.bzl",
"cc_grpc_library",
"cc_proto_library",
)

cc_proto_library(
name = "talent_cc_proto",
deps = [":talent_proto"],
)

cc_grpc_library(
name = "talent_cc_grpc",
srcs = [":talent_proto"],
grpc_only = True,
deps = [":talent_cc_proto"],
)
183 changes: 0 additions & 183 deletions google/cloud/talent/v4beta1/application.proto

This file was deleted.

0 comments on commit 7837470

Please sign in to comment.