chore: migrate java-retail to the Java microgenerator

Committer: @miraleung
PiperOrigin-RevId: 344877885
This commit is contained in:
Google APIs 2020-11-30 13:33:02 -08:00 committed by Copybara-Service
parent 3aba793750
commit 81a336271e
9 changed files with 12 additions and 39 deletions

View File

@ -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",
@ -101,11 +101,9 @@ java_grpc_library(
java_gapic_library(
name = "retail_java_gapic",
src = ":retail_proto_with_info",
gapic_yaml = "retail_gapic.yaml",
srcs = [":retail_proto_with_info"],
grpc_service_config = "retail_grpc_service_config.json",
package = "google.cloud.retail.v2",
service_yaml = "retail_v2.yaml",
test_deps = [
":retail_java_grpc",
],

View File

@ -199,11 +199,6 @@ message UserEventInputConfig {
// Metadata related to the progress of the Import operation. This will be
// returned by the google.longrunning.Operation.metadata field.
message ImportMetadata {
option (google.api.resource) = {
type: "retail.googleapis.com/Operation"
pattern: "operations/{operation}"
};
// Operation create time.
google.protobuf.Timestamp create_time = 1;

View File

@ -1,8 +1,6 @@
type: com.google.api.codegen.ConfigProto
config_schema_version: 2.0.0
language_settings:
java:
package_name: com.google.cloud.retail.v2
python:
package_name: google.cloud.retail_v2.gapic
go:

View File

@ -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",
@ -101,11 +101,9 @@ java_grpc_library(
java_gapic_library(
name = "retail_java_gapic",
src = ":retail_proto_with_info",
gapic_yaml = "retail_gapic.yaml",
srcs = [":retail_proto_with_info"],
grpc_service_config = "retail_grpc_service_config.json",
package = "google.cloud.retail.v2alpha",
service_yaml = "retail_v2alpha.yaml",
test_deps = [
":retail_java_grpc",
],

View File

@ -199,11 +199,6 @@ message UserEventInputConfig {
// Metadata related to the progress of the Import operation. This will be
// returned by the google.longrunning.Operation.metadata field.
message ImportMetadata {
option (google.api.resource) = {
type: "retail.googleapis.com/Operation"
pattern: "operations/{operation}"
};
// Operation create time.
google.protobuf.Timestamp create_time = 1;

View File

@ -1,8 +1,6 @@
type: com.google.api.codegen.ConfigProto
config_schema_version: 2.0.0
language_settings:
java:
package_name: com.google.cloud.retail.v2alpha
python:
package_name: google.cloud.retail_v2alpha.gapic
go:

View File

@ -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",
@ -101,11 +101,9 @@ java_grpc_library(
java_gapic_library(
name = "retail_java_gapic",
src = ":retail_proto_with_info",
gapic_yaml = "retail_gapic.yaml",
srcs = [":retail_proto_with_info"],
grpc_service_config = "retail_grpc_service_config.json",
package = "google.cloud.retail.v2beta",
service_yaml = "retail_v2beta.yaml",
test_deps = [
":retail_java_grpc",
],

View File

@ -199,11 +199,6 @@ message UserEventInputConfig {
// Metadata related to the progress of the Import operation. This will be
// returned by the google.longrunning.Operation.metadata field.
message ImportMetadata {
option (google.api.resource) = {
type: "retail.googleapis.com/Operation"
pattern: "operations/{operation}"
};
// Operation create time.
google.protobuf.Timestamp create_time = 1;

View File

@ -1,8 +1,6 @@
type: com.google.api.codegen.ConfigProto
config_schema_version: 2.0.0
language_settings:
java:
package_name: com.google.cloud.retail.v2beta
python:
package_name: google.cloud.retail_v2beta.gapic
go: