From 8fbc2f0160dfaa95ad2b4244fab8d20e1a819eaa Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 02:20:25 +0000 Subject: [PATCH] docs: corrected the Dataflow job name regex (#190) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 458015583 Source-Link: https://github.com/googleapis/googleapis/commit/9b7d76e0c78a092a47985137b5af55e549b7ad1f Source-Link: https://github.com/googleapis/googleapis-gen/commit/fb26a7ca71df63e4c527e9e607e57a382e8095f6 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmIyNmE3Y2E3MWRmNjNlNGM1MjdlOWU2MDdlNTdhMzgyZTgwOTVmNiJ9 --- .../main/java/com/google/dataflow/v1beta3/Job.java | 14 +++++++------- .../com/google/dataflow/v1beta3/JobOrBuilder.java | 4 ++-- .../main/proto/google/dataflow/v1beta3/jobs.proto | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/Job.java b/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/Job.java index 21994693..311c2795 100644 --- a/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/Job.java +++ b/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/Job.java @@ -517,7 +517,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -546,7 +546,7 @@ public java.lang.String getName() { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -3025,7 +3025,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -3053,7 +3053,7 @@ public java.lang.String getName() { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -3081,7 +3081,7 @@ public com.google.protobuf.ByteString getNameBytes() { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -3108,7 +3108,7 @@ public Builder setName(java.lang.String value) { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -3131,7 +3131,7 @@ public Builder clearName() { * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; diff --git a/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/JobOrBuilder.java b/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/JobOrBuilder.java index 70a8d0b6..45dabc71 100644 --- a/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/JobOrBuilder.java +++ b/proto-google-cloud-dataflow-v1beta3/src/main/java/com/google/dataflow/v1beta3/JobOrBuilder.java @@ -87,7 +87,7 @@ public interface JobOrBuilder * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; @@ -105,7 +105,7 @@ public interface JobOrBuilder * name as an already-existing Job, the attempt returns the * existing Job. * The name must match the regular expression - * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` * * * string name = 3; diff --git a/proto-google-cloud-dataflow-v1beta3/src/main/proto/google/dataflow/v1beta3/jobs.proto b/proto-google-cloud-dataflow-v1beta3/src/main/proto/google/dataflow/v1beta3/jobs.proto index 3e4b5cfa..359b7873 100644 --- a/proto-google-cloud-dataflow-v1beta3/src/main/proto/google/dataflow/v1beta3/jobs.proto +++ b/proto-google-cloud-dataflow-v1beta3/src/main/proto/google/dataflow/v1beta3/jobs.proto @@ -154,7 +154,7 @@ message Job { // existing Job. // // The name must match the regular expression - // `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + // `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` string name = 3; // The type of Cloud Dataflow job.