chore: migrate java-retail to the Java microgenerator
Committer: @miraleung PiperOrigin-RevId: 344877885
This commit is contained in:
parent
3aba793750
commit
81a336271e
|
|
@ -23,9 +23,9 @@ load(
|
||||||
"go_gapic_library",
|
"go_gapic_library",
|
||||||
"go_proto_library",
|
"go_proto_library",
|
||||||
"go_test",
|
"go_test",
|
||||||
"java_gapic_assembly_gradle_pkg",
|
java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg2",
|
||||||
"java_gapic_library",
|
java_gapic_library = "java_gapic_library2",
|
||||||
"java_gapic_test",
|
java_gapic_test = "java_gapic_test2",
|
||||||
"java_grpc_library",
|
"java_grpc_library",
|
||||||
"java_proto_library",
|
"java_proto_library",
|
||||||
"moved_proto_library",
|
"moved_proto_library",
|
||||||
|
|
@ -101,11 +101,9 @@ java_grpc_library(
|
||||||
|
|
||||||
java_gapic_library(
|
java_gapic_library(
|
||||||
name = "retail_java_gapic",
|
name = "retail_java_gapic",
|
||||||
src = ":retail_proto_with_info",
|
srcs = [":retail_proto_with_info"],
|
||||||
gapic_yaml = "retail_gapic.yaml",
|
|
||||||
grpc_service_config = "retail_grpc_service_config.json",
|
grpc_service_config = "retail_grpc_service_config.json",
|
||||||
package = "google.cloud.retail.v2",
|
package = "google.cloud.retail.v2",
|
||||||
service_yaml = "retail_v2.yaml",
|
|
||||||
test_deps = [
|
test_deps = [
|
||||||
":retail_java_grpc",
|
":retail_java_grpc",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -199,11 +199,6 @@ message UserEventInputConfig {
|
||||||
// Metadata related to the progress of the Import operation. This will be
|
// Metadata related to the progress of the Import operation. This will be
|
||||||
// returned by the google.longrunning.Operation.metadata field.
|
// returned by the google.longrunning.Operation.metadata field.
|
||||||
message ImportMetadata {
|
message ImportMetadata {
|
||||||
option (google.api.resource) = {
|
|
||||||
type: "retail.googleapis.com/Operation"
|
|
||||||
pattern: "operations/{operation}"
|
|
||||||
};
|
|
||||||
|
|
||||||
// Operation create time.
|
// Operation create time.
|
||||||
google.protobuf.Timestamp create_time = 1;
|
google.protobuf.Timestamp create_time = 1;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
type: com.google.api.codegen.ConfigProto
|
type: com.google.api.codegen.ConfigProto
|
||||||
config_schema_version: 2.0.0
|
config_schema_version: 2.0.0
|
||||||
language_settings:
|
language_settings:
|
||||||
java:
|
|
||||||
package_name: com.google.cloud.retail.v2
|
|
||||||
python:
|
python:
|
||||||
package_name: google.cloud.retail_v2.gapic
|
package_name: google.cloud.retail_v2.gapic
|
||||||
go:
|
go:
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ load(
|
||||||
"go_gapic_library",
|
"go_gapic_library",
|
||||||
"go_proto_library",
|
"go_proto_library",
|
||||||
"go_test",
|
"go_test",
|
||||||
"java_gapic_assembly_gradle_pkg",
|
java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg2",
|
||||||
"java_gapic_library",
|
java_gapic_library = "java_gapic_library2",
|
||||||
"java_gapic_test",
|
java_gapic_test = "java_gapic_test2",
|
||||||
"java_grpc_library",
|
"java_grpc_library",
|
||||||
"java_proto_library",
|
"java_proto_library",
|
||||||
"moved_proto_library",
|
"moved_proto_library",
|
||||||
|
|
@ -101,11 +101,9 @@ java_grpc_library(
|
||||||
|
|
||||||
java_gapic_library(
|
java_gapic_library(
|
||||||
name = "retail_java_gapic",
|
name = "retail_java_gapic",
|
||||||
src = ":retail_proto_with_info",
|
srcs = [":retail_proto_with_info"],
|
||||||
gapic_yaml = "retail_gapic.yaml",
|
|
||||||
grpc_service_config = "retail_grpc_service_config.json",
|
grpc_service_config = "retail_grpc_service_config.json",
|
||||||
package = "google.cloud.retail.v2alpha",
|
package = "google.cloud.retail.v2alpha",
|
||||||
service_yaml = "retail_v2alpha.yaml",
|
|
||||||
test_deps = [
|
test_deps = [
|
||||||
":retail_java_grpc",
|
":retail_java_grpc",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -199,11 +199,6 @@ message UserEventInputConfig {
|
||||||
// Metadata related to the progress of the Import operation. This will be
|
// Metadata related to the progress of the Import operation. This will be
|
||||||
// returned by the google.longrunning.Operation.metadata field.
|
// returned by the google.longrunning.Operation.metadata field.
|
||||||
message ImportMetadata {
|
message ImportMetadata {
|
||||||
option (google.api.resource) = {
|
|
||||||
type: "retail.googleapis.com/Operation"
|
|
||||||
pattern: "operations/{operation}"
|
|
||||||
};
|
|
||||||
|
|
||||||
// Operation create time.
|
// Operation create time.
|
||||||
google.protobuf.Timestamp create_time = 1;
|
google.protobuf.Timestamp create_time = 1;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
type: com.google.api.codegen.ConfigProto
|
type: com.google.api.codegen.ConfigProto
|
||||||
config_schema_version: 2.0.0
|
config_schema_version: 2.0.0
|
||||||
language_settings:
|
language_settings:
|
||||||
java:
|
|
||||||
package_name: com.google.cloud.retail.v2alpha
|
|
||||||
python:
|
python:
|
||||||
package_name: google.cloud.retail_v2alpha.gapic
|
package_name: google.cloud.retail_v2alpha.gapic
|
||||||
go:
|
go:
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ load(
|
||||||
"go_gapic_library",
|
"go_gapic_library",
|
||||||
"go_proto_library",
|
"go_proto_library",
|
||||||
"go_test",
|
"go_test",
|
||||||
"java_gapic_assembly_gradle_pkg",
|
java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg2",
|
||||||
"java_gapic_library",
|
java_gapic_library = "java_gapic_library2",
|
||||||
"java_gapic_test",
|
java_gapic_test = "java_gapic_test2",
|
||||||
"java_grpc_library",
|
"java_grpc_library",
|
||||||
"java_proto_library",
|
"java_proto_library",
|
||||||
"moved_proto_library",
|
"moved_proto_library",
|
||||||
|
|
@ -101,11 +101,9 @@ java_grpc_library(
|
||||||
|
|
||||||
java_gapic_library(
|
java_gapic_library(
|
||||||
name = "retail_java_gapic",
|
name = "retail_java_gapic",
|
||||||
src = ":retail_proto_with_info",
|
srcs = [":retail_proto_with_info"],
|
||||||
gapic_yaml = "retail_gapic.yaml",
|
|
||||||
grpc_service_config = "retail_grpc_service_config.json",
|
grpc_service_config = "retail_grpc_service_config.json",
|
||||||
package = "google.cloud.retail.v2beta",
|
package = "google.cloud.retail.v2beta",
|
||||||
service_yaml = "retail_v2beta.yaml",
|
|
||||||
test_deps = [
|
test_deps = [
|
||||||
":retail_java_grpc",
|
":retail_java_grpc",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -199,11 +199,6 @@ message UserEventInputConfig {
|
||||||
// Metadata related to the progress of the Import operation. This will be
|
// Metadata related to the progress of the Import operation. This will be
|
||||||
// returned by the google.longrunning.Operation.metadata field.
|
// returned by the google.longrunning.Operation.metadata field.
|
||||||
message ImportMetadata {
|
message ImportMetadata {
|
||||||
option (google.api.resource) = {
|
|
||||||
type: "retail.googleapis.com/Operation"
|
|
||||||
pattern: "operations/{operation}"
|
|
||||||
};
|
|
||||||
|
|
||||||
// Operation create time.
|
// Operation create time.
|
||||||
google.protobuf.Timestamp create_time = 1;
|
google.protobuf.Timestamp create_time = 1;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
type: com.google.api.codegen.ConfigProto
|
type: com.google.api.codegen.ConfigProto
|
||||||
config_schema_version: 2.0.0
|
config_schema_version: 2.0.0
|
||||||
language_settings:
|
language_settings:
|
||||||
java:
|
|
||||||
package_name: com.google.cloud.retail.v2beta
|
|
||||||
python:
|
python:
|
||||||
package_name: google.cloud.retail_v2beta.gapic
|
package_name: google.cloud.retail_v2beta.gapic
|
||||||
go:
|
go:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue