From 9503270fcef3113c0b8aeb06b826260958f03e28 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 28 Oct 2022 16:07:11 -0400 Subject: [PATCH] feat: [java-enterpriseknowledgegraph] add PHP, Ruby, C# library rules for the Cloud EKG API (#8697) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add PHP, Ruby, C# library rules for the Cloud EKG API PiperOrigin-RevId: 484374856 Source-Link: https://github.com/googleapis/googleapis/commit/5a90f45bab562f78bb03d903ea189d1255b51852 Source-Link: https://github.com/googleapis/googleapis-gen/commit/def458d6b780d4db754cb8f847908e0f26fff2a5 Copy-Tag: eyJwIjoiamF2YS1lbnRlcnByaXNla25vd2xlZGdlZ3JhcGgvLk93bEJvdC55YW1sIiwiaCI6ImRlZjQ1OGQ2Yjc4MGQ0ZGI3NTRjYjhmODQ3OTA4ZTBmMjZmZmYyYTUifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- java-enterpriseknowledgegraph/README.md | 6 +- .../v1/JobStateProto.java | 9 +- .../v1/OperationMetadataProto.java | 7 +- .../v1/ServiceProto.java | 176 +++++++++--------- .../v1/job_state.proto | 3 + .../v1/operation_metadata.proto | 3 + .../enterpriseknowledgegraph/v1/service.proto | 11 +- 7 files changed, 114 insertions(+), 101 deletions(-) diff --git a/java-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index bdde11e89ef2..c9e0b5bacc32 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-enterpriseknowledgegraph - 0.0.0 + 0.1.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.0.0' +implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.1.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.1.0" ``` ## Authentication diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java index c5e187515919..8c987819336b 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java @@ -44,12 +44,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_STATE_CANCELLED\020\004\022\"\n\036JOB_STATE_KNOWLEDG" + "E_EXTRACTION\020\005\022!\n\035JOB_STATE_RECON_PREPRO" + "CESSING\020\006\022\030\n\024JOB_STATE_CLUSTERING\020\007\022 \n\034J" - + "OB_STATE_EXPORTING_CLUSTERS\020\010B\241\001\n,com.go" + + "OB_STATE_EXPORTING_CLUSTERS\020\010B\245\002\n,com.go" + "ogle.cloud.enterpriseknowledgegraph.v1B\r" + "JobStateProtoP\001Z`google.golang.org/genpr" + "oto/googleapis/cloud/enterpriseknowledge" - + "graph/v1;enterpriseknowledgegraphb\006proto" - + "3" + + "graph/v1;enterpriseknowledgegraph\252\002(Goog" + + "le.Cloud.EnterpriseKnowledgeGraph.V1\312\002(G" + + "oogle\\Cloud\\EnterpriseKnowledgeGraph\\V1\352" + + "\002+Google::Cloud::EnterpriseKnowledgeGrap" + + "h::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java index eefae14d268e..a08e9bc12789 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java @@ -51,12 +51,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"r\n\005" + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020" + "\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAIL" - + "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\252\001\n,com" + + "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\256\002\n,com" + ".google.cloud.enterpriseknowledgegraph.v" + "1B\026OperationMetadataProtoP\001Z`google.gola" + "ng.org/genproto/googleapis/cloud/enterpr" + "iseknowledgegraph/v1;enterpriseknowledge" - + "graphb\006proto3" + + "graph\252\002(Google.Cloud.EnterpriseKnowledge" + + "Graph.V1\312\002(Google\\Cloud\\EnterpriseKnowle" + + "dgeGraph\\V1\352\002+Google::Cloud::EnterpriseK" + + "nowledgeGraph::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java index 65808b36dc6e..8723850bc046 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java @@ -145,94 +145,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nd_count\030\001 \001(\003\"u\n\027DeleteOperationMetadat" + "a\022Z\n\017common_metadata\030\001 \001(\0132A.google.clou" + "d.enterpriseknowledgegraph.v1.CommonOper" - + "ationMetadata\"\333\001\n$CreateEntityReconcilia" - + "tionJobRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0" + + "ationMetadata\"\352\001\n$CreateEntityReconcilia" + + "tionJobRequest\022W\n\006parent\030\001 \001(\tBG\340A\002\372AA\022?" + "enterpriseknowledgegraph.googleapis.com/" - + "Location\022i\n\031entity_reconciliation_job\030\002 " - + "\001(\0132A.google.cloud.enterpriseknowledgegr" - + "aph.v1.EntityReconciliationJobB\003\340A\002\"z\n!G" - + "etEntityReconciliationJobRequest\022U\n\004name" - + "\030\001 \001(\tBG\340A\002\372AA\n?enterpriseknowledgegraph" - + ".googleapis.com/EntityReconciliationJob\"" - + "\246\001\n#ListEntityReconciliationJobsRequest\022" - + "H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0enterpriseknowl" - + "edgegraph.googleapis.com/Location\022\016\n\006fil" - + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" - + "en\030\004 \001(\t\"\246\001\n$ListEntityReconciliationJob" - + "sResponse\022e\n\032entity_reconciliation_jobs\030" - + "\001 \003(\0132A.google.cloud.enterpriseknowledge" - + "graph.v1.EntityReconciliationJob\022\027\n\017next" - + "_page_token\030\002 \001(\t\"}\n$CancelEntityReconci" - + "liationJobRequest\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n" - + "?enterpriseknowledgegraph.googleapis.com" - + "/EntityReconciliationJob\"}\n$DeleteEntity" - + "ReconciliationJobRequest\022U\n\004name\030\001 \001(\tBG" - + "\340A\002\372AA\n?enterpriseknowledgegraph.googlea" - + "pis.com/EntityReconciliationJob\"\331\005\n\027Enti" - + "tyReconciliationJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022P" - + "\n\014input_config\030\002 \001(\01325.google.cloud.ente" - + "rpriseknowledgegraph.v1.InputConfigB\003\340A\002" - + "\022R\n\routput_config\030\003 \001(\01326.google.cloud.e" - + "nterpriseknowledgegraph.v1.OutputConfigB" - + "\003\340A\002\022F\n\005state\030\004 \001(\01622.google.cloud.enter" - + "priseknowledgegraph.v1.JobStateB\003\340A\003\022&\n\005" - + "error\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013" - + "create_time\030\006 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0221\n\010end_time\030\007 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022P\n\014r" - + "econ_config\030\t \001(\01325.google.cloud.enterpr" - + "iseknowledgegraph.v1.ReconConfigB\003\340A\001:\243\001" - + "\352A\237\001\n?enterpriseknowledgegraph.googleapi" - + "s.com/EntityReconciliationJob\022\\projects/" - + "{project}/locations/{location}/entityRec" - + "onciliationJobs/{entity_reconciliation_j" - + "ob}2\373\n\n\037EnterpriseKnowledgeGraphService\022" - + "\267\002\n\035CreateEntityReconciliationJob\022N.goog" - + "le.cloud.enterpriseknowledgegraph.v1.Cre" - + "ateEntityReconciliationJobRequest\032A.goog" - + "le.cloud.enterpriseknowledgegraph.v1.Ent" - + "ityReconciliationJob\"\202\001\202\323\344\223\002Y\"\022\022*\022\022*