diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlProto.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlProto.java index 3020c280d..23abfc18b 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlProto.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlProto.java @@ -130,135 +130,136 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle/cloud/automl/v1/image.proto\032\037googl" + "e/cloud/automl/v1/io.proto\032\"google/cloud" + "/automl/v1/model.proto\032-google/cloud/aut" - + "oml/v1/model_evaluation.proto\032#google/lo" - + "ngrunning/operations.proto\032 google/proto" - + "buf/field_mask.proto\"X\n\024CreateDatasetReq" - + "uest\022\016\n\006parent\030\001 \001(\t\0220\n\007dataset\030\002 \001(\0132\037." - + "google.cloud.automl.v1.Dataset\"!\n\021GetDat" - + "asetRequest\022\014\n\004name\030\001 \001(\t\"\\\n\023ListDataset" - + "sRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\003 \001(\t" - + "\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\006 \001(\t\"" - + "b\n\024ListDatasetsResponse\0221\n\010datasets\030\001 \003(" - + "\0132\037.google.cloud.automl.v1.Dataset\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"y\n\024UpdateDatasetRequ" - + "est\0220\n\007dataset\030\001 \001(\0132\037.google.cloud.auto" - + "ml.v1.Dataset\022/\n\013update_mask\030\002 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\"$\n\024DeleteDatasetR" - + "equest\022\014\n\004name\030\001 \001(\t\"\\\n\021ImportDataReques" - + "t\022\014\n\004name\030\001 \001(\t\0229\n\014input_config\030\003 \001(\0132#." - + "google.cloud.automl.v1.InputConfig\"^\n\021Ex" - + "portDataRequest\022\014\n\004name\030\001 \001(\t\022;\n\routput_" - + "config\030\003 \001(\0132$.google.cloud.automl.v1.Ou" - + "tputConfig\"(\n\030GetAnnotationSpecRequest\022\014" - + "\n\004name\030\001 \001(\t\"R\n\022CreateModelRequest\022\016\n\006pa" - + "rent\030\001 \001(\t\022,\n\005model\030\004 \001(\0132\035.google.cloud" - + ".automl.v1.Model\"\037\n\017GetModelRequest\022\014\n\004n" - + "ame\030\001 \001(\t\"Z\n\021ListModelsRequest\022\016\n\006parent" - + "\030\001 \001(\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(" - + "\005\022\022\n\npage_token\030\006 \001(\t\"[\n\022ListModelsRespo" - + "nse\022,\n\005model\030\001 \003(\0132\035.google.cloud.automl" - + ".v1.Model\022\027\n\017next_page_token\030\002 \001(\t\"\"\n\022De" - + "leteModelRequest\022\014\n\004name\030\001 \001(\t\"s\n\022Update" - + "ModelRequest\022,\n\005model\030\001 \001(\0132\035.google.clo" - + "ud.automl.v1.Model\022/\n\013update_mask\030\002 \001(\0132" - + "\032.google.protobuf.FieldMask\"\276\002\n\022DeployMo" - + "delRequest\022\177\n0image_object_detection_mod" - + "el_deployment_metadata\030\002 \001(\0132C.google.cl" - + "oud.automl.v1.ImageObjectDetectionModelD" - + "eploymentMetadataH\000\022|\n.image_classificat" - + "ion_model_deployment_metadata\030\004 \001(\0132B.go" - + "ogle.cloud.automl.v1.ImageClassification" - + "ModelDeploymentMetadataH\000\022\014\n\004name\030\001 \001(\tB" - + "\033\n\031model_deployment_metadata\"$\n\024Undeploy" - + "ModelRequest\022\014\n\004name\030\001 \001(\t\"j\n\022ExportMode" - + "lRequest\022\014\n\004name\030\001 \001(\t\022F\n\routput_config\030" - + "\003 \001(\0132/.google.cloud.automl.v1.ModelExpo" - + "rtOutputConfig\")\n\031GetModelEvaluationRequ" - + "est\022\014\n\004name\030\001 \001(\t\"d\n\033ListModelEvaluation" - + "sRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\003 \001(\t" - + "\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\006 \001(\t\"" - + "z\n\034ListModelEvaluationsResponse\022A\n\020model" - + "_evaluation\030\001 \003(\0132\'.google.cloud.automl." - + "v1.ModelEvaluation\022\027\n\017next_page_token\030\002 " - + "\001(\t2\215\027\n\006AutoMl\022\233\001\n\rCreateDataset\022,.googl" - + "e.cloud.automl.v1.CreateDatasetRequest\032\035" - + ".google.longrunning.Operation\"=\202\323\344\223\0027\",/" - + "v1/{parent=projects/*/locations/*}/datas" - + "ets:\007dataset\022\216\001\n\nGetDataset\022).google.clo" - + "ud.automl.v1.GetDatasetRequest\032\037.google." - + "cloud.automl.v1.Dataset\"4\202\323\344\223\002.\022,/v1/{na" - + "me=projects/*/locations/*/datasets/*}\022\237\001" - + "\n\014ListDatasets\022+.google.cloud.automl.v1." - + "ListDatasetsRequest\032,.google.cloud.autom" - + "l.v1.ListDatasetsResponse\"4\202\323\344\223\002.\022,/v1/{" - + "parent=projects/*/locations/*}/datasets\022" - + "\245\001\n\rUpdateDataset\022,.google.cloud.automl." - + "v1.UpdateDatasetRequest\032\037.google.cloud.a" - + "utoml.v1.Dataset\"E\202\323\344\223\002?24/v1/{dataset.n" - + "ame=projects/*/locations/*/datasets/*}:\007" - + "dataset\022\222\001\n\rDeleteDataset\022,.google.cloud" - + ".automl.v1.DeleteDatasetRequest\032\035.google" - + ".longrunning.Operation\"4\202\323\344\223\002.*,/v1/{nam" - + "e=projects/*/locations/*/datasets/*}\022\232\001\n" - + "\nImportData\022).google.cloud.automl.v1.Imp" - + "ortDataRequest\032\035.google.longrunning.Oper" - + "ation\"B\202\323\344\223\002<\"7/v1/{name=projects/*/loca" - + "tions/*/datasets/*}:importData:\001*\022\232\001\n\nEx" - + "portData\022).google.cloud.automl.v1.Export" - + "DataRequest\032\035.google.longrunning.Operati" - + "on\"B\202\323\344\223\002<\"7/v1/{name=projects/*/locatio" - + "ns/*/datasets/*}:exportData:\001*\022\265\001\n\021GetAn" - + "notationSpec\0220.google.cloud.automl.v1.Ge" - + "tAnnotationSpecRequest\032&.google.cloud.au" - + "toml.v1.AnnotationSpec\"F\202\323\344\223\002@\022>/v1/{nam" - + "e=projects/*/locations/*/datasets/*/anno" - + "tationSpecs/*}\022\223\001\n\013CreateModel\022*.google." - + "cloud.automl.v1.CreateModelRequest\032\035.goo" - + "gle.longrunning.Operation\"9\202\323\344\223\0023\"*/v1/{" - + "parent=projects/*/locations/*}/models:\005m" - + "odel\022\206\001\n\010GetModel\022\'.google.cloud.automl." - + "v1.GetModelRequest\032\035.google.cloud.automl" - + ".v1.Model\"2\202\323\344\223\002,\022*/v1/{name=projects/*/" - + "locations/*/models/*}\022\227\001\n\nListModels\022).g" - + "oogle.cloud.automl.v1.ListModelsRequest\032" - + "*.google.cloud.automl.v1.ListModelsRespo" - + "nse\"2\202\323\344\223\002,\022*/v1/{parent=projects/*/loca" - + "tions/*}/models\022\214\001\n\013DeleteModel\022*.google" - + ".cloud.automl.v1.DeleteModelRequest\032\035.go" - + "ogle.longrunning.Operation\"2\202\323\344\223\002,**/v1/" - + "{name=projects/*/locations/*/models/*}\022\231" - + "\001\n\013UpdateModel\022*.google.cloud.automl.v1." - + "UpdateModelRequest\032\035.google.cloud.automl" - + ".v1.Model\"?\202\323\344\223\002920/v1/{model.name=proje" - + "cts/*/locations/*/models/*}:\005model\022\226\001\n\013D" - + "eployModel\022*.google.cloud.automl.v1.Depl" - + "oyModelRequest\032\035.google.longrunning.Oper" - + "ation\"<\202\323\344\223\0026\"1/v1/{name=projects/*/loca" - + "tions/*/models/*}:deploy:\001*\022\234\001\n\rUndeploy" - + "Model\022,.google.cloud.automl.v1.UndeployM" - + "odelRequest\032\035.google.longrunning.Operati" - + "on\">\202\323\344\223\0028\"3/v1/{name=projects/*/locatio" - + "ns/*/models/*}:undeploy:\001*\022\226\001\n\013ExportMod" - + "el\022*.google.cloud.automl.v1.ExportModelR" - + "equest\032\035.google.longrunning.Operation\"<\202" - + "\323\344\223\0026\"1/v1/{name=projects/*/locations/*/" - + "models/*}:export:\001*\022\267\001\n\022GetModelEvaluati" - + "on\0221.google.cloud.automl.v1.GetModelEval" - + "uationRequest\032\'.google.cloud.automl.v1.M" - + "odelEvaluation\"E\202\323\344\223\002?\022=/v1/{name=projec" - + "ts/*/locations/*/models/*/modelEvaluatio" - + "ns/*}\022\310\001\n\024ListModelEvaluations\0223.google." - + "cloud.automl.v1.ListModelEvaluationsRequ" - + "est\0324.google.cloud.automl.v1.ListModelEv" - + "aluationsResponse\"E\202\323\344\223\002?\022=/v1/{parent=p" - + "rojects/*/locations/*/models/*}/modelEva" - + "luations\032I\312A\025automl.googleapis.com\322A.htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\267\001\n\032com.google.cloud.automl.v1B\013Auto" - + "MlProtoP\001Z/v1/{na" + + "me=projects/*/locations/*/datasets/*/ann" + + "otationSpecs/*}\022\223\001\n\013CreateModel\022*.google" + + ".cloud.automl.v1.CreateModelRequest\032\035.go" + + "ogle.longrunning.Operation\"9\202\323\344\223\0023\"*/v1/" + + "{parent=projects/*/locations/*}/models:\005" + + "model\022\206\001\n\010GetModel\022\'.google.cloud.automl" + + ".v1.GetModelRequest\032\035.google.cloud.autom" + + "l.v1.Model\"2\202\323\344\223\002,\022*/v1/{name=projects/*" + + "/locations/*/models/*}\022\227\001\n\nListModels\022)." + + "google.cloud.automl.v1.ListModelsRequest" + + "\032*.google.cloud.automl.v1.ListModelsResp" + + "onse\"2\202\323\344\223\002,\022*/v1/{parent=projects/*/loc" + + "ations/*}/models\022\214\001\n\013DeleteModel\022*.googl" + + "e.cloud.automl.v1.DeleteModelRequest\032\035.g" + + "oogle.longrunning.Operation\"2\202\323\344\223\002,**/v1" + + "/{name=projects/*/locations/*/models/*}\022" + + "\231\001\n\013UpdateModel\022*.google.cloud.automl.v1" + + ".UpdateModelRequest\032\035.google.cloud.autom" + + "l.v1.Model\"?\202\323\344\223\002920/v1/{model.name=proj" + + "ects/*/locations/*/models/*}:\005model\022\226\001\n\013" + + "DeployModel\022*.google.cloud.automl.v1.Dep" + + "loyModelRequest\032\035.google.longrunning.Ope" + + "ration\"<\202\323\344\223\0026\"1/v1/{name=projects/*/loc" + + "ations/*/models/*}:deploy:\001*\022\234\001\n\rUndeplo" + + "yModel\022,.google.cloud.automl.v1.Undeploy" + + "ModelRequest\032\035.google.longrunning.Operat" + + "ion\">\202\323\344\223\0028\"3/v1/{name=projects/*/locati" + + "ons/*/models/*}:undeploy:\001*\022\226\001\n\013ExportMo" + + "del\022*.google.cloud.automl.v1.ExportModel" + + "Request\032\035.google.longrunning.Operation\"<" + + "\202\323\344\223\0026\"1/v1/{name=projects/*/locations/*" + + "/models/*}:export:\001*\022\267\001\n\022GetModelEvaluat" + + "ion\0221.google.cloud.automl.v1.GetModelEva" + + "luationRequest\032\'.google.cloud.automl.v1." + + "ModelEvaluation\"E\202\323\344\223\002?\022=/v1/{name=proje" + + "cts/*/locations/*/models/*/modelEvaluati" + + "ons/*}\022\310\001\n\024ListModelEvaluations\0223.google" + + ".cloud.automl.v1.ListModelEvaluationsReq" + + "uest\0324.google.cloud.automl.v1.ListModelE" + + "valuationsResponse\"E\202\323\344\223\002?\022=/v1/{parent=" + + "projects/*/locations/*/models/*}/modelEv" + + "aluations\032I\312A\025automl.googleapis.com\322A.ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "formB\267\001\n\032com.google.cloud.automl.v1B\013Aut" + + "oMlProtoP\001Z * * float feature_importance = 3; @@ -806,9 +807,10 @@ public Builder setColumnDisplayNameBytes(com.google.protobuf.ByteString value) { * [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] * param is set): * Measurement of how impactful for the prediction returned for the given row - * the value in this column was. A value between 0 and 1, higher means larger - * impact. These values are normalized - for all input feature columns of a - * single predicted row they add to 1. + * the value in this column was. Specifically, the feature importance + * specifies the marginal contribution that the feature made to the prediction + * score compared to the baseline score. These values are computed using the + * Sampled Shapley method. * * * float feature_importance = 3; @@ -832,9 +834,10 @@ public float getFeatureImportance() { * [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] * param is set): * Measurement of how impactful for the prediction returned for the given row - * the value in this column was. A value between 0 and 1, higher means larger - * impact. These values are normalized - for all input feature columns of a - * single predicted row they add to 1. + * the value in this column was. Specifically, the feature importance + * specifies the marginal contribution that the feature made to the prediction + * score compared to the baseline score. These values are computed using the + * Sampled Shapley method. * * * float feature_importance = 3; @@ -861,9 +864,10 @@ public Builder setFeatureImportance(float value) { * [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] * param is set): * Measurement of how impactful for the prediction returned for the given row - * the value in this column was. A value between 0 and 1, higher means larger - * impact. These values are normalized - for all input feature columns of a - * single predicted row they add to 1. + * the value in this column was. Specifically, the feature importance + * specifies the marginal contribution that the feature made to the prediction + * score compared to the baseline score. These values are computed using the + * Sampled Shapley method. * * * float feature_importance = 3; diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java index c39d0c618..a6d776920 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java @@ -85,9 +85,10 @@ public interface TablesModelColumnInfoOrBuilder * [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] * param is set): * Measurement of how impactful for the prediction returned for the given row - * the value in this column was. A value between 0 and 1, higher means larger - * impact. These values are normalized - for all input feature columns of a - * single predicted row they add to 1. + * the value in this column was. Specifically, the feature importance + * specifies the marginal contribution that the feature made to the prediction + * score compared to the baseline score. These values are computed using the + * Sampled Shapley method. * * * float feature_importance = 3; diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto index c835aba3d..460321ccc 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto @@ -19,9 +19,6 @@ package google.cloud.automl.v1beta1; import "google/api/annotations.proto"; import "google/cloud/automl/v1beta1/io.proto"; -import "google/cloud/automl/v1beta1/model.proto"; -import "google/cloud/automl/v1beta1/model_evaluation.proto"; -import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto index 467a330c8..5b786c9f1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto @@ -275,8 +275,9 @@ message TablesModelColumnInfo { // [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] // param is set): // Measurement of how impactful for the prediction returned for the given row - // the value in this column was. A value between 0 and 1, higher means larger - // impact. These values are normalized - for all input feature columns of a - // single predicted row they add to 1. + // the value in this column was. Specifically, the feature importance + // specifies the marginal contribution that the feature made to the prediction + // score compared to the baseline score. These values are computed using the + // Sampled Shapley method. float feature_importance = 3; } diff --git a/synth.metadata b/synth.metadata index 4566088c0..9224b6efa 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-11-14T08:42:34.095990Z", + "updateTime": "2019-11-16T08:37:21.279407Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "bc76ffd87360ce1cd34e3a6eac28afd5e1efda76", - "internalRef": "280356106" + "sha": "c89394342a9ef70acaf73a6959e04b943fbc817b", + "internalRef": "280761373" } }, {