@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
    }
    if (state_ != com.google.cloud.workflows.v1.Workflow.State.STATE_UNSPECIFIED.getNumber()) {
      output.writeEnum(3, state_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, revisionId_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(5, getCreateTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(6, getUpdateTime());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(7, getRevisionCreateTime());
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8);
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, serviceAccount_);
    }
    if (sourceCodeCase_ == 10) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, sourceCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cryptoKeyName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, cryptoKeyName_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(12, getStateError());
    }
    if (callLogLevel_
        != com.google.cloud.workflows.v1.Workflow.CallLogLevel.CALL_LOG_LEVEL_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(13, callLogLevel_);
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetUserEnvVars(), UserEnvVarsDefaultEntryHolder.defaultEntry, 14);
    if (executionHistoryLevel_
        != com.google.cloud.workflows.v1.ExecutionHistoryLevel.EXECUTION_HISTORY_LEVEL_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(15, executionHistoryLevel_);
    }
    for (int i = 0; i < allKmsKeys_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, allKmsKeys_.getRaw(i));
    }
    for (int i = 0; i < allKmsKeysVersions_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, allKmsKeysVersions_.getRaw(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cryptoKeyVersion_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, cryptoKeyVersion_);
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 19);
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. Input only. Immutable. Tags associated with this workflow.
</pre>

<code>
map&lt;string, string&gt; tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
</code>
java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/Workflow.java