@java.lang.Override
    public com.google.protobuf.ByteString getPayloadBytes() {
      java.lang.Object ref = payload_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        payload_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Error message and data returned represented as a JSON string.
</pre>

<code>string payload = 1;</code>

@return The bytes for payload.
java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java