diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java index 2244109..90ab57b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java @@ -205,7 +205,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (approved_ != false) { @@ -220,7 +220,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (approved_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java index c9f3fab..0162da3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java @@ -235,10 +235,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getTagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tag_); } - if (!getImageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, image_); } unknownFields.writeTo(output); @@ -250,10 +250,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getTagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); } - if (!getImageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, image_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java index 8a2ef44..3bf4426 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java @@ -330,13 +330,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < supportedVersions_.size(); i++) { output.writeMessage(2, supportedVersions_.get(i)); } - if (!getDefaultSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultSkaffoldVersion_); } unknownFields.writeTo(output); @@ -348,14 +348,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < supportedVersions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, supportedVersions_.get(i)); } - if (!getDefaultSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultSkaffoldVersion_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java index af20214..ab3fd7a 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java @@ -408,16 +408,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getDeliveryPipelineIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPipelineId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deliveryPipelineId_); } if (deliveryPipeline_ != null) { output.writeMessage(3, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -432,16 +432,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getDeliveryPipelineIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPipelineId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPipelineId_); } if (deliveryPipeline_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java index 6e9befe..399c778 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java @@ -404,16 +404,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getReleaseIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, releaseId_); } if (release_ != null) { output.writeMessage(3, getRelease()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -428,16 +428,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getReleaseIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, releaseId_); } if (release_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRelease()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java index f9081af..6e6d475 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java @@ -404,16 +404,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getRolloutIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rolloutId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rolloutId_); } if (rollout_ != null) { output.writeMessage(3, getRollout()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -428,16 +428,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getRolloutIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rolloutId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rolloutId_); } if (rollout_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRollout()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java index e19f99d..96f415d 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java @@ -404,16 +404,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetId_); } if (target_ != null) { output.writeMessage(3, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -428,16 +428,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetId_); } if (target_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java index ca58a3a..1b09041 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java @@ -241,10 +241,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, artifactStorage_); } unknownFields.writeTo(output); @@ -256,10 +256,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, artifactStorage_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java index 6dd2ded..4ee2205 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java @@ -391,10 +391,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_); } if (allowMissing_ != false) { @@ -403,7 +403,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (validateOnly_ != false) { output.writeBool(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_); } if (force_ != false) { @@ -418,10 +418,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { @@ -430,7 +430,7 @@ public int getSerializedSize() { if (validateOnly_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); } if (force_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java index 24d64da..574b075 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java @@ -366,10 +366,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_); } if (allowMissing_ != false) { @@ -378,7 +378,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (validateOnly_ != false) { output.writeBool(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_); } unknownFields.writeTo(output); @@ -390,10 +390,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { @@ -402,7 +402,7 @@ public int getSerializedSize() { if (validateOnly_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java index fe3f48f..e547eef 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java @@ -578,9 +578,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -605,9 +605,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -623,9 +623,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -645,9 +645,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -937,13 +937,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -959,7 +959,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (pipelineCase_ == 8) { output.writeMessage(8, (com.google.cloud.deploy.v1.SerialPipeline) pipeline_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, etag_); } if (condition_ != null) { @@ -974,13 +974,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : @@ -1014,7 +1014,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 8, (com.google.cloud.deploy.v1.SerialPipeline) pipeline_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (condition_ != null) { @@ -2037,9 +2037,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2064,9 +2064,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2082,9 +2082,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2105,9 +2105,9 @@ public java.lang.String getLabelsOrDefault( * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2135,9 +2135,9 @@ public Builder clearLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2161,9 +2161,9 @@ public java.util.Map getMutableLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2185,9 +2185,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java index 0dc6289..1d1c689 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java @@ -176,9 +176,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -191,9 +191,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -209,9 +209,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -224,9 +224,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -239,9 +239,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java index a66a018..0c5d422 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java @@ -178,7 +178,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -190,7 +190,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java index 48aa227..0cdacf3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java index 8825ff2..8d398cf 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java index 721c04a..390a349 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java index 99dcf2f..d8c72a3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java index a06a781..95c6629 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java @@ -176,7 +176,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getClusterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } unknownFields.writeTo(output); @@ -188,7 +188,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getClusterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java index 5218eed..18ed7fb 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java @@ -385,19 +385,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -409,19 +409,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java index 4c35c7c..9153138 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java @@ -341,7 +341,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < deliveryPipelines_.size(); i++) { output.writeMessage(1, deliveryPipelines_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -360,7 +360,7 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, deliveryPipelines_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java index a94eb33..ce804f1 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java @@ -382,19 +382,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -406,19 +406,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java index c5a6623..9d78709 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java @@ -339,7 +339,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < releases_.size(); i++) { output.writeMessage(1, releases_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -357,7 +357,7 @@ public int getSerializedSize() { for (int i = 0; i < releases_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, releases_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java index 8300b1e..06137a2 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java @@ -382,19 +382,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -406,19 +406,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java index 5739116..360fecf 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java @@ -339,7 +339,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < rollouts_.size(); i++) { output.writeMessage(1, rollouts_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -357,7 +357,7 @@ public int getSerializedSize() { for (int i = 0; i < rollouts_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rollouts_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java index e99039b..17e5fb6 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java @@ -384,19 +384,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -408,19 +408,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java index f1b86af..0bde947 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java @@ -338,7 +338,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < targets_.size(); i++) { output.writeMessage(1, targets_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -356,7 +356,7 @@ public int getSerializedSize() { for (int i = 0; i < targets_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, targets_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java index 549c642..6dad9a7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java @@ -505,19 +505,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(2, getEndTime()); } - if (!getTargetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, target_); } - if (!getVerbBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, verb_); } - if (!getStatusMessageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, statusMessage_); } if (requestedCancellation_ != false) { output.writeBool(6, requestedCancellation_); } - if (!getApiVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } unknownFields.writeTo(output); @@ -535,19 +535,19 @@ public int getSerializedSize() { if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } - if (!getTargetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); } - if (!getVerbBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, verb_); } - if (!getStatusMessageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } - if (!getApiVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java index 06f0035..5700f66 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java @@ -304,13 +304,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getWorkerPoolBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workerPool_); } - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, artifactStorage_); } unknownFields.writeTo(output); @@ -322,13 +322,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getWorkerPoolBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workerPool_); } - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, artifactStorage_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java index 0d71bcd..5ab04b2 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java @@ -989,7 +989,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getRenderingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(renderingBuild_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, renderingBuild_); } if (renderingState_ @@ -1007,7 +1007,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getRenderingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(renderingBuild_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, renderingBuild_); } if (renderingState_ @@ -1896,9 +1896,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1923,9 +1923,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1941,9 +1941,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1963,9 +1963,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2844,13 +2844,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -2866,7 +2866,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (renderEndTime_ != null) { output.writeMessage(8, getRenderEndTime()); } - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, skaffoldConfigPath_); } for (int i = 0; i < buildArtifacts_.size(); i++) { @@ -2882,13 +2882,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(13, renderState_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, etag_); } - if (!getSkaffoldConfigUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, skaffoldConfigUri_); } - if (!getSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, skaffoldVersion_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -2904,13 +2904,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : @@ -2942,7 +2942,7 @@ public int getSerializedSize() { if (renderEndTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getRenderEndTime()); } - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, skaffoldConfigPath_); } for (int i = 0; i < buildArtifacts_.size(); i++) { @@ -2960,13 +2960,13 @@ public int getSerializedSize() { != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, renderState_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, etag_); } - if (!getSkaffoldConfigUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, skaffoldConfigUri_); } - if (!getSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, skaffoldVersion_); } for (java.util.Map.Entry entry : @@ -4144,9 +4144,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4171,9 +4171,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4189,9 +4189,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4212,9 +4212,9 @@ public java.lang.String getLabelsOrDefault( * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4242,9 +4242,9 @@ public Builder clearLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4268,9 +4268,9 @@ public java.util.Map getMutableLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4292,9 +4292,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java index 0850629..f6ced02 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java @@ -178,9 +178,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -193,9 +193,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -211,9 +211,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -226,9 +226,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -241,9 +241,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java index 51bded6..aa47a6c 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java @@ -1060,9 +1060,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1087,9 +1087,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1105,9 +1105,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1127,9 +1127,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1703,13 +1703,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -1739,16 +1739,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (state_ != com.google.cloud.deploy.v1.Rollout.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(13, state_); } - if (!getFailureReasonBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, failureReason_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, etag_); } - if (!getDeployingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployingBuild_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, deployingBuild_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, targetId_); } unknownFields.writeTo(output); @@ -1760,13 +1760,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : @@ -1812,16 +1812,16 @@ public int getSerializedSize() { if (state_ != com.google.cloud.deploy.v1.Rollout.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, state_); } - if (!getFailureReasonBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, failureReason_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, etag_); } - if (!getDeployingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployingBuild_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, deployingBuild_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, targetId_); } size += unknownFields.getSerializedSize(); @@ -2888,9 +2888,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2915,9 +2915,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2933,9 +2933,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2956,9 +2956,9 @@ public java.lang.String getLabelsOrDefault( * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2986,9 +2986,9 @@ public Builder clearLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -3012,9 +3012,9 @@ public java.util.Map getMutableLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -3036,9 +3036,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java index bfd3b42..2e4cd29 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java @@ -180,9 +180,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -195,9 +195,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -213,9 +213,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -228,9 +228,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -243,9 +243,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java index e0a607d..d3c2235 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java @@ -234,7 +234,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } if (supportEndDate_ != null) { @@ -249,7 +249,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (supportEndDate_ != null) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java index 24ac549..655e4c6 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java @@ -263,7 +263,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetId_); } for (int i = 0; i < profiles_.size(); i++) { @@ -278,7 +278,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetId_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java index 18e74c4..0921e14 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java @@ -645,9 +645,9 @@ public int getLabelsCount() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -672,9 +672,9 @@ public java.util.Map getLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -690,9 +690,9 @@ public java.util.Map getLabelsMap() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -712,9 +712,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -1065,16 +1065,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetId_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -1087,7 +1087,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(9, getUpdateTime()); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, etag_); } if (requireApproval_ != false) { @@ -1108,16 +1108,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetId_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } for (java.util.Map.Entry entry : @@ -1146,7 +1146,7 @@ public int getSerializedSize() { if (updateTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, etag_); } if (requireApproval_ != false) { @@ -2334,9 +2334,9 @@ public int getLabelsCount() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2361,9 +2361,9 @@ public java.util.Map getLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2379,9 +2379,9 @@ public java.util.Map getLabelsMap() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2402,9 +2402,9 @@ public java.lang.String getLabelsOrDefault( * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2432,9 +2432,9 @@ public Builder clearLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2458,9 +2458,9 @@ public java.util.Map getMutableLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2482,9 +2482,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java index f0eeece..4f98383 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java @@ -358,10 +358,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, skaffoldConfigPath_); } - if (!getManifestPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manifestPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, manifestPath_); } if (uriCase_ == 4) { @@ -376,10 +376,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, skaffoldConfigPath_); } - if (!getManifestPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manifestPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, manifestPath_); } if (uriCase_ == 4) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java index 2490aec..70879f2 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java @@ -206,9 +206,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -221,9 +221,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -239,9 +239,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -254,9 +254,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -269,9 +269,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java index a1d78c3..ae9a13b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java @@ -394,7 +394,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deliveryPipeline_ != null) { output.writeMessage(2, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_); } if (allowMissing_ != false) { @@ -418,7 +418,7 @@ public int getSerializedSize() { if (deliveryPipeline_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java index 7b1b40a..104ab9e 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java @@ -388,7 +388,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (target_ != null) { output.writeMessage(2, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_); } if (allowMissing_ != false) { @@ -412,7 +412,7 @@ public int getSerializedSize() { if (target_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto b/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto index 54071e0..ebdfb88 100644 --- a/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto +++ b/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto @@ -265,9 +265,9 @@ message DeliveryPipeline { // Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 5; // Output only. Time at which the pipeline was created. @@ -559,9 +559,9 @@ message Target { // Optional. Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Whether or not the `Target` requires approval. @@ -914,9 +914,9 @@ message Release { // Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 5; // Output only. Time at which the `Release` was created. @@ -1162,9 +1162,9 @@ message Rollout { // Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 5; // Output only. Time at which the `Rollout` was created.